Forum Discussion

Marco's avatar
Marco
Contributor II
18 hours ago

Calculation definitions are not executing in the expected sequence.

Hi Community,

I have the following calculations in my workflow profile, but the processes Process_plp and Copy_plp_to_pln run at the same time and not in order. What do I need to do to make them run sequentially? My OneStream version is 8.5.1.

 

1 Reply

  • rhankey's avatar
    rhankey
    Contributor III

    The packages will be started according to Order, but I am betting you are using a StartDataMgmtSequence() which starts the package in the background, allowing control to be passed on to the next item in the Calculation list.  At that point, the second one is started, while the first could still be running.

    The solution is to use ExecuteDataMgmtSequence() which starts the package and waits until it completes.  That will allow the packages to run sequentially.