- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:07 AM - edited 01-16-2025 10:12 AM
Hi All,
I have created set flow variables. But my script is not working to call set flow variables.
here is my script : return fd_data.flow_var.json;
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:50 PM
you are trying to set the value of flow variable to a additional field ,so may the issue is with data type check the type of additional field, your variable type is JSON so may be additional fields is not accepting type as Json.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 11:21 PM
the flow variable is of type JSON
Is the additional field input for that Create Issue action accepting JSON type?
It's because of the mismatch possibly
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:50 PM
you are trying to set the value of flow variable to a additional field ,so may the issue is with data type check the type of additional field, your variable type is JSON so may be additional fields is not accepting type as Json.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 11:21 PM
the flow variable is of type JSON
Is the additional field input for that Create Issue action accepting JSON type?
It's because of the mismatch possibly
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 07:04 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2025 02:23 AM
Hi @krishna115
Could you please let me know why you are not using the flow variable data pill instead of returning the value via scripting ? Also, could you please confirm the data type of Additional field of your custom action and what action it is intended to do ?
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.