/

Create a Follow-Up Task or Phone Call for a Dynamics 365 Contact: Series 8

Power Apps gallery field configuration screenshot

Sellers frequently need to create a follow-up task or phone call while viewing a Contact. The key is to create the correct activity record and set its Regarding lookup to the selected Contact.

1. Choose the activity type

Use the standard Task table for a follow-up action with a due date. Use Phone Calls when the organization wants the interaction represented as a phone call activity with its specific fields and status behavior.

2. Create a Task record

IfError(
    Patch(
        Tasks,
        Defaults(Tasks),
        {
            Subject: txtTaskSubject.Text,
            'Due Date': dpTaskDueDate.SelectedDate,
            Regarding: varSelectedContact
        }
    ),
    Notify(FirstError.Message, NotificationType.Error),
    Notify("Follow-up task created.", NotificationType.Success);
    Refresh(Tasks)
)

This formula is illustrative. The exact table identifier, column display names, Regarding lookup type, and required fields depend on the Dataverse schema. Use IntelliSense and the generated form cards to confirm the correct field types. Avoid setting status values unless the activity lifecycle requires it.

3. Add owner and due-date rules

Decide whether the task should be owned by the current user or assigned to a queue/team. Assignment may require a separate supported operation and additional privileges. Validate that the due date is not earlier than the allowed business date.

4. Verify the activity

  • Open the Contact in Dynamics 365 and check its timeline.
  • Confirm the task appears with the correct subject and due date.
  • Confirm Regarding points to the Contact, not merely its parent Account.
  • Test with users who have restricted activity privileges.