How to access businessKey in modeler decision table

did this expression in modeler decision table, to get first 2 chars from it:
substring(businessKey,1,2)
but its not working. tried also BusinessKey and business_key with no effect. cant find description or documentation how to access businessKey in decision table. is it not possible?

Hi @process_automator,

You need to assign the business key’s value to a process variable and then use the process variable in your decision.

i was wondering if it is possible to avoid this duplication of data. but your solution works, thank you.

1 Like