- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 02:43 AM
Assignment: In Resolution SLA make Duration type Dynamic, i.e., if category is software, then duration will be 2 hours and if category is hardware, then duration will be 3 hours.
For the above assignment I had written the below code for creating custom 'Relative Duration'. Please suggest if there are any changes in the code. Also please do let me know all the configurations to be made on the SLA form.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 03:13 AM
what's your actual business requirement? share some screenshots.
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
06-27-2025 03:08 AM
Why not just put the condition on the category? Your code will probably cause very weird behavior when it comes to pausing.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 03:13 AM
what's your actual business requirement? share some screenshots.
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
07-08-2025 02:52 AM
This is the solution? So you resolved it by getting the business requirements clear, do I understand that correctly?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark