Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by 2 months ago.

  • Creator
  • #39206


    I don’t understand the syntax for event based triggers. The problem is I don’t know how to setup relations between Call and Contact. Basically, I want the trigger to fire when there a call is logged against the contact.

    Say I want to relate Call and Contact by phone number. So Call->getPhoneNumber() === Contact->getPrimaryPhone(). How should I write it?

    I find this example, but I don’t understand it.

Viewing 1 replies (of 1 total)
  • Author
  • #39212

    Hi zhex900,

    Documentation about triggers for workflow

    This example means that workflow transition will be executed for object which exist in firstEntity (Relation between Other\Entity and Entity object of the workflow) when Other\Entity will be created and condition equal (Entity object of the workflow) will be successful.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.