I have created service which will pick the records from db which having taskid is null after that I am using task client: task search.
In this value field is object list and I am passing stringlist because I am getting multiple process instance id's.
Main issue is if I pass single id it is returning taskinfo but if I pass multiple process instance ids it's throwing exceptions like object list is not accept etc....
Can anyone help how to pass multiple values as input to the search task inbuilt service. ..?
skentilt
Hello Guys...
I have created service which will pick the records from db which having taskid is null after that I am using task client: task search.
In this value field is object list and I am passing stringlist because I am getting multiple process instance id's.
Main issue is if I pass single id it is returning taskinfo but if I pass multiple process instance ids it's throwing exceptions like object list is not accept etc....
Can anyone help how to pass multiple values as input to the search task inbuilt service. ..?
Or it only accepts single input for value.
Please confirm.
Acouxuth
For multiple instance id, you can use operator "in"..
Ex: field = instance_id, operator=in, value=(inst_id1, inst_id2)..
skentilt
Thanks Acouxuth...it's working.