task completing users

Hi,

I need to find out that;

If a user roles (completing any task) in a process instance , after than any task assigns to this user(s) should beautomatically completed.

To do this, I use a list (completedUserList) in BusinessData. I need to check in Task creation (Event = Assing/Queue) that, if assignedToList contains any one of the completedUserList. And one of them (founded in my list), is going to complete task automatically.

Regards

Mehmet:

What is your question?

Regards.

Hi Mehmet,

It seems that you posted a solution, not a question.

Do you want us to check if the solution is valid?

Best regards,
Vlad Turian

Hi,

What I need was sample code to do that in task engine.

comparing two list in task engine Queue event without any java code

Regards

Hi Mehmet,

I don’t think you can avoid writing the java code that compares the two lists.

But creating the OnQueue event and the method that compares the 2 lists behind is a rather easy task.

Let us know if it works for you.

Best regards,
Vlad Turian