Parallel Task

Comments

4 comments

  • Avatar
    Loren Bratzler

    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:

    0
    Comment actions Permalink
  • Avatar
    Loren Bratzler

    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.  

    0
    Comment actions Permalink
  • Avatar
    Michael Barath

    Thank you , Loren. This gives me a lot to work with. When it says "the nearest incoming activities," that does not include any activity downstream, does it? BTW, some of my colleagues think I'm less than human, but I won't take any chances. 

    0
    Comment actions Permalink
  • Avatar
    Loren Bratzler

    The OR shape should only cancel "Incoming" activities.  It should not be able to affect anything downstream because at the time the OR executes, those activities haven't been started yet.

    0
    Comment actions Permalink

Please sign in to leave a comment.