Business rule not working for record producer insert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 08:22 AM
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.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2018 11:31 AM
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 !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2018 12:55 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2018 12:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2018 04:09 AM
Can there be no easy method to understand, as there are several BR in our instance.?
Are you guys aware of any such issue, where BR does not run on record producer from new call?