
# Assign Step If User Trigger

> Advances a workflow to the step specified by the next parameter, if previous step was executed by a specified user.

URL: https://www.hannonhill.com/cascadecms/latest/articles/content-management/workflows/workflow-triggers/assign-step-if-user-trigger.html
category: Content Management
article-type: reference
content-kind: article
release-availability: all
tags: workflows
updated: 2026-10-06

## Overview

This workflow trigger is an example of a conditional workflow trigger. It examines the step that just occurred, and if it was done by the specified username, it advances the workflow to the step specified by the second parameter instead of the standard workflow step progression path.

## Declaration

```xml
<trigger class="com.cms.workflow.function.AssignStepIfUser" name="AssignStepIfUser"/>
```

## Usage

```xml
<trigger name="AssignStepIfUser">  
   <parameter>  
      <name>username</name>  
      <value>user1</value>  
   </parameter>  
   <parameter>  
      <name>nextstep</name>  
      <value>step1</value>  
   </parameter>  
</trigger>
```

## Parameters

### Username

```xml
<parameter>  
   <name>username</name>  
   <value>user1</value>  
</parameter>
```

### Next Step

```xml
<parameter>  
   <name>nextstep</name>  
   <value>step1</value>  
</parameter>
```
