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

Check that the Incident State moves to 'In progress'

Mark_10
Tera Contributor

Hi,

I have an issue where if the Incident state is moved from 'New' straight to 'Resolved' then the SLA Definition is not attached to the Incident record. Ideally I need to force the user to move the Incident state from 'New' to 'In progress' before it is moved to 'Resolved'.

 

I believe I need to create a Client Script but I'm not sure on the script to validate if the Incident State value has moved to 'In progress' before it is moved to 'Resolve'.

 

Any help appreciated.

 

Thank you in advance!

 

 

1 ACCEPTED SOLUTION

This needs to be done on onchange client script with the state filed as the column

if (oldValue == newValue)
        return;
	
	if(oldValue == "2" && newValue =="6"){
		//write your script
	}
Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.

View solution in original post

6 REPLIES 6

This needs to be done on onchange client script with the state filed as the column

if (oldValue == newValue)
        return;
	
	if(oldValue == "2" && newValue =="6"){
		//write your script
	}
Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.

Mark_10
Tera Contributor

Perfect, that worked.

 

Many thanks