SJEaton Posted April 24, 2017 Share Posted April 24, 2017 Hi I've not been shown parallel processing but think I need it in a workflow I'm setting up as there are at least 3 or more human tasks that need to start running once the request has been allocated to an owner so I'm going to have a stab at it. I currently have some of the human tasks set up under different stages in the workflow though as really I think I want to run parallel stages but I'm guessing you can't have parallel processes that run across different stages right? Any tips would be greatly appreciated. Thanks Sam Link to comment Share on other sites More sharing options...
Steven Boardman Posted April 24, 2017 Share Posted April 24, 2017 Hi @SJEaton The parallel processing would be specific to each stage, so you would need to use the Start Parallel Processing and the Finish Parallel Processing nodes in the same stage, with the required tasks or other activity defined in between. Below is an example where i have two streams of tasks occurring within my parallel processing, and they then come back together. In this example, the Configure Equipment and the Add User to AD will be created in parallel, but i don't need the Add User to AD task to be completed, for the Install Applications task to be created once the Configure Equipment task is complete. I hope this helps Steve Link to comment Share on other sites More sharing options...
SJEaton Posted April 25, 2017 Author Share Posted April 25, 2017 Thanks Steve So when you have 2 processes running in parallel do the human tasks within each process show up in the activities pane at the same time so that it doesn't matter which order they are done in? Sam Link to comment Share on other sites More sharing options...
SJEaton Posted April 25, 2017 Author Share Posted April 25, 2017 And I take it the maximum no. of parallel processes you can have running at one time is only 3? Link to comment Share on other sites More sharing options...
Victor Posted April 25, 2017 Share Posted April 25, 2017 @SJEaton no, there is no limit on how many parallel processes you can run at a time... (any that I am aware of, but certainly you can have more than 3...) Link to comment Share on other sites More sharing options...
SJEaton Posted April 25, 2017 Author Share Posted April 25, 2017 Thanks Victor that's good to know. I've created a parallel process now with 3 processes which seems to work which is great, but one of the processes has a decision node in it that an outcome of which may mean the process ends. This has caused an error though when I try it out which says "Destructing the flow path tree before reaching its root..." which I think means that I cant end a process before ending the parallel process. Is that right? Do I need to have this decision outside of the parallel process? Thanks Sam Link to comment Share on other sites More sharing options...
Victor Posted April 25, 2017 Share Posted April 25, 2017 @SJEaton hmm... interesting scenario you have there, I actually never thought of it before ... Your assumption is correct, you can't end the BP inside parallel processing... you don't necessarily have to have the decision node outside, but the end needs to be outside... What is the process trying to do, how you want it to work? Perhaps we can think of a way to achieve the desired workflow with the end node outside... Link to comment Share on other sites More sharing options...
SJEaton Posted April 25, 2017 Author Share Posted April 25, 2017 Basically this process relates to the appointment of new employees and there are 3 things we need to wait for, ie start date, DBS check and references and these can be received in any order, hence why I've done it as parallel processes. If references are received and approved then that's fine but if the outcome is that references aren't approved then I want to end the process as the person won't be appointed therefore the rest of the process outside of the parallel process won't take place. I hope that explains what I'm trying to do? Sam Link to comment Share on other sites More sharing options...
Victor Posted April 25, 2017 Share Posted April 25, 2017 @SJEaton it does explain thanks, let me have a think ... Link to comment Share on other sites More sharing options...
SJEaton Posted April 25, 2017 Author Share Posted April 25, 2017 ok thanks Victor. I'm on a bit of a tight timeline to get this workflow finish so any assistance would be greatly appreciated! Sam Link to comment Share on other sites More sharing options...
SJEaton Posted April 26, 2017 Author Share Posted April 26, 2017 Morning Victor, I fixed it! All I had to do was add another Finish Parallel Process Node Sam 1 Link to comment Share on other sites More sharing options...
Victor Posted April 26, 2017 Share Posted April 26, 2017 @SJEaton you beat me to it ... But to be honest I actually had no idea you can finish on another parallel process end! So I learn something new today... 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now