- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 03:08 AM
Hi,
I have a Business Rule on new_call table that works perfectly, and is in charge of parsing the description field for a CI, rework it, and fill-in the cmdb_ci field.
This BR is a before BR, running on Insert and Update. It works perfectly when creating or updating manually a Call Record. It also works when inserting a call from, for example, another BR.
There is also an Inbound Action inserting a new_call with some fields predefined. Nothing fancy, just initializing some field with a default value.
This Inbound action, when insert the new_call record, does not trigger the BR because my cmdb_ci field isn't initialized as required. However, saving the record as is (just adding a space somewhere to be able to trigger the update of the BR), triggers the BR and my cmdb_ci field is filled in correctly.
Any thoughts on why the BR is not triggered from the Inbound action ? There's probably something I'm missing.
Thanks !
Florian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 05:22 AM
You can check what Ali has mentioned about setWorkflow(). Or else try adding logs to see if any business rules are executing or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 06:45 AM
Thanks for your replies,
I don't have current.setWorkflow(false) in my Inbound Action Script. I tried to put it and set it at true (hey, worth trying 🙂 ), but that doesn't help me either.
After puting some logs into it, it seems the BR is running two times, for the same Call record, and not in the good if (although when you run it by saving the form, it works fine, weird).
Anyway, adding the log helped me understand it's not a problem of trigger, thanks !
Florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 06:11 AM
Hi Florian,
I have also encountered the same issue. Can you please tell me in detail how did you fix this? I am trying to create data source through BR, it is not working properly when state is updated on HR task through inbound action but working perfectly fine when I change state manually.