The CreatorCon Call for Content is officially open! Get started here.

Business Rule not triggered by Inbound Action

Florian CHAMOI1
Giga Expert

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

1 ACCEPTED SOLUTION

You can check what Ali has mentioned about setWorkflow(). Or else try adding logs to see if any business rules are executing or not.

View solution in original post

6 REPLIES 6

Alikutty A
Tera Sage

Hello,

What is the trigger condition for your BR if any? And is the condition satisfied by the inbound action.

Thanks!

Florian CHAMOI1
Giga Expert

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 ?

Does inbound action script contains current.setWorkflow(false) ?

 

This causes BR not to trigger.

 

Thanks,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

You can check what Ali has mentioned about setWorkflow(). Or else try adding logs to see if any business rules are executing or not.