The CreatorCon Call for Content is officially open! Get started here.

Needs to Update SLA

Gaurav Bhatia
Mega Guru

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

1 ACCEPTED SOLUTION

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


View solution in original post

5 REPLIES 5

Thanks Dan. It worked.



Regards,


Gaurav