Skip to main content

Notifications

Community site session details

Community site session details

Session Id : sBrGSmQsKtnzb08pkjeayI
Power Automate - Building Flows
Answered

When an activity is assigned

Like (0) ShareShare
ReportReport
Posted on 11 Oct 2020 17:57:40 by 1,710

Hello,

I am building a flow whenever an activity is assigned to an owner using when a record is created, updated, or deleted (CDS current env) trigger.

I set the filter attributes to ownerid, and I selected the "Activities" as the entity.
The filter attribute base on that field because when an activity is assigned the ownerid field will be updated based on that user.

The issue that I am facing while I am assigning an owner for the activity and submit, the flow is not triggering at all, and the error message that I am getting:

{
"error": {
"code": "0x80040203",
"message": "Creating a callback registration on entity type activitypointer is disallowed"
}
}

Capture1.PNGCapture2.PNG

I tried another workaround by selecting the Task entity instead of the "Activities" entity, and I tested the flow by assigning an owner for a task as an activity type, it works successfully.
Capture.PNG

But it's not a good workaround, imagine if I have 30 activity type (phone call, task, appointment, email..), so I have to create for each activity type a flow.

Is it possible to create only one flow for all the activities types?

Any help will be greatly appreciated.

Thank you!

  • EBMRay Profile Picture
    1,710 on 12 Oct 2020 at 06:23:23
    Re: When an activity is assigned

    Hello @abm ,

    Thank you for providing this valuable information.

    Regards,
    Julien

  • Verified answer
    abm abm Profile Picture
    32,464 Most Valuable Professional on 11 Oct 2020 at 20:18:26
    Re: When an activity is assigned

    Hi @Julien2 

     

    You can't create trigger for entity activity pointers. It is a set of entity collection that are activity types.  This is by design. That's the reason Power Automate shows the error in trigger after saving the solution.

     

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/201969/create-update-method-not-allowed-in-activity-pointer-crm-2016/522490

     

    https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg328119(v=crm.8)?redirectedfrom=MSDN

     

    The only possibility is individual solution for each activities.

     

    Thanks

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 61

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 47 Super User 2025 Season 1

#3
rzaneti Profile Picture

rzaneti 31 Super User 2025 Season 1

Overall leaderboard
Loading started