Is there a way to make task inputs require specific keys from modeler?
SO I NEED ANY TASK HAVE TO STATIC VARIABLE NAME FOR EXAMPLE BELLOW
if there is no “REQUEST BODY,URL,METHOD” in the “input Variable” of any task, we want to reject the deployment.
best regard.
Hello @Rasim_Savas ,
this is something the could be done by a custom BPMN parser.
There, you could for example check if at least one of the inputs exist or a special implementation is used.
Then, you can validate if the input is defined correctly.
However, this is a lot of effort and can be become hard to manage when applying it to many different use cases.
Also, it will not prevent runtime errors.
I would instead suggest to perform unit tests.
Jonathan
1 Like
are there any bpmnparser examples?
Hello @Rasim_Savas ,
there is an example here:
I hope this helps
Jonathan
1 Like