Is it a bug ?
Hi,
I do not know if it is so but i've found a strange behaviour in the case i'll describe here:
i've three workflow diagram, say them SUBWF1, SUBWF2, MAINWF.
Both SUBWF1 and SUBWF2 have a Start, an Approval Block and and End Block.
The MAINWF has a Start Block, connected to a Task Block (say it TaskBlock1).
This TaskBlock1 is connected to a Fork object and this fork object goes to two Run workflow
block : the first say called SUBWF1 and the second one called SUBWF2.
Then they are both with the "Wait until finished" flag checked. They are so connected to a Join
object. This join object goes to an approval block (say it MainApprovalBlock) and so to the End
block.
The problem is that the flow execution of MAINWF wait to reach the MainApprovalBlock ONLY if i
execute as first the Run Workflow Block put at the left, but not if i execute as first the Run
workflow object at the right. I try to explain better describing the two different situations :
1) Execution of MAINWF
2) Create the instance of TaskBlock1
3) With Status ok then i've two parallels creation of SUBWF1 and SUBWF2
Note that SUBWF1 is on the left and SUBWF2 is on the right
4) If i first terminate the SUBWF1 then to have the creation of an istance of MainApprovalBlock
i've to terminate SUBWF2 but if as first i terminate SUBWF2 then i've the creation of the
instance of MainApprovalBlock even if the SUBWF1 is still not terminated.
This way of doing become opposite if in MAINWF i put SUBWF1 on the right and SUBWF2 on the
left.
I've reproduced this behavior and i can send to you the demo of it if you say me in which way (i've also some screen shots).
Thank you