If condition on workflow not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 03:18 AM
Hi,
I am doing the modifications on the OOB service catalog request workflow. I removed price and group approval part from that.
I created one catalog from the sc_cat_item table. Another one created from software model record using publish software to catalog.
Now I have a requirement like, we need to send the approval if REQ created from software catalog and if REQ created from normal catalog it's auto approved.
I am doing with if condition to check whether it's created from normal or software model before sending approval.
But somehow it's failing the if condition. Can anyone help here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 03:27 AM - edited 04-24-2025 03:27 AM
What does your condition or script look like, and what are the results - always yes or always no, or is there an error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 03:39 AM
Hi @Brad Bowman
Condition is sourceable is true and sourced is false. This two conditions true means it should go to approval part. Actually it's always fail (No)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 03:46 AM
please share the script and the screenshots how you added and where
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-24-2025 03:48 AM
Would you mind closing your earlier questions by marking appropriate response as correct?
Members have invested their time and efforts in helping you.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader