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 :
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
RichardM Profile Picture

RichardM 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans