subflow output mapping issue

21225a0411
Tera Contributor

I am retrieving the string value from the Value field of the record in sc_item_option table in a Flow step.
When I open the data retrieval step, the value is correctly shown as “Approved”.

However, in the next step, where I map this retrieved value to a Subflow Output, it is automatically getting mapped to a sys_id instead of the string value.

Note: I have declared output as string only.

I have attached an image for reference.

 

4 REPLIES 4

Vishal Jaswal
Giga Sage

Hello @21225a0411 

The issue here is Look up Record which you are doing in Action#11 as shown below. Look up record means you are asking ServiceNow to perform Gliderecord instead you should specify "Step 9 Value".
2.jpg


Hope that helps!

I am not doing look up in step 11 ,i am just mapping value which i got from step9 lookup

Hello @21225a0411 

My bad - Here is a dummy workflow I just created to reproduce the issue however was unable to do so:

3.jpg4.jpg5.jpg6.jpg



Hope that helps!

hksamayam
Tera Contributor

Hello @21225a0411 ,

 

Please try inline script in Subflow outputs and return the DisplayValue of record.value, that may work.