web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to complete Dynami...
Power Apps
Unanswered

How to complete Dynamics 365 Activities?

(0) ShareShare
ReportReport
Posted on by 321

Hi, I have a simple app showing open activities from Dynamics 365 CE to the users, using CDS.

They can read and edit the activities and add comments including attachments to it.

With completing the activity, I have some doubts on how to do that.

Don't think I can just use the PATCH function to change the statuscode and statecode of the activity, is it?

 

Kind regards, Maurits

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Maurits,

     

    Could you please share a bit more about your scenario?

    Do you integrate your Dynamics 365 entity into your CDS?

    Further, do you want to change the statecode column value of the activity within your app?

     

    If you want to change the statecode column value of the activity within your app, I think the Patch function could achieve your needs in PowerApps.

     

    When you generate an app from your Dynamics 365 Activities entity, the statuscode column would be displayed as Status Reasonthe statecode column would be displayed as Active Status:5.JPG

     

    6.JPG

     

    I have made a test on my side, and I agree with your thought almost. When I use Patch function to update the statuscode column value and statecode column value of an activity, the error message shows up as below:

    The "Update" method does not support entities of type 'activitypointer'.

    7.JPG

     

    I afraid that there is no way to update the statuscode column value and statecode column value of an activity using Patch function in PowerApps currently.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

     

    Best regards,

    Kris

  • BusyIntelligence Profile Picture
    321 on at

    Hi @v-xida-msft, many thanks for your research.
    I expected the status cannot be changed using PATCH or UPDATE, as within Dynamics you can also not just change the status field.
    Have to find a proper workaround for this, maybe using a workflow within Dynamics or an API call or so.

    Kind regards,

    Maurits

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi @Maurits 

     

    Did you ever find a workaround for this? If you did, would you kindly share your know-how?

     

    Cheers,

    Sancho

  • NurNina Profile Picture
    375 on at

    yes Im having the same issue as well. Have you found any solution for this? @Maurits 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard