Role Based WorkFlow Initialization


I have following scenario

if a user with role operator initializes a work flow he must get approval on the job
if a user with role manager initializes a work flow job should be created automatically and workflow ends

what I am trying to do is to handle both scenario in single workflow , and what I have learned till yet is that the workflow never knows which user/role has initiated it even I use a auto transition as the at workflow initialization it does not takes initiator information .


dmelnikov wrote Apr 1, 2014 at 1:49 PM

You are right. Does not save the workflow initiator.
This must be done manually.

Look at our example. There the author is stored in a table "Document".