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