Parallel Task
I'm fairly satisfied with Agilepoint documentation but I'm often unclear on best practices, such at which are the best tools to use to address a particular problem. So I'm hoping someone in the forums can help. I have two people who need to address a process concurrently at a certain point. One (an assistant) can add to a comment box if necessary but cannot "submit" the form. The other (the department head) can see the comments from the first person but can submit, thus ending that activity.
Is a parallel task the best tool to use? But I'm not sure how to configure a parallel task so that the process ends for both people people once the department head submits the form. I'd be glad to supply any more information if necessary.
-
I have not used the Parallel task activity much but I think you could accomplish what you are trying to do like this:

Here I am using two Standard tasks: One for the Dept Head and one for the Assistant.
The Dept Head task form has whatever fields that person needs to interact with and the Comments control and it has "Submit", "Save", and "Cancel" buttons enabled in the "Actions" configuration:

The Assistant task form is a trimmed down version of the Dept Head task form and only has the Comments control. It also only has "Save" and "Cancel" buttons enabled:

This way the Assistant can add comments and save them to the form but they cannot submit the form and end their task.
The final piece is in the "OR" connector:

The "OR" is configured to cancel all incoming Human tasks:

So when the Dept Head submits and completes their task, the "OR" will cause the Assistant's task to be cancelled:

-
Actually, you may not need to set the cancel "All Human Tasks" in the OR. It should probably do that automatically for you since it should cancel the nearest incoming activity. In fact, cancelling "All Human Tasks" may be a bad thing if you have other human tasks active in other branches of your workflow.
請登入寫評論。
評論
4 條評論