how to lock reopening of closed incidents for integration ?

SD_Chandan
Kilo Sage

lock reopening of closed incidents for integration and manually also 
i want to hide button for manual reopen and for integration also 

Thank you
Chandan
1 ACCEPTED SOLUTION

raj chavan
Tera Guru

Hi @SD_Chandan 
 - You can write BR on incident table to prevent reopen
Check if state is being updated from 'closed' 
current.state.changes()&&current.state != 6;
if yes - current.setAbortAction(true)

- Hide Button Manually 
check if the incident if it is in closed state set - action.setVisible(false)

- Add ACl on state field of incident to block changes if state is closed use script to return false

 

Kindly mark it correct and helpful if it is applicable.

Thanks,

Raj

View solution in original post

2 REPLIES 2

raj chavan
Tera Guru

Hi @SD_Chandan 
 - You can write BR on incident table to prevent reopen
Check if state is being updated from 'closed' 
current.state.changes()&&current.state != 6;
if yes - current.setAbortAction(true)

- Hide Button Manually 
check if the incident if it is in closed state set - action.setVisible(false)

- Add ACl on state field of incident to block changes if state is closed use script to return false

 

Kindly mark it correct and helpful if it is applicable.

Thanks,

Raj

SD_Chandan
Kilo Sage

@raj chavan thank you 

Thank you
Chandan