- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
I have created a flow and custom action
When i am testing the custom action individually it is given correct result but when i am calling it in flow and passing the same value as input
It is giving wrong output
Ss
Flow designer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
you can achieve this using Flow variable and no need to use Custom Flow Action
You can use "Set Flow Variables" flow logic and use script to set it with true/false
Share the action input screenshot, output screenshots
Your script can be made easy, it's looking unnecessarily complex
-> simply get the value from property
-> use toString() and split and search the sysId
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
4 hours ago
share what that action is doing?
only 1 script step?
action is configured to Run as System or User who initiated the session?
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
4 hours ago
Action is tasking the sysid of catalog item and checking if that sys id is present in property file
If yes setting the ouput as 0 is not output=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
you can achieve this using Flow variable and no need to use Custom Flow Action
You can use "Set Flow Variables" flow logic and use script to set it with true/false
Share the action input screenshot, output screenshots
Your script can be made easy, it's looking unnecessarily complex
-> simply get the value from property
-> use toString() and split and search the sysId
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