This article will walk you through how to view multiple Ironclad workflow records tied to a common SFDC source record. This article is intended for the Legacy Managed Package (versions 2.1 and below).
NOTE
We highly recommend upgrading to the most recent Ironclad Managed Package Version.
Contact your Ironclad support representative to request that your account is enabled for access to the new Salesforce integration features.
To learn more about upgrading, refer to Upgrade Your Salesforce Integration.
Prerequisites
To view multiple Ironclad workflow records tied to a common SFDC source record, you must:
- Set up workflow sync and add a linked source. A link is then added to the Ironclad workflow Salesforce record on the Salesforce object. Only the most recent Ironclad workflow Salesforce record shows up in the field.
- Add a custom Lookup Relationship field type on Salesforce object to Ironclad workflow.
Process Overview
- Salesforce launches a workflow in Ironclad. This triggers the creation of an Ironclad Workflow record in Salesforce and links to the original source Salesforce record Ironclad pulls information from.
- When you link the Ironclad Workflow record to the original source Salesforce record, this counts as an “edit” which triggers the process built below.
- On the source Salesforce record (Opportunity in the example below) Salesforce checks that it has an Ironclad Workflow record linked. Then it checks if the linked Ironclad Workflow record doesn’t have a linked Opportunity in its list of fields.
- If these conditions are satisfied, then it updates the Ironclad Workflow record’s Opportunity lookup field with the linked Opportunity.
- By doing this, it adds the Ironclad Workflow to the related list of Ironclad Workflow records in the Opportunity.
Use Process Builder to View Multiple Ironclad Workflow Records Tied to a Common SFDC Source Record
To view all related Ironclad Workflow Salesforce records on the source Salesforce object, you must use Salesforce’s Process Builder.
In the example below, the source Salesforce object is an Opportunity, but you can use these instructions to set up a related list of Ironclad Workflow records on any Salesforce object.
- Verify that you've created a custom Lookup Relationship field type in your Ironclad workflow to the source Salesforce object (which, in this example, is the Opportunity).
- In Salesforce, click Setup > Process Builder.
- Create a new process. In The process starts when field, enter A record changes.
- Click Add Object to choose the Salesforce object and specify when to start the process. To do this:
- Select the object you’ve set up as a Linked Source. This is the source Salesforce object, which is the Opportunity in this example.
- In the Start the process field, select when a record is created or edited.
- Click Add Criteria to define the criteria for the action group. To do this:
- In the Criteria Name field, enter something similar to Ironclad Workflow's Opportunity field is.
- In the Criteria for Executing Actions field, select Conditions are met.
- In the Set Conditions section, you must add two conditions:
- For the first condition:
- In the Field field, for this example, enter Opportunity > Ironclad_Workflow_ _c.
- In theOperator field, enter Is null.
- In the Type field, enter Boolean.
- In the Value field, enter False.
- For the second condition:
- In the Field field, for this example, enter Opportunity > Ironclad Workflow > Opportunity_ _c.
- In the Operator field, enter Is null.
- In the Type field, enter Boolean.
- In the Value field, enter True.
- For the first condition:
- In the Conditions section, select All of the conditions are met (AND).
- If the conditions are met an action needs to be taken. In the Immediate Actions section, add an action. To do this:
- In the Action Type field, enter Update Records.
- In the Action Name field, enter Update Ironclad Workflow Record.
- In the Record Type field, in this example, enter Opportunity > Ironclad Workflow.
- In the Criteria for Updating Records section, select No criteria - just update the records.
- In the Set new field values for the records you update section, add a field with the following details:
- In the Field field, enter Opportunity.
- In the Type field, enter Field Reference.
- In the Value field, enter Opportunity ID.
8. Save and activate the process.