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.