Salesforce - Update record
Use the Salesforce - Update record start event An event that triggers a workflow to run when it occurs. An example is Box - New file, which triggers the workflow to run when a new file is uploaded to the specified folder. to start your workflow whenever a record of the specified object, such as Account or Opportunity, is updated in your Salesforce org.
For more information about the Salesforce connector A software component that allows seamless integration with third-party services, business applications, and content stores. Examples include Salesforce, Box, and Microsoft SharePoint. Connectors are used to create connections required for workflow and agentflow actions and start events., see Salesforce.
Configure the Salesforce - Update record start event
-
Open the Workflow designer. For more information, see Open the Workflow designer.
-
If the Start event configuration panel does not automatically open, click Start event. For more information, see Start event configuration panel.
Important:If invalid variables are detected, a message is displayed at the top of the Start event configuration panel. It can be due to changes that have been made to the start event, such as:
-
The start event configuration may have been changed.
-
The start event may have been changed completely. For example, the start event connector changed to a new connector or changed from a connector to a Nintex event.
-
The source configured in the start event configuration may have been changed or deleted. For example, after a workflow is configured to start when a new item is added to a SharePoint list, a column in the SharePoint list is deleted or the list is deleted.
If you see this message it is recommended that you update the variables. You can update the variables or delete them as required in the Variables panel.
If there are invalid references they will be deleted when the workflow is published. Deleting variables may result in unconfigured actions and you will have to update the configuration of the impacted actions.
-
-
In Start from, select Salesforce.
Caution: After you have selected and configured your start event and you begin designing the workflow and using start event variables in any of your actions, you can no longer change Start from and Event.
A warning message appears when one or more start event variables are referenced by actions within the workflow. The connector and event cannot be changed until the variables are no longer referenced within the workflow.
-
In Event, select Salesforce - Update record.
The Configuration section is displayed to configure the start event.
-
Select a Connection. If you do not have a connection, see Add a connection.
-
In Object name, select the object you want to monitor for updated records. For example, select Account if you want to start this workflow whenever a new record in the Account object is created.
-
In Fields, select the fields in the object you want to monitor for updated records.
View start event variables
Start event variables A variable associated with the start event. Often referenced by actions in the workflow. For example, a start event variable might capture input in a form field. are automatically added to the workflow. They are passed as parameters in the HTTP call to start the workflow.
At the top of the Start event configuration panel, click Show variables. The list of start event variables is populated.
Alternatively, click Hide variables to hide them.
The start event variables are contained in an object called Start variable. The variables that are available for selection depend on the object you select.
Salesforce - Update record start event fields and settings
|
Section |
Field |
Description |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Start event | Show variables |
Displays variables that are available to use throughout the start event. Variables are classified based on how they are created or generated.
|
||||||||||
| Hide variables | Closes the Variables pane. | |||||||||||
| (unlabeled) | Start from |
The connector or Nintex event that starts the workflow. To trigger the workflow when an event occurs in Salesforce, under CONNECTORS, select Salesforce. |
||||||||||
| Event |
The event that must occur in the selected connector to trigger the workflow. Select Salesforce - Update record to trigger the workflow whenever a record of the specified object, such as Account or Opportunity, is updated in your Salesforce org. |
|||||||||||
| Configuration | Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store. |
The connection to use for the start event. To add a connection, select Add connection. To refresh the available connections, click |
||||||||||
| Object name |
The object you want to monitor for updated records. For example, select Account if you want to start this workflow whenever a new record in the Account object is created. |
|||||||||||
| Fields | The fields in the object you want to monitor for updated records. |