Update Conversation Attribute action
Use the Update Conversation Attribute action to update an existing conversation attribute record. This update action allows you to update a conversation attribute record fully or partially as long as you adhere to its schema.
Configure the Update Conversation Attribute action
| Field | Description |
|---|---|
| Name | Type a distinctive name for the Update Conversation Attribute action. The label you enter here becomes the action’s name displayed in the task sequence. |
| Conversation ID | Enter the valid UUID of the conversation that contains the record you want to update. Note: This field is applicable only for Workflow type flows. |
| Schema | Click the arrow at the end of this list and select a previously created conversation schema that represents the record you want to update. To narrow the selection, type the first few letters of the schema name. Conversation attributes appear in the Attribute field, based on the schema you select. |
| Record ID | Enter the unique ID of the conversation attribute record that you want to update. |
| Divisions | Select one or more divisions to assign to the conversation attribute record. If your organization does not use divisions, leave this field unassigned. Note: If the existing record has one or more divisions assigned and you leave this field unassigned, the Update Conversation Attribute action removes the existing divisions assignment. |
| Attribute | Allows you to update existing values for the attributes specified in the selected schema. Required fields are indicated by a validation warning. Even if there are no required fields in the schema, at least one value is always required. Select Standard or JSON to toggle between the standard and JSON editing modes.
Both the standard and JSON editing modes allow literals and expressions as the input values. If you have not set a property and its value in JSON mode, the corresponding field in standard mode indicates that no value is specified. Notes:
|
| Result | Assign a variable name to the conversation attribute record for further use in the flow. |
Define failure outputs
| Field | Description |
|---|---|
| Failure Outputs | These outputs allow the flow author to map the results of any resulting errorType and errorMessage variables when the Update Conversation Attribute action takes the failure path. The failure outputs help you anticipate potential issues and manage them effectively, improving your flow’s resiliency.
Note: Hover over the information icon next to errorType to display the list of allowable errorType values. Select the variables that you want to assign to the failure data values returned by the Update Conversation Attribute action. You can use the following errorType values:
Note: Click the arrow next to Failure Outputs and expand or collapse the list of variables. |
Define success and failure paths
| Path | Description |
|---|---|
| Success | A completed Success path indicates that the system encounters no errors during the process. It is not a measure of whether the system receives data that is the intended result or functionality. |
| Failure | This path indicates that there was an error attempting to complete the action or a problem processing the results from the Create Conversation Attribute action. Drag the appropriate action below the Failure path. |
[NEXT] Was this article helpful?
Get user feedback about articles.