Avoid hardcoding user names in BPM workflow IF conditions
Hi,
We have hard coded the below rules for our CFO's, CEO's and Executive Directors in our Expenses workflow.
"IF
Expense Report.Expense Report Total more than 0
and
Expense Report.Expense Report Total same or less than 500
and
Task.payload.Owner User Name isn't ""XXXX""
Every time there is a change in these roles, we are having to change the username in the IF condition. Can you please advise if we are able to store this value in a lookup/profile in the system and then use that value dynamically instead of hardcoding this value in the if condition?
If the above is not possible, is it possible to extend the payload to include more data so that we can use the extended data in the IF condition?
Tagged:
0