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 

1 ACCEPTED SOLUTION

RajC59005800307
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

 

View solution in original post

2 REPLIES 2

RajC59005800307
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

 

SD_Chandan
Kilo Sage

@RajC59005800307 thank you