The intention is to set the assignee to hr_analyst_uid when the task is created, and if it is reassigned, then that process variable is set to the new assignee so that a subsequent task can be assigned to them.
The output parameter is executed during the completion of the activity, at which point the task has been completed and deleted already. I suggest you use a task listener that listens for the assign or endcomplete event to set the variable.