Hi,
I’m trying to export an existing workflow to camunda. I’m creating a flow from code using the fluent API and then open the generated bpmn file in camunda modeler.
In my flow i have a task with a field ‘isTaskCritical’ and value ‘true’ and its a mandatory field.
I’m trying to understand if there is a way (from code) to populate this custom field dynamically so when i open the modeler, in the task, under custom fields i will see the filed filled with the ‘true’ value.
This field’s value can change between different flows so i need to set it dynamically.
I manage to add fields in template using json file but did not see a way to set the fields.
Is there a way of doing that? if not, is there a way of adding validations (mandatory, not empty, etc…) to Input/Output parameters or Extension properties?
Thanks in advance.