Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ReOpen ticket condition in business rule

Shivani29
Mega Guru

Hi All,

I I created a custom table Service Request (u_service_request) and need to clear some fields value when user reopens it the ticket. I am writing a business rule and need a help to write condition where I can check if the ticket is reopened. I checked the business rule created for incident table and the condition mentioned is : new Incident(current).hasReopened();

But I am unable to modify it as per my requirement. 

 

Thanks in Advance

Shivani

1 ACCEPTED SOLUTION

Prince Arora
Tera Sage

@Shivani29 

 

Instead of modifying existing Business rule

Please create your own separate business rule, before - update, there is a field on incident table "reopen_count", you can add a condition on that

 

When to run -> "incident_count" changes and you can update/clear the fields in the advance section of business rule

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.

View solution in original post

5 REPLIES 5

Hi Prince,

 

Thanks for your response. I followed the same and created BR (User is opening the ticket from Service Portal.) and calculated reopen count. All working.

 

Regards,

Shivani