Creating a business rule in scoped app

RobDoyle
Giga Guru

Hi,

I am trying to copy a business rule from incident to one of our scoped apps.

The rule needs to run when a ticket has been set to reopened. when it does so it clears all the resolution notes / codes etc 

I have set it to run before and update.

The table I am trying to run it on is our Owner Support Case table (x_paru2_owner_supp_owner_support)

Is there a way i can mirror the condition from incident into Owner support without building a script or using a flow to do the updates 

See screenshots of incident and owners 

I understand that the new Incident(current) part of the condition will not work in the app but wondered how to right it to make it work.

1 ACCEPTED SOLUTION

Mark Manders
Mega Patron

If you have more logic you can reuse, you can copy that script include that is called on the incident BR. But why not just make the condition for your application 'state changes to reopened'. It can be done in the conditions itself. No need for scripting.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

If you have more logic you can reuse, you can copy that script include that is called on the incident BR. But why not just make the condition for your application 'state changes to reopened'. It can be done in the conditions itself. No need for scripting.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Thank you 

Trust me to be over complicating matters