Set Context
The Set Context activity sets a value in the workflow context.
Configuring the Set Context Activity
To configure the Set Context activity, fill in the required fields in the activity panel.
Configuration
| Field | Required | Description | Example |
|---|---|---|---|
| Name | Optional | Name for this Step | MyActivity |
| Description | Optional | Description of what this step is intended to do | Reads a file from S3 |
| Select Context | Optional | Select the contexts that you wish to set, input mapping is generated based on the selections | |
| Overwrite | Optional | When checked, the context will be overwritten if it has already been set — either explicitly by the user or inherited from the main flow. |
Input
Map the required input fields to provide data for this activity.
Setting the Engage context
Reporting to Engage from a workflow takes two activities. Set Context establishes the Engage context, and Send to Engage references it in its Select Engage Context field.
Set the context once, before the first Send to Engage activity. Every Send to Engage call in the workflow then reports through that same context.
Related activities
- Send to Engage — reports an event through a context this activity sets.