AnsweredAssumed Answered

How to find current workflow user? [SOLVED]

Question asked by jimcornmell on Dec 13, 2007
Latest reply on Dec 13, 2007 by jimcornmell
Hi All,

Again help in advance.

Within my process definition I have the following task.  In it I'm trying to find the current user who kicks of the "Send to Artist" transition.

<task-node name="Waiting for Artist">
   <task name="wf:waitingForArtistTask" swimlane="artistsPool" />
   <transition name="Send to Artist" to="Create">
      <script>
         <variable name="wf_reader" access="write" />
         <variable name="bpm_assignee" access="read" />
         <expression>
            wf_reader = "New reader = " + bpm_assignee;
         </expression>
      </script>
   </transition>
</task-node>

I've tried the above but I get null for bpm_assignee.  I've deliberately ignored initiator although I get a value for this the wiki states this is "the person who initiated the workflow", and I don't need that information.

My question is: Which variable do I need to access to find the current user?

Jim

Outcomes