Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Need help with Delete Record step, currently trying to use msdyncrmWorkflowTools(1.0.5.1.1) but open to suggestions

Posted on by

Need to delete a related record that is stored in an intersect table.

If anyone can help me find a way to be able to delete a record within a workflow I would greatly appreciate it.  Here is are the details of the entities, fields, relationships, and workflow steps involved:

Within CONTACTS I have a these custom fields:

"CC1" Text field with Format Email

"Added Email Contact" Lookup field to Added Email Contact entity

I have a custom entity named "Added Email Contact" that has these fields:

"Name" (default) 

"Email" (default)

"Linked Contact" Lookup field to Contacts).

I have mapped the Contacts.CC1 to the AddedEmailContact.Email field.

The workflow steps are the following

If Contact:Linked Additional Email does not contain data, then:

If Contact:CC I contains data, then:

Create: Additional Email Contact

Otherwise, if Contact:CC I does not contain data, then:

Get GUID msdyncrmWorkflowTools (I Record ID

Delete Linked Additional Email Contact for CC I msdyncrmWorkfIowTooIs (I Record

Otherwise, if Contact:Linked Additional Email contains data, then:

If Contact:CC 1 contains data then:

If Contact:CC 1 does not equal [Linked Additional Email (Additional Email Contact):Email Address], then:

Update: Linked Additional Email (Additional Email Contact)

Otherwise, if Contact:CC 1 does not contain data then:

Get GUID msdyncrmWorkflowTools (1.0.51.1):Get Record ID

Delete Linked Additional Email Contact for CC 1msdyncrmWorkflowTools (1.0.51.1):Delete Record

Here are the details on the Delete record step

Property Name

Data Type

Required

Value

Delete Using Record URL

Two Options

Required

False

Record URL

Single Line of Text

Optional

{Recors URL(Dynamic)(Linked Additional Email)(Additional Email Contacts)}

Entity Type Name

Single Line of Text

Optional

clrs additionalemailcontact

Entity Guid

Single Line of Text

Optional

{Record ID(Get GUID)}

 

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans