> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/automations/queries-and-conditions/working-with-work-relay-context-objects/working-with-usdstep-context-object.md).

# Working with $Step context object

* Start creating or editing an action.
* Select the $Step context object.
* Select an item from the context object items picklist.

![](/files/53cef7967e19f8540a5ca34f5ec5406ce3859d05)

**$Step context object** stores values of a current process step. On process actions with "Before Step" type step items store values of a previous process step, otherwise Step items refer to a current step.

* **ApiName** - current step [API Name](/processes/process-steps/process-step-settings/properties.md).
* **AssignTo** **-** current step [assignee](/processes/process-steps/process-step-settings/working-with-step-assignee.md). Value depends on Step.AssignType: if step assign type is User, Group, ChatterGroup, Queue, Role, Profile or Resource assignTo will store corresponding record IDs, if assign type is "Call Apex" assignTo will store Apex Class Name, if assign type is "Field" assignTo will store field API Name.
* **AssignType -** type of a current step assignment. Can store one of the following values: User, Field, Group, ChatterGroup, Queue, Role, Profile, Resource, Call Apex.
* **Branch -** label of a corresponding process [branch](/processes/connectors/branches.md).
* **Branch.Id -** ID of a corresponding process branch.
* **Description** **-** current step [description](/processes/process-steps/process-step-settings/properties.md).
* **Duration -** [duration](/processes/process-steps/process-step-settings/time.md) of current step.
* **Effort -** current step [effort](/processes/process-steps/process-step-settings/time.md).
* **Guid -** current step GUID.
* **Id** **-** current step ID.
* **Milestone** **-** step [milestone](/processes/building-a-process/milestones.md) name.
* **Milestone.Id** - step milestone ID.
* **Name -** step [name](/processes/process-steps/process-step-settings/properties.md).
* **Swimlane -** step [responsibility](/processes/building-a-process/responsibilities-swimlanes.md) name.
* **Swimlane.AssignTo** - responsibility assignee value.
* **Swimlane.AssignType -** responsibility assignment type. Can store one of the following values: User, Field, Group, ChatterGroup, Queue, Role, Profile, Call Apex.
* **Swimlane.Id -** current step responsibility ID value.
* **Type -** [type](/processes/process-steps/step-types.md) of a current step. Will store one of the following values: Manual, Approval, Automatic.
