Can Sugar BPM create a follow-up Call?

Currently using Enterprise v9.0.2
Would like to create a follow-up Call based on some simple criteria after a Call is held.


First issue seems to be that SugarBPM cannot create a Call if your definition module is also Calls.


I have managed to create a Task related to the Call, but can't seem to relate it also to either the Contact or the Account.

Am I missing something, or is this a system limitation?

  • Hi Tony Romano,

    I have three considerations about this: how a definition targeting Calls might work, how a definition targeting a related module (Contacts/Accounts) might work, and the benefits of a custom logic hook in this scenario.

    Regarding A definition that targets Calls:

    This is possible, but the relationship to other modules such as Contacts or Accounts is not a part of this approach.

    SugarBPM is capable of creating a new related record. That is, a new record in a module related to the target record in the target module. Sugar is capable of custom self-referencing relationships, so this is possible with a custom relationship between Calls and Calls. SugarBPM could then be configured to make a new Call related to the target Call across the custom relationship.

    Custom Relationship made in Studio:

    BPM Process Definition Action Settings:

    A Different BPM Approach to Consider:

    One alternative I would consider is designing the definition to target the Contact or Account, and have some automation (related/rollup calculated field or other BPM) update the Contact or Account when the Call is saved, then have this definition that is targeting the Contact or Account create the new related follow-up call. This is the way to relate the new Call to the Contact or Account scheduled to be called.

    This approach does not cover every use case because changes to the Calls module can be tricky to represent in the related Contact or Account in such a way that the Process Definition reacting to said changes can account for consistent with your stated goal.

    A Logic Hook Approach:

    Logic hooks offer so much more functionality than any user interface product, particularly because they allow you to leverage the broad possibilities of PHP in designing the automation that works best for your use case. Module Loader empowers the administrator to manage logic hook customization installation and removal right in the user interface, so you can leverage this awesome capability without needing direct access to the code of your Sugar instance. Pragmatically, a logic hook:

    1. can achieve awesome results with only a few lines of code. 
    2. does not clutter a database table with multiple rows every time it runs.
    3. requires some knowledge of PHP to maintain.

    I hope this helps!