Create a Task to Follow-up on a Call without losing the Call to Contact or Account connection

I'm stumped on how to do this and I could use some help.  There's NO Custom Code, so this needs to be done with Studio and BPM.

When a call is logged, I want to create a Task for follow-up without losing the relationship of the Call to the Contact or Account.  This is what I coded in Studio:

  1. A checkbox was added to the Calls layout that indicates Follow-Up is needed
  2. When the box is checked, two new fields appear:
    1. Task Due Date
    2. Task details
  3. When the Call record is saved, a BPM is triggered to create the task
    1. The Task start date is set as the Date Created
    2. The Assigned User is the user that created the record
    3. The Task Due Date is pulled from the Follow-up Due Date field in the call record
    4. The Task Detail is pulled from the new field in the Call Record: "{::Calls::follow_up_task_detail_c::}"
    5. The priority and status are set as the defaults
    6. That task name is set as "Call Follow-Up: {::Calls::name::}"
  4. I have a second process that sets the Team to match the Team of the Account or Contact Record associated with the Call

The issue I'm trying to resolve without any custom code is:

  • When the Task Record is created, the Task Flex Relationship is changed to the Call and the relationship with the Contact or Account is lost

I've played with several alternatives without success.

Does anyone have a suggestion of what I should try next?

  • Hi  ,

    There is no direct way to create sibling records in SugarBPM. The best way I can think to achieve this use case is to do the following:

    1. Create fields on the account module for the fields from your Calls module that you want to carry over to the follow up task (e.g. Call Name, Task Due Date, Task Details)
    2. Have a process configured so that when a call is completed, it updates those fields on the parent account
    3. Have a second process on the accounts module that triggers when any one of those fields change, that it then creates a related task

    Chris

  • Thanks !

    That might actually work!  I will give it a try and let you know if it works for me.

    I'll probably hide the fields in the Contact Record so it doesn't add any confusion, and remove the information from the Contact Record after the Task is created.

    THANKS for the suggestion!

    Bud Hartley | Cape Foulwind, NZ (and Oregon, USA)

  • Hi  

    Hope you don't mind me asking, but I wasn't clear, do you actually need a followup Task or Call?

    I wasn't sure if the Task was to remind a user to have a followup Call

    task name is set as "Call Follow-Up
  • Hi ,

    The request was from one of the Sales Managers.  His Team is not making good use of the Tasks Module and he wanted to simplify the process of them setting a Task to Follow-Up on a Call they recorded.

    Instead of creating a new task related to a Contact or an Account, he asked me to code a better way.  Knowing that I could create a new record in BPM, I started with a checkbox in the Call Record that revealed two fields to be populated.  When the call was saved, the new Task was created.  The issue was that the Call was Flex Related to the Task and the relationship to the Contact or Account was lost.

     suggested an approach that I'll be trying this week - I think it will do what I need.

    Bud Hartley | Cape Foulwind, NZ (and Oregon, USA)

  • SUCCESS!  Thanks !

    Wow, It works!  Thanks for the insight.

    FYI: Because of the Flex Relate field, I had to add fields to both the Accounts and Contacts Modules (I may have to add them to other modules, but Calls aren't normally attached to them).

    The process to copy the fields from the Calls Module to the Account and Contact is a parallel path.  The individual Task Creation processes has a final step of erasing the fields that were copied from the call.

    Thanks again for the insight of an approach to do this Chris.  I appreciate your help!

    Bud Hartley | Cape Foulwind, NZ (and Oregon, USA)

  • Impressive workaround to get this done without code.

    I personally have not tried BPM yet, but if things get so complicated, maybe, in cases like this one, a custom logic hook would be a bit cleaner without all the extra fields which, would all end up being just temporary and therefore empty columns in the table?

    FrancescaS

  • I agree that a logic hook would be a cleaner approach if I were to solve this use case today. For customers who don't have developers on-hand or dedicated to the project, there is often a tradeoff of having a solution admins can directly maintain versus a developed solution that is more efficient but requires specialized resources. SugarBPM does a great job at satisfying the former and, with creativity, can accomplish a lot of solutions that would typically default to custom code.

    The most important part of employing those 'creative' solutions is making sure the system is well-documented (e.g. using comment text on the fields in Studio, documenting changes at the process definition level and within the process canvas itself), so others (and sometimes the person who did it Sweat smile) know what purposes those pointless-at-first-glance fields serve. 

    Chris

  • Oh yes, the documentation is VERY important.  In addition to the Help and Comment Text for the fields I've been writing Comments in the Process and often Word Documents that document the document the thinking.  Thanks again Chris.  The Sales Manager is very happy with the result.

    Bud Hartley | Cape Foulwind, NZ (and Oregon, USA)

  • hi  

    Ah OK, understood.

    I've done this previously by creating a one-2-many relationship between Calls and Tasks module.

    I chose this approach because the Task stays related to the Call.