- 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 03:12 AM
Hello,
What is the trigger condition for your BR if any? And is the condition satisfied by the inbound action.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 04:58 AM
In order to test without to worry about the trigger, I removed any condition, so the BR should be triggered on insert and update of a new_call. Which is what the inbound action does.
Is there somewhere where you can setup a "No Business Rule" trigger when inserting from Inbound action ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 05:05 AM
Does inbound action script contains current.setWorkflow(false) ?
This causes BR not to trigger.
Thanks,
Ali
Thank you,
Ali
- 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.