I want to create a options list for python task which should be “List” based options list ,
Using Get method
1.i need to get the lists and pass to an enduser when he submittes workflow or catalog
2.I dont see any option to pass these option list to Python task
I get this error when i pass option list in workflow
You may have to do int("morpheus['customOptions']['PoolSelectionManual']")
but how @kgawronski wrote the var is how we pass them into Python. (Assuming your input fieldName is “PoolSelectionManual”.
Hi , I get below error after trying your suggestion
Traceback (most recent call last):
File “”, line 11, in
KeyError: ‘Pool_Selection_Manual_Text’
Its my code
data = {“ldevId”: None, “poolId”: morpheus[‘customOptions’][‘Pool_Selection_Manual_Text’], “byteFormatCapacity”: morpheus[‘customOptions’][‘ByteFormatCapacity’]