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)

Deactivate Contacts based on Account

(0) ShareShare
ReportReport
Posted on by 145

Hi all,

I'm using a portal to display some content from our Dynamics instance. Our customers access content using the contacts in Dynamics. If a customer leaves us we want to disable the account and all linked contacts.

Is this possible using a workflow?

I know it can be done manually but we want it automated.

Thanks,
J

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    T.I.A Profile Picture
    1,760 on at

    Hi. You could either have a custom status (for the customer leaving) that triggers a custom workflow activity to run, change the account to inactive and finds all related contacts and also makes them inactive. Or just have it run on the deactivation of the record

  • opticshrew Profile Picture
    145 on at

    Hi,

    Something along these lines:

    community.dynamics.com/.../how-to-cascade-activate-deactivate-setstate-in-crm

    I assume this can be achieved without the need for a third party solution?

    Thanks,

    J

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    You either can write your own custom workflow or plugin, else use the third party( there is a risk).

    trigger the workflow or plugin when status changed, then query all those related contacts, and deactivate them.

  • opticshrew Profile Picture
    145 on at

    Hi,

    I think custom workflow is the answer, for now though we just have a grid on the accounts form where someone can manually deactivate them by selecting multiple (Bulk Deactivate).

    The workflow will be used in a next step.

    Thanks,

    J

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