[USER] signals on many to one relationship

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Maarten
    Member
    • Jun 2020
    • 56

    [USER] signals on many to one relationship

    Hi Everyone,

    I'm trying to catch a @relate and @unrelate signals in two workflows on the entity User, on a many to one relationship with Account.

    The User is the accountmanager of Account. Each account has one account manager (User). A User can have multiple accounts.

    I use signals quite a lot, they always trigger.

    However none of the signals trigger, the @relate.accountmanager and @unrelate.accountmanager on the Account, nor the @relate.account1 and @unrelate.account1 on the User.

    I'm sure I have the right link names.

    Is there a way I can debug this?
  • yuri
    Member
    • Mar 2014
    • 8527

    #2
    Hi Maarten,

    relate signals work only with many-to-many relationship. You can catch a record update and then check whether the link is changed.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...