Business Rule *Clear Assigned to an Update* stopping the update of ALM_Hardware Status to InUse?How

VIKAS45
Tera Guru

When we  set Assigned to in cmdb_ci Form based on conditions and change the state to InUse in ALM_Hardware Form for respective CI. It works fine with Business Rule.

 

But Business Rule "Clear Assigned to an Update" stopping the update for Status InStock,OnOrder and InTransit where Assigned To is blank for exising records in cmdb_ci .

 

How to resolve the Issue for existing records in cmdb_ci  where "Assigned To" is blank and Status "InStock,

OnOrder and InTransit" to have my Business Rule work to set Assigned to in cmdb_ci Form based on conditions and change the state to InUse in ALM_Hardware Form for respective CI. ?

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

You can either disable or modify the out of box business rule so that it doesn't clear the assigned_to under the conditions that you want, or add to your Business Rule script setWorkflow(false) to prevent the out of box (and any other) Business Rules from running after your Business Rule.

 

Yes Brad,

 

 setWorkflow(false) before update is not working in my Business Rule.

Please guide on the same.