Hello,
Trying to create an approval flow for an Excel budget in OneDrive for Business. To run the approval a user inserts a PI (which is compulsory) and one or more HOD e-mails (which is optional).
If a user has inserted an HOD e-mail(s) the approval process goes to them first and runs an 'everyone must approve' approval and then if they all approve goes to the PI. If they don't insert any HOD e-mails, it goes straight to the PI for approval.
So basically I want a condition which checks if there are any HOD e-mails. Have tried:
triggerbody()?['HODs'] is equal to null
triggerbody()?['HODs'] is equal to 0
length(triggerbody()?['HODs']) is greater than 0
plus several others, and I can't get any of them to work.
I'm sure it's an easy thing to do!
Thanks,