Oracle BPEL Task Programmatic Labeling Completed

I am using Oracle BPEL Process Manager and assigning a task to a group of users. I am trying to mark it approved using the Java class oracle.bpel.services.workflow.task.ITaskService.updateTaskOutcome (). This works if the task is assigned to an individual user, but if the task is assigned to a group of users, I get an error that will not be received.

If I receive an assignment using oracle.bpel.services.workflow.task.ITaskService.acquireTask (), I get an error when I try to mark it as approved: "The issue was purchased by another user."

Can anyone point to some sample code that programmatically changes the status of an Oracle BPEL task assigned to a group?

0


source to share


2 answers


use updateTaskOutcomes()

method instead updateTaskOutcome()

if assigned to multiple users



+1


source


Your first problem seems obvious, you cannot approve a task she assigns to a group without first getting it. Otherwise, which team member approved the task?

The second problem is that you are purchasing an issue from one user and trying to approve it with another user.



To find where the issue is, you can get the issue, then go to the metadata and search for who purchased the issue. I think this will give you a better idea of ​​what's really going on.

0


source







All Articles