CX Flows

Describe CX flow action delays and the Save Activity Context step

Objective

After completing this lesson, you will be able to describe CX flow action delays and the Save Activity Context step

CX Flow Timing Controls

(New Feature)

What it is

Two new timing controls give you finer command over when actions fire and what data they use: a short action delay, and a Save Activity Context step that preserves activity data across waits.

Why it matters

Timing is central to good orchestration. Sometimes an action should pause briefly before firing; other times a long wait risks losing the activity context that a later action depends on. These controls prevent mistimed and mis-mapped actions.

How it works

CX flow action delay

You can enable a short delay on an action; SAP CDP triggers the action only after the delay elapses, independently of the rest of the flow. The maximum is 300 seconds. Data changes during a delay are not reflected in the activation — for longer stalls where changes should be reflected, use a Wait until duration flow control instead.

Save Activity Context across waits

A Save Activity Context step preserves the activity context at a chosen point — especially before Wait For or Wait until duration steps, which can otherwise cause the original activity context to be lost. It captures all activities created or updated from the originating event up to that point, including multiple activity types and multiple instances of the same type.

Note

Save Activity Context works in overwrite mode: it overrides the context available after the wait, and if several are used, the most recent one before an action determines that action's context. Without it, the default is to use the most recent context, which a wait may have altered.

In practice

Use a short action delay to let dependent processing settle before firing. Insert Save Activity Context before any wait when a downstream action must map data from the triggering activity — this keeps multi-activity, multi-step flows mapping the correct data after delays.

Reference documentation