Using variables instead of static values in When condition of DMN

Hi All,

I am running bpm run v7.18. Is it possible to use variables in a DMN When column which is a part of business rule task in a bpnm?

For e.x. I want to have an age check rule and instead of having “< 20” in When column I could write
“< minAge” where minAge is a variable which is set in due execution of my bpmn or I pass it in processDefinition/start REST API.

Yes, this is possible. :+1:

In the decision table, you can access any process variable. If the variable minAge is defined in the process instance, it can be used in the input entry expression < minAge.

1 Like