Hello
I have created an approval flow that updates a list (similar to the task list that SPD uses). I use a Filter array to match the Approval ID, then update the list.
If the approver approves/rejects it updates the list. But if the approval times out I can't update it because the Response returns null.
I'd like the email to say which Approver has timed out. Can anyone help?
Solved! Go to Solution.
If it's null then you can't use the Responses later in the flow, nor can you use any data from the Responses. If it time outs it won't give you any names/responses, you won't recognize if 1 out of 5 users didn't respond. It's either all or none.
Hello @xxxxmints ,
I'd add a Condition before the 'Apply to each 21' to check if the 'Responses' has some value. If it's equal to 'null' expression then the operation timed out, send the 'Funding request has timed out' email with information about who received the task ('Assigned to' in the original task). If not, there was a response.
Thanks for you reply but it didn't work because it needs an array.
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@outputs('Approval_for_Endorser')?['body/responses']' is of type 'Null'. The result must be a valid array.
I somehow need to extract the Responses Approver Name (of which there can be up to five).
The filter array I use (see above pics) relies on Responses to populate the document approval in the external list.
If there is no Response then I can't populate the list.
If it's null then you can't use the Responses later in the flow, nor can you use any data from the Responses. If it time outs it won't give you any names/responses, you won't recognize if 1 out of 5 users didn't respond. It's either all or none.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
30 | |
29 | |
29 | |
20 | |
11 |