Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Execute Skill receiving entire JSON object instead of string values from subflow outputs

IffatP
Giga Contributor

 

Hello!

I'm experiencing an issue with my ServiceNow Flow Designer setup and would appreciate your guidance.

Current Setup: I have created a subflow that generates 5 outputs, all in String format. These outputs work correctly when tested individually.

The Problem: When I pass these subflow outputs to an "Execute Skill" action using Dynamic Inputs, the entire complex JSON object (including ServiceNow metadata like display_value, defination, label, type etc) is being sent to Now Assist AI instead of just the clean string values.

Impact: This is causing the Now Assist AI to receive confusing, metadata-heavy input instead of the clean text data it expects, resulting in poor or incorrect responses.

What I've Tried: I've ensured that the variable names assigned to the subflow outputs match those used in the Execute Skill action, but the issue persists.

What I Need: A way to extract only the actual string content from the subflow outputs and pass clean, simple text values to the Execute Skill action, without all the ServiceNow metadata wrapper.

Could you please suggest the best approach to resolve this data formatting issue?

Thank you for your assistance!

Verified
 
Technical: Infrastructure
High
 
 
 
 
1 REPLY 1

IffatP
Giga Contributor

Though the dynamic input is getting populated while testing the subflow, The Prompt is unable to get the variable values. I have checked the mapping . It was correct too