quick question: How can I start a user task which is not generated by Administrator?
I’ve build a Portlet in which a publish ist called. This process starts another process in which a user task is started.
It works like:
user starts portlet -> portlet starts process (A) ->process (B) --> in B user task is startet
More detailed explaination:
I want to use the Service ‘searchTasks’ which is localized in ‘WmTaskClient\pup\task\taskclient’. With the help of this service I want to filter all the tasks which are generated by a certain user (example: testuser).
- In MWS is created a new user called testuser.
- In MWS\Public Folders I created a new Site in which the Portlet which is used to publish a new document (–> start a new process) is placed.
- Now I log in as testuser and use the portlet. After that I use searchTasks whith the parameter user = testuser.
- The result is an empty resultset. After a quick analysis I found out, that allthough I used the portlet as testuser, my user task was generated as ‘Administrator’.
I hope my explaination is more or less understandable. Can someone help me fix this?
Thanks and best regards