Workflow if-else

ejeong
All-Star
All-Star

How can express below statement if-else block in workflow?

(User.cp10 like 'CN' or user.cp10 like 'HK') and entitlement.customproperty10 like 'true')

Thanks

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

((user.customproperty10.toUpperCase().contains('CN') or user.customproperty10.toUpperCase().contains('HK')) and entitlement.customproperty10.toUpperCase().contains('TRUE'))

Manu269
All-Star
All-Star

I validated the same in the WF and it is working

Manish Kumar