Changing dynamically 'when to run' condition in Business Rule

maheshkhatal
Mega Sage

Hello All,

     I have a particular requirement where 'when to run' filter condition(one that user sets statically while configuring the business rules) in business rules, needs to change dynamically.

 Basically looking a way at dynamically altering the 'when to run' filter to condition.

 

Thank you,

Mahesh.

4 REPLIES 4

Brad Bowman
Kilo Patron
Kilo Patron

I'm not sure if dynamically changing this is possible, but you can leave it blank and wrap your script in whatever  condition you need, so the script will only execute if it is met - which is basically the same thing.

DanielCordick
Mega Patron
Mega Patron

Not possible in the when to run section.  But like brad said you can wrap your script inside your condition 

 

 

 

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

@maheshkhatal 

but why?

you can use business rule script to handle different conditions and have your logic defined there

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

maheshkhatal
Mega Sage

We have found an alternative. Kindly mark this as done.

Thanks you all for taking out your time suggest solutions.