Hello,
I'm struggling to populate a multi-choice Custom Enumeration attribute via Camunda Workflow in IFS Cloud.
I have a custom attribute (e.g., Cf_Factory) that is a multi-choice (multi-select) custom enumeration.
-
When adding a row using the UI, I can see (in the debug console) that the field expects an array like:
Cf_Factory: ["CfEnum_London", "CfEnum_Manchester"] -
When I try to create this row using Camunda Workflow, things break:
-
If I set a single value:
execution.setVariable('Cf_Factory', 'CfEnum_London');, it works. -
If I try to set multiple values, nothing works. I’ve tried multiple things via a Script Task: ArrayList, Spin, comma-separated (["CfEnum_London","CfEnum_Manchester"]), etc
-
Has anyone successfully set a multi-value (multi-enum) Custom Field via Camunda Workflow? Surely this must be a common task and usage for Workflows?
I am on IFS Cloud version 23R2.
Any advice or experience would be much appreciated!