JBoss Community

Re: how do we assign the rejected tasks to initiator in Approval flow.

created by Rajesh P in jBPM - View the full discussion

Thanks Ashish.

 

As you suggested,i would like to go with first approach.i.e, having a human task just after after the start node.

I will pass Actor id dynamically as suggested by the Shobhit.

And then i would like to claim,start and complete the task after starting the process . I have given sample to do the same below. please validate it is it a right apparoach?

 

Map<string,Object> inputParam  = new HashMap<String,Object>();

inputParam.put("initiator","<UserID>");

kession.startproces("<process id>",inputParam);

//start the task

///complete task

 

 

Please suggest me on the above approach.

 

Thanks,

Rajesh.

Reply to this message by going to Community

Start a new discussion in jBPM at Community