Compose expression in Power Automate

Loading

Requirement: Replace string using compose action expression in Power Automate

Click on +Create from Home page. select Instant cloud flow, provide Name to the flow, select Manually trigger flow and click on Create button.

Add Initialize variable action to the flow. Provide Name, Type as String and Value, as shown in below:

Add one more action to the flow to change the value of the string use the expression in below:

replace(variables('varString'),'Pavani Kasturi','Pavithra')
Power Automate flow to replace string using compose action

Now Save and Run the flow to see the string is replaced from ‘Pavani Kasturi’ to ‘Pavithra’

Power Automate flow string value is replaced

Leave a Reply

Your email address will not be published. Required fields are marked *