Expand my Community achievements bar.

Come join us for our Coffee Break next week on top takeaways from Adobe Summit!

How can I print a custom field in Python?


Level 2
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?

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies