Hey everyone,
I'm very puzzled why an identical stage in my flow won't run. I currently have a Reviewer and Approver stage within my flow that both will notify the creator if either of them rejects the document:
The first Reviewer stage runs without problem; when the condition is green and red. The problem however seems to be with the Approver stage. I have made sure to use the exact same output expression as in the Reviewer stage (before I tried it with dynamically selecting the same Creator email and Reviewer email, but those also gave the same error). I even tried just sending it to 1 email address since the Reviewer stage also sends it to 1 email address only. Lastly I tried removing the Title element in the message body but still the same error:
The error I encounter is:
Unable to process template language expressions in action 'Post_message_in_a_chat_or_channel_2' inputs at line '0' and column '0': 'The template language expression 'outputs('Update_file_properties_(ReviewerApproves)')?['body/Title']' cannot be evaluated because property 'body/Title' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.
I'm very confused why it gives me this error at the Approver stage, yet the Reviewer stage has the exact same logic behind it but it breaks. I found different topics that had this issue too, but they were mostly using a set variable or a loop but I'm not using those. Could anyone give some clarification and possibly a solution?

Report
All responses (
Answers (