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

Florian CHAMOI1
Giga Expert

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

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.