How to use dynamicRadiobox form type in Workflows?
Hi
I would like to create RadioBox with dynamic list of items and values (controlled by variable).
As I understand documentation, dynamicRadiobox is the right type of property.
https://developer.collibra.com/workflows/workflow-documentation/
To do it, in script task I’m setting variable, something like this
execution.setVariable(“itemsList”, “[Id1:Name1,Id2:Name2]”)
and then in the form I should use dynamicValuesExpression as bellow
Theoretically it should work, but workflow is stopping on this form (probably on evaluation of variable).
Does anybody successfully use this dynamicRabioboxes (or dynamicEnums, or dynamicCheckbox) and can share, how to configure it?
Thanks and Regards
Jarek
jaroslawkaczor
Posted 4 years ago · Edited 1 year ago·Last reply 4 years ago
2 comments
jaroslawkaczor
OP4 years ago · EditedHi
Arthur as always helpful. We should have kudos on forum
I totally forgot about this page with examples.
Thanks a lot
Regards
Jarek
arthurburkhardt
·4 years ago · EditedYou should use a Map<String> instead of a string.
//This is not good execution.setVariable("itemsList", "[Id1:Name1,Id2:Name2]") //This is good execution.setVariable("itemsList", ["Id1":"Name1","Id2":"Name2"])More info here
Helpful Workflows – Collibra | Product Resource Center