Planning Analytics

 View Only
  • 1.  Prevent a TI Process from Running Multiple Instances

    Posted 10 hours ago

    Hey everyone,

    I'm trying to figure out how to prevent a TI process from running if another instance of the same process is already in progress. I want to avoid data-locking conflicts, as I've experienced situations where processes end up waiting for each other and automatically stopping and starting endlessly.

    Does anyone have any tips or strategies for checking if a TI process is currently running before allowing it to execute again? Any insights would be greatly appreciated!

    Thanks!



    ------------------------------
    Asgeir Thorgeirsson
    ------------------------------


  • 2.  RE: Prevent a TI Process from Running Multiple Instances

    Posted 10 hours ago

    Hello Asgeir,

    In prolog, i use 

    Synchronized( GetProcessName() ) ;

    Regards,

    Philippe



    ------------------------------
    Philippe CHAMPLEBOUX
    ------------------------------



  • 3.  RE: Prevent a TI Process from Running Multiple Instances

    Posted 10 hours ago

    Hi Asgeir,

    We use a cube with two dimensions, "process" dimension with a list of process names and a numeric flag dimension.

    At the very begginning of the process, we check for that flag. If it is off, then we turn it on and the process runs as normal. If it is on, then the process brakes to the epilog and ends. 

    For us, a user must turn the flag off for the process to run again.

    Hope this helps.

    Regards.



    ------------------------------
    Jose Luis Senas
    Data Analyst
    Kimberly-Clark Mexico
    Mexico City
    ------------------------------