Integrations and APIs for Service

Get Involved. Join the Conversation.


    Maheep Kaur
    Execute Object Event Handler in Business Rules
    Topic posted May 13, 2016 by Maheep KaurGold Medal: 3,500+ Points 
    836 Views, 18 Comments
    Execute Object Event Handler in Business Rules


    My query is that if i call an event handler from business rule. In that cpm I set a field. 

    Now in the next business rule , I have to check the value of that field and trigger something.

    Does the synchronous CPM mean that it would complete the processing in the php file and then trigger the next business rule?

    May 2015


    • Dietrik

      That's also my observattion. The actions run as expected but the rule log doesn't always show the right order. As long as you set your rules filters to run multiple times without unwanted behaviour (which you generally always should) you seem good to go.

    • Maheep Kaur

      Hi Mark,

      I tried it again. Just your last point 'So, that CPM queued by the rule above is eventually run, makes the change and calls ->save(), which starts off the rules again -- this is an entirely new transaction.'

      When the save() in the CPM runs, the rules are not fired again.


    • Barrilito van Dijk

      Hi RD,

      There has been lots of good discussion in this post. is your question being answer, or are you still missing out something? If you have your answer, could you please set a "best answer" to close this post (as there is no response anymore).

      Thank you.