Dear community,
I have had a problem with the usage of the output of the Format number action.
Please see the link here.
The solution solved the problem initially, but now I have problems that I do not understand:
1. When building the flow, the code looks like this:
outputs('Format_number_-_Current_Credit_Limit')?['body']When I save the flow, leave it and come back, it changes to this:
'body('Format_number_-_Current_Credit_Limit')?['body']'
2. I use the same expression in two different approvals (staged after another). The first approval is running as intended, but the second one throws the following error:
Unable to process template language expressions in action 'Start_and_wait_for_an_approval_3' inputs at line '1' and column '2920': 'The template language expression 'body('Format_number_-_Current_Credit_Limit')?['body']' cannot be evaluated because property 'body' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.
I use the same input, the same code, and the same approval action but get a different result.
When I re-edit the flow to include the "outputs" expression, it works, but only to continue to throw errors after a while.
I am completely stuck here.


Report
All responses (
Answers (