How to change the service sub category in service catalogue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-01-2025 06:13 PM
I have three forms in the Service Catalog under the Finance category:
- Master Creation (uses the same approval workflow as Master Maintenance)
- Master Maintenance (shares the approval workflow with Master Creation)
- Debtor Specific Provision Request (uses a different approval workflow)
The issue is that whenever I submit the Debtor Specific Provision Request form, it incorrectly triggers the approval workflow for Master Creation and Master Maintenance. I discovered that this issue occurs because the service sub-category is set to "Master Creation" only, even though I have already configured the following condition:
How can I update the service sub-category for the Debtor form to ensure it triggers the correct approval workflow?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-01-2025 06:25 PM
In your code, lines 16 and 18, can you log in and see what values are getting filled? Can you do current.u_service_category_main = catg.toString();
Also, check if there are whitespace in your workflow conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-01-2025 06:43 PM
These are the values, and I tried using current.u_service_category_main = catg.toString(); but it did not make any changes.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-01-2025 07:00 PM
On your form, it's displaying as "Customer Master Creation," which is triggering a different workflow. Could you add a log for the catg
field to check what value is being passed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-01-2025 07:11 PM
at line 16 what does catg variable contain?
I couldn't see any place where that variable is declared and assigned a value
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