Skip to main content

Merge tag {current_step:PROPERTY}

Current step. A detail of the step the entry is on now, such as its name or due date. Empty when the entry is not on a step.

On the test entry, {current_step} gives Manager approval.

Productgravityflow
Requiresgravityflow 2.2.3 or later
Needs an entryYes. Its value comes from a form entry.

Parameters

NameTypeRequiredDefaultDescription
Step detailone of the valuesNonameWhich detail to show. Leave empty for the step name. Case-sensitive: ID must be capitals.

Values for Step detail

ValueDescription
nameStep name (default). Any value not listed here also gives the name.
IDStep ID
typeStep type. Such as approval or user_input.
startStart date. When the entry reached this step.
durationTime on this step. Such as 2d 4h.
duration_minutesMinutes on this step
duration_secondsSeconds on this step
expirationExpiration date. Empty when the step does not expire.
scheduleScheduled date. Empty when the step is not scheduled.
due_dateDue date. Empty when the step has no due date.
due_statusDue status. Overdue or Pending. Empty when the step has no due date.

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutput
{current_step}Manager approval
{current_step:name}Manager approval
{current_step:ID}3
{current_step:type}approval
{current_step:start}January 13, 2026 at 1:00 am
{current_step:duration}2d, 3h
{current_step:duration_minutes}3060
{current_step:duration_seconds}183600
{current_step:expiration}January 20, 2026 at 1:00 am
{current_step:schedule}January 14, 2026 at 4:00 am
{current_step:due_date}January 16, 2026
{current_step:due_status}Pending