I can get the custom field value by using WF API via Python, I use cmd:
print 'Task Info: %s' % task
Then it will print a object shows like below:
Task Info:{ "objCode": "TASK", "ID": "58b50b88009a1583937d60ed4d83c57b", "DE:1st SOP from Last week": "03-27-2017", "name": "MS2_SOP_SKU_R1_EMEA_1ST_COLOR" }
Then I can use
print 'Task name:%s' % task.name
to get:
Task name:MS2_SOP_SKU_R1_EMEA_1ST_COLOR
But it will be an error if I use following cmd to print a custom field:
print 'Task name:%s' % task.DE:1st SOP from Last week
How to fix it?Anyone can share with me?