Hello SharePoint ninjas! Could you please advise me how to create the SharePoint 365 workflow for InfoPath for file that has dynamic approver1 name (by this I mean it directs the approval flow to user picked by people picker in InfoPath file). The InfoPath file has been succesfully published on site's form library, user enters this file/form and after submission it creates an XML file. I want this XML file (with one of rows being the name of Approver1) be the object in the approval flow.
Thank you for advise,
SOLUTION: putting the field to column of Sharedrive, then 'Get user profile'. To prevent dealing with array/for each I have used Parse JSON/Select.