
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2017 04:22 AM
Hello All,
I have one requirement related to SLA. In which I have to add 1 'AND' condition in the SLAs. Since there are 200 SLAs, that is why I did not want to add this condition manually. So, I want to write a fix script or an On Demand schedule job to update those SLAs.
Can anyone have this kind of script with you. If yes then please share that script with me
Thanks..
Regards,
Gaurav
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2017 05:47 AM
Replace
gr.start_condition = startCond + ' .and. ' + 'Symptom = Error'
With:
gr.start_condition=gr.start_condition.replace(/\^EQ/,'')
gr.start_condition+='^u_sympton=error^EQ'
Make sure you replace u_sympton with the system name of your Sympton field and the correct value

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2017 06:24 AM
Thanks Dan. It worked.
Regards,
Gaurav