Showing results for 
Search instead for 
Did you mean: 
New Member

Data Mapping via Flow

I would like map values in several attributes, for example


0 : Critical

1 : High

2 : Medium

3 : Low


From the trigger, I receive this JSON structure




and in the flow, I would to transform in






How I can do this with Flow?


Thanks / Philippe

Community Support
Community Support

Hi PValette,


You may try to use workflow definition language to replace a string with a given string.

Please check the documentation at here:

For a simple test, I use the following function in a Compose action:

Hope this could be a reference for you.

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,588)