- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 05:46 AM - edited 04-01-2025 05:49 AM
Hi All,
Thanks for assisting me with how to proceed in my previous thread Service Catalog Workflow
Since that thread is closed starting this new one for the Error which I am getting in workflow it is not proceeding and recognizing the RITM field .
The workflow should not trigger if the RITM belongs to 'Technical Catalog'
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 06:01 AM
try to use the OOB syntax for IF activity
answer = ifScript();
function ifScript(){
// your code here
}
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
04-01-2025 05:52 AM
at line 5 closing ) bracket is missing
if(itm.next()){
answer = 'yes';
}
else{
answer = 'no';
}
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
04-01-2025 06:01 AM
try to use the OOB syntax for IF activity
answer = ifScript();
function ifScript(){
// your code here
}
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