Skip to main content

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​

FieldRequiredDescriptionExample
NameOptionalName for this StepMyActivity
DescriptionOptionalDescription of what this step is intended to doReads a file from S3
Select ContextOptionalSelect the contexts that you wish to set, input mapping is generated based on the selections
OverwriteOptionalWhen 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.

  • Send to Engage — reports an event through a context this activity sets.