<h2>Custom action with input variable of type JSON is not accepting my data pills</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Description</h3><section><ul style="list-style-position: inside;"><li>the action's input variable of type "JSON" is very picky about what data pills can be put inputted</li><li>In this example, we will get getting the sys_id of the requested item trigger record, so a flow with a "service catalog" trigger</li></ul></section></div><div ><h3 >Resolution</h3><section><ul style="list-style-position: inside;"><li>create a custom action, with one input of type reference.sc_req_item</li><li>the input of this flow will be the Requested Item trigger record back in the main flow</li><li>add a script step, get the sys id of the reference record and add it to your output variable of type string</li><li>Then use the output of the custom action in your other action's input to build your JSON object</li></ul></section></div></article></div>