Hi,
I'm creating a project in Jira work management for team leaders. When they fill up their audit form, I want the form automatically move to their respective manager's queue. This is how I created the workflow:

This is the error I'm getting:

This my code:


Looking at the automation history, the issue is keep transitioning from one status to another- not sure why it's happening. Even though it does that, still it's not transitioning to the correct status.

Does anyone know how to fix this?