Hello
I have an array in a flow with 2 dimensions
MyArray ( "Sales" , "john@mail.com" ; "Purchase" , "jane@mail.com" )
i would like to retrieve the email address based on the department .
myarray("sales")[1] would give me "john@mail.com
i found several posts explaining that you can address only an array with index ,but some are saying that it is possible to search based on content , but i have not figure out how and as I can not garantee that Sales will be always the first entry , i m stuck.
Any help would be very much appreciated .
I have tried to create dynamically variables , like Sales = John and Purchase= Jane , but that is not allowed to create variables dynamically in powerapps flow.
thanks.

Report
All responses (
Answers (