Need help on using JSON parser in flow designer

surya123
Mega Guru

Hi All,

I am trying to parse a JSON payload using JSON parser. The structured payload looks like this  where I am getting the payload in a action and then using this action in the flow.

surya123_0-1734478738917.png

 

 

 

In the flow, I am calling the above action and then using for each loop and get the values correctly for id , display name etc. But when I am trying to fetch the resourceRolescope values it is greyed out. Not sure how to fetch its value.

 

surya123_1-1734478488204.png

In the log I can get the id, display value etc, I need help in adding the resourceRolescope value.

1 ACCEPTED SOLUTION

Jon23
Mega Sage

Hi @surya123 ,

 

You will need to add another 'For Each Item' so you can loop through the resourceRoleScope array.  For Example:

 

Jon23_0-1734485930795.png

 

View solution in original post

3 REPLIES 3

Jon23
Mega Sage

Hi @surya123 ,

 

You will need to add another 'For Each Item' so you can loop through the resourceRoleScope array.  For Example:

 

Jon23_0-1734485930795.png

 

Hi, I had tried the same earlier but then the contents within 5 in data pills is greyed out. 

 

I added it as Available transform-> Utilities -> Get item in name/value and then it showed. This was new to me.

 

Sandeep Rajput
Tera Patron
Tera Patron

@surya123 As rightly mentioned by Jon, you need an additional For each step to loop through resourceRolescope as this property is also of type Array.