- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 09:58 AM
Can anyone please help me figure out how to get this script to work?
This is an INC record producer from the self-service catalog Get Help catalog item.
The last two "else if" statements are not working.
It is not applying the incident templates to incidents that are created with Category = "Inquiry / Help" and Subcategory = "HR (Do Not Include Confidential Info)"
same for incidents created with Category = "Applications" and subcategory = "Workday"
It is not applying the templates listed. The ERP if statements are working fine, just not the HR ones at the bottom of the script.
What am I missing?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 10:17 AM
You need to make sure you are using the correct values for the choices, not Label, so Inquiry / Help is likely 'inquiry'. Additionally, the logic doesn't make sense at first glance with these conditions nested inside of category = ERP and subcategory = D365, how can the Category be Inquiry / Help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 11:48 PM
were you able to find the solutioj?