I’m trying to set a Collaborator field to the current user when they change the status of a row.
It seems automations do not know who the current user is…
So I read about a workaround where you use the session object in a scripting step to set the current user to a variable and pull that out a step later.
output.set(‘current_username’, ${session.currentUser.name}
);
Thing is… I keep getting
ReferenceError: session is not defined
So… obviously I’m missing something, chasing a solution that is not possible, or just don’t understand how scripts work.
Any help?