Propose Major incident Option should not available for P3,P4, and P5. This should available only for P1 and P2 incidents. How to achieve this ?

S Deva
Tera Contributor

To achieve this We have to write condition in MajorIncidentTriggerRule script include which is extended by MajorIncidentTriggerRuleSNC OOB. Can anyone please let me know that how to give the condition for if not P1 and P2 return False ?

 

 find_real_file.png

7 REPLIES 7

Community Alums
Not applicable

Hi @S Deva ,

You can override the function - canProposeMIC in Script Include 'MajorIncidentTriggerRules'. ServiceNow definition can be seen in MajorIncidentTriggerRulesSNC

or  you can also try something like this:

provide UI action condition- current.priority==1 (This is an example for only P1, you can add your own condition here)

 find_real_file.png

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

By this Its showing Only on P1 but when the ticket is proposed its not working 

SumanthDosapati
Mega Sage
Mega Sage

Hi,

In the UI Action, along with script include, you can add one more condition as 

current.priority=='1' || current.priority=='2'

 

Or else same validation can be done in script include with condition

if priority!=1 then rerturn false

 

Mark as correct and helpful if it solved your query.

Regards,
Sumanth

Tried but not Working could you please help