This topic will walk you through how to add a related record question to your launch form. This includes how to make the related record question optional and add a property assignment.
Related records enable you to connect workflows to one another. You can only connect an in progress workflow to a completed workflow record. You cannot connect two active workflows together.
Use Case
WonderWeb Inc. needs their counterparty to sign an NDA before they send out their MSA. They link the two contracts together using related records to ensure they have a fully signed and archived NDA before they launch their MSA.
Related Record Permissions
If you are making adjustments to related records in Workflow Designer and you are not and admin, you may have limited permissions to view record types. Reach out to your account administrator to verify that you have access to all record types.
Workflow requesters can only view record types they have permission to see. Permissions for record type access may be granted from the groups' admin page. There are two reasons why a user may see “No results found”:
- The user does not have permission to view the choices set for possible related records.
- The user is searching for a record that they have filtered out.
Add a Related Record to Your Launch Form
- Click on the Workflow Designer tab and select the workflow configuration you want to modify. Click on the Create tab.
- Scroll to the bottom of the form and click Add question to form.
- Select Related Records. A new question is added to the launch form.
- Click Select Property and add a custom property tag. This property is not tagged anywhere in the document, and only the name is editable in the Properties and Conditions panel.
- Customize the question with how you would like it to appear in your launch form.
- In the Record Type property, you have two options:
- If you want your users to have a certain type of record to choose from, select the record type. For example, if your workflow type is an MSA, an NDA may be the only related record required.
- If you want your users to be able to search for all record types that they have permission to view, leave the property blank.
- If you want to make your related record question optional, select a condition that does not require users to complete one workflow prior to launching the next. To do so:
- Click Add question to form and select Multiple Choice. A new question is added to the launch form.
- Add a question title such as: “Does this workflow have a related record?”
- Click Select Property. Type “Related Record” and create a new property.
- In the Properties and Conditions panel, click the plus sign > Condition.
- Create a condition named “if Related Record is Yes”. Define IF the Related property IS Yes.
- Locate your record type question, and select the new condition for the Select Property property. The record type question will only display if your user answers yes to the related record question.
Add a Property Assignment
After you input your related record question, you can add a property assignment. Property assignments pull information from the related record and inputs it directly into your new launch form.
- Click on the Workflow Designer tab and select the workflow configuration you want to modify. Click on the Create tab.
- Click on your related record question, and then click Add Property Assignment.
- In the Properties From Related property, select the property you want to pull from the existing record.
- In the Properties in This Template property, select which property you would like to pull the data into. The property types that exist in your template must match the property types from the related record. For example, if you pull an email property from the record, the template property must also be an email property type. Any metadata you want to pass into the workflow as a property assignment needs to appear as a question on the launch form.