Business rule not working for record producer insert

Sharique Azim
Mega Sage

Hi All,

I wrote a business rule on "new call"   to   update the tasks tickets created from it.

Now i am able to link the record with the call that created it, but i am observing that the same BR is not updating the u_call field (available on task table) , used to create a record producer. Currently an after insert/update BR with order 1400 is not running. The generic logs confirm the same.

To clarify, the service catalog item created from new call can link call record. But the same BR is not able to link call on the record created from record producer.

I have checked and observed that setworkflow (false) was not used in record producer script,neither do we have any relevant BR for the same.

Please also note, the   record producer is on sc_request and via script it creates(inserts) , sc_req_item, sc_task records.

6 REPLIES 6

Deepak Ingale1
Mega Sage

One potential case I am just sensing, there could be setWorkflow(false) method using used followed by current.update() in before BR less than order 1400 which could prevent future BRs to trigger !!!


Hi,


" I have checked and observed that setworkflow (false) was not used in record producer script,neither do we have any relevant BR for the same."


-shariq




Deepak Ingale wrote:



One potential case I am just sensing, there could be setWorkflow(false) method using used followed by current.update() in before BR less than order 1400 which could prevent future BRs to trigger !!!


But then how are other request item being   populated?


You can use "Debug Business Rule Details " module to debug as well.


Debugging business rules


Can there be no easy method to understand, as there are several BR in our instance.?



pradeepksharma b-rad



Are you guys aware of any such issue, where BR does not run on record producer from new call?