> 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/best-practices-screensteps/overriding-swimlane-assignments.md).

# Overriding swimlane assignments

When you are working with group assignments in a swimlane (groups, queues, roles, etc), you may want the user that completed one step in the swimlane to also take ownership of the following steps in the same swimlane. This can be accomplished by using a Define Variable action to set the User, and a Responsibility override on the subsequent steps.

{% stepper %}
{% step %}

## Set the completing user as a variable

Add a Define Variable action to the Content Collection - Notify Customer step:

![](/files/0bf8d82e6428818022c450802813f075b28acf6f)

Set the Start Type of the action to "After Step" since you want the user that completed the step to be assigned to the variable.

* The Variable Type should be **Text**
* Select a meaningful **Variable Name**
* Using Advanced Mode, select the **$User** context object and locate the **Id** field. Insert the value into the **Variable Value** text box.

![](/files/16af59bfebdd91221979c1024cb5a0875c69ef6a)
{% endstep %}

{% step %}

## Add a Responsibility Override

Add a Responsibility Override to any following step(s) and click on Add Variables:

![](/files/ed067865cf9d39f10dec0809107970f769f7dbd3)

Select the variable you just set up in the prior step:

![](/files/5799a6fd2d36b04c42d3fa500e57902836528127)
{% endstep %}

{% step %}

## Confirm the override

When you add the override, the step will indicate a Responsibility Override with the red "person" icon:

![](/files/a4421a21bd6f1655a04e8ebe173e29c3d160cabe)

Now, when this process runs, the user that completed the first step "Content Collection - Notify Customer" will be assigned the next step "Content Collection - Upload Files" regardless of the group swimlane assignment.
{% endstep %}
{% endstepper %}
