HI Team,
I need to define a static list of values in a workflow for an input parameter so that the user can select a value only from this list. Is there any way to achieve this?
Thanks,
Ravi
Hey Ravi,
Gaurav is correct, you can absolutely do so. You'll just need to create a family of codes within ION first before you're able to see a list of Code Names in the workflow parameter type setting.
Above, I created a dummy group of codes and added a list of potential status codes. When I navigate over to workflows and go to add a parameter, I can then select "CODE" from the Type dropdown and select the newly created "WorkflowCodes" group I just created. If needed, you can also set an initial value to begin with on workflow triggering.
Hi Mike,
Thank you for the suggestion!!!
I tried to use this feature in the requisition workflow for "rejectreasons" where in user can select one of the reject reason while rejecting the PR. I have taken user area to add enumeration type because in the model it was an enumeration type. But when I try to map the input parameters in the parameter mapping of activation policy, I am not able to find that field. Can you guide me where I am going wrong. Please find the attachments.
Thanks in advance.