Hello, Bonita noob here. I have a XOR gateway that decides the path a process will take using scripts as follows:
if an amount is less than 250,000 the task is forwarded to a certain level financial officer
if ranging between 250k and 1m, it’s sent to a higher level FO,
if greater than 1 million, it’s sent to the highest level FO.
This is done by comparing the value from the field invoice_amount in a form, to these values and storing the boolean result in a process variable (sadly, the transient variables are not available to use in the XOR paths )
Is this the right approach?
Also, once the form has been submitted, the business variables appear in a form of their own, as an extra step to be validated by the user. How can I prevent this?
Thank you for your help