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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

ReagardingObjectId How to Update the Activity status using Plugin

(0) ShareShare
ReportReport
Posted on by

hi all In Lead the Activities are Associated with Entity When Ever Lead Create/Update record Activity Records are Creating Record With Activity Status = Open .

am trying to Update Activity Status = Cancel the All the Records in Activity  Based On regardingObjectId 

Please Give Some Suggestion 

Thank you

*This post is locked for comments

I have the same question (0)
  • Aiden Kaskela Profile Picture
    19,696 on at

    Hi!

    I'm not positive of your scenario. Are you trying to:

    - cancel an activity when it's created for a lead

    - cancel all other activities for the same lead

    - or cancel the lead when an activity is created

    Thanks,

     Aiden

  • katikidalanaveen Profile Picture
    on at

    Hi Aiden Kaskela

    When Ever Parent Record Created (Lead) With Lead status =Active .

    Child Records(Activity )With Activity Status = Open.

    am trying Update

    Lead Record Created With Status = Active then Activity Status =Completed/Cancel

    Please Provide Some Suggestion

    THNX

  • Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    Thanks for the clarification. Another followup - what's the trigger for the activity being set to Canceled? Is it when the Lead is changed, or when the activity is created?

    Thanks,

     Aiden

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    You can write your plugin on setstatus and change all the regarding activities status.

  • katikidalanaveen Profile Picture
    on at

    Thanks HIMBAP

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans