how do I limit the time of when a user can reopen an incident i.e. after 30 days they can't reopen?

btreseder
Kilo Expert

how do I limit the time of when a user can reopen an incident i.e. after 30 days they can't reopen?

1 ACCEPTED SOLUTION

Sorry, i think i made a blunder here. I reversed the operator



replace this line


if(difference < thirtyDays )




with this




if(difference > thirtyDays )




I just cross checked it on a demo instance, it seems to work fine there


-Anurag

View solution in original post

21 REPLIES 21

Sorry, i think i made a blunder here. I reversed the operator



replace this line


if(difference < thirtyDays )




with this




if(difference > thirtyDays )




I just cross checked it on a demo instance, it seems to work fine there


-Anurag

Yes, now it worked. That was it. Thanks so much and Happy Holidays to you!


Aaahhh finally...happy holidays to you too.



Please mark the answer correct of it helped you


-Anurag

Kalaiarasan Pus
Giga Sage

Best possible solution :



Have a before update business rule on incident with proper conditions ... Check the closed date .. If it is more than 30 days, abort the action and display a message for the user to know ....


Thanks for the quick response.   I like this suggestion; however I'm not familiar with how to add this type of condition.   How do I enter that data?