InvalidTemplate.Unable to process template language expressions in action 'Set_variable_11' inputs at line '0' and column '0': 'The template language expression 'body('Substring_4')?['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 assume that Substring_4 is the name of a compose action. If it is then there is no ['body'] property. To access the string value of the compose its just outputs('Substring_4'). If its some other kind of action please let me know what it is and I can help you figure out the right JSON to use.
----------------------------------------------------------------------------------
If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!
Paul Papanek Stork, MVP Blog: https://www.dontpapanic.com/blog
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.