yashkamde
Mega Sage

Hello @nameisnani ,

 

For this you can implement an Business Rule:

 

> Create a Business Rule on the Incident table.

> Trigger: Before Update

> Condition:

  • current.state == 'On Hold'

  • (current.assignment_group.changes() || current.assigned_to.changes())

> Action:

  • Set current.state = 'In Progress'

> also in BR add a check :

if (!current.work_notes.changes()) {
    gs.addErrorMessage('Work Notes are mandatory when reassigning an On Hold incident.');
    current.setAbortAction(true);
}

 

If my response helped mark as helpful and accept the solution.