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.
| Product | gravityflow |
|---|
| Requires | gravityflow 2.2.3 or later |
|---|
| Needs an entry | Yes. Its value comes from a form entry. |
|---|
Parameters
| Name | Type | Required | Default | Description |
|---|
| Step detail | one of the values | No | name | Which detail to show. Leave empty for the step name. Case-sensitive: ID must be capitals. |
Values for Step detail
| Value | Description |
|---|
name | Step name (default). Any value not listed here also gives the name. |
ID | Step ID |
type | Step type. Such as approval or user_input. |
start | Start date. When the entry reached this step. |
duration | Time on this step. Such as 2d 4h. |
duration_minutes | Minutes on this step |
duration_seconds | Seconds on this step |
expiration | Expiration date. Empty when the step does not expire. |
schedule | Scheduled date. Empty when the step is not scheduled. |
due_date | Due date. Empty when the step has no due date. |
due_status | Due 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 tag | Output |
|---|
{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 |