cancel
Showing results for 
Search instead for 
Did you mean: 

Change workflow initiator

theoryoflinkin
Champ on-the-rise
Champ on-the-rise
Hi,

In my project, I have developped a webservice which allows me to start automatically some workflows by settings the administrator as the initiator.

The first task of my workflow is a service task that calls a personnal java code in order to assign automatically  the first user task to the good user. The affectation is based on some criteria and everything works well except one thing.

When I go to the "Workflow I've started" page, I can see the workflows only if I log in as the administrator.

But I would like to see the workflows in the "Workflow I've started" of the user automatically selected by my service task.

For this, I think (I'm not sur at well), I have to change the value of the initiator property.

I try to do this in the workflow, via a script and via some java code but I can't have a code without errors just only because I don't have any idea how to do it.

Is there someone who can help me or give me some tips to access the properties of the good workflow and change the initiator value?

Hope this clear.

Thanks in advance.
1 REPLY 1