0 Replies Latest reply on Feb 16, 2011 9:46 PM by ly km

    A question about authenticatedUserId

    ly km Newbie

      I am a newbie to jbpm.

      I can see the authenticatedUserId is used for record the current user. And actually, it will saved into a threadlocal thread.

      So, I was confused about if there are two users log in, first A login and (processEngine.setauthenticatedUserId(A) start a instance, And so do B.

      What will be happen if I read current userId?

       

      The question can be simplized to that there are two thread to call jbpm's

      processEngine.setauthenticatedUserId(A), who are reponsiblie for the current user id can be read correctly, the jbpm or programmer?