Before Business rule is not updating the SLA's to flip back from Paused to in-progress

AzizM
Tera Contributor

Hi All,

I have been using before update business rule with the below code:

Condition code:: (current.caller_id.user_name == current.sys_updated_by || current.opened_by.user_name == current.sys_updated_by) && current.assigned_to.user_name != current.sys_updated_by

Script:  current.state = 19; 

and it was not flipping back the SLA from state - paused to state - in progress.

The state is getting changed and the comments are getting updating on the incident form, but it is not updating the SLA to trigger(SLA conditions are met)

Note: When i'm updating the state manually, the SLA's are updating as expected.

Thanks,
Aziz.

0 REPLIES 0