I'm relatively new to using Flow, but I'm hoping someone can help point me in the right direction.
I have an approval process that begins with a trigger (When a work item is updated). The flow works fine until the first approval is provided. Since comments are not required on the approval, the comment may contain a NULL value, and that is where my Flow breaks down.
I have a Condition set based on the Approval:
I'm attempting to capture the Approval Comments on the Azure DevOps work item, in the Discussion area:
When this Flow runs, I receive the following error:
InvalidTemplate. Unable to process template language expressions in action 'Update_a_work_item' inputs at line '1' and column '2623': 'Unable to evaluate template language expression '@triggerBody()?['fields']?['System_History']' as JSON property name: the expression value of type 'Null' could not be used as property name.'.
Any help is greatly appreciated. Our ability to capture Approval comments on the DevOps work item is an integral piece of this Flow.
Solved! Go to Solution.
Hi @gsiconolfi87 ,
I have made some tests and I found that we should manually input the field name instead of selecting dynamic contents from previous actions.
I have configured the flow likes below, which is working properly.
Best regards,
Mabel
Hi @gsiconolfi87 ,
I have made some tests and I found that we should manually input the field name instead of selecting dynamic contents from previous actions.
I have configured the flow likes below, which is working properly.
Best regards,
Mabel
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 |
---|---|
12 | |
11 | |
9 | |
9 | |
6 |
User | Count |
---|---|
25 | |
21 | |
17 | |
8 | |
8 |