IBM Business Analytics

 View Only
  • 1.  behaviour with invalid processes on Planning Analytics

    Posted Wed February 19, 2025 10:06 AM

    Hello, 

    as you maybe could see, we created an idea at IdeasForum concerning the invalid processes as it was in Architect, it means, if the process is invalid, it should be possible to see it already at the tree pane with a special symbol. 

    What would also be fine if you cannot execute such a process at all, as it was in Architect.

    As I learned from Scott Wiltshire, for now, it is not possible to get the answer from the RestAPi if a process is invalid before executing this, so the process should be executed and then you get the answer. 

    So for now, if you execute such a process on alone, you get the error message while saving that there is an error and if you execute the process, you get the same error. If the process is in a process chain, so the processes without the syntax error are executed as they should and for this invalid process you get the error. 

    So what do you think about this behavior or would you like to have it as in Architect or sth else? 

    Thanks in advance. 

    With best regards, 



    ------------------------------
    Vitalij Rusakovskij
    ------------------------------


  • 2.  RE: behaviour with invalid processes on Planning Analytics

    Posted Thu February 20, 2025 05:24 AM

    Vitalij,

    Trust you are aware of the CompileProcess (unbound) and (bound) Compile actions that you can use to, as the name suggests, compile the process without executing it. These compile actions return a collection of errors representing any errors that might exist in the process.  

    The server doesn't have or retain, never has, any information about the validity of a process.

    Cheers,  



    ------------------------------
    Hubert Heijkers
    STSM, Program Director TM1 Functional Database Technology and OData Evangelist
    ------------------------------



  • 3.  RE: behaviour with invalid processes on Planning Analytics

    Posted Thu February 20, 2025 05:43 AM

    Hello Hubert, 

    yes, I'm aware of this. 

    So how was it possible in Architect to get the "right" icon for the invalid process? 

    Best regards, 



    ------------------------------
    Vitalij Rusakovskij
    ------------------------------



  • 4.  RE: behaviour with invalid processes on Planning Analytics

    Posted Thu February 20, 2025 07:42 AM

    Hi Vitalij,

    Now that you asked I wondered the same myself. Turns out there is a 'Complete' property on a process, that does get persisted, that only gets set by Architect (and can only be set using the old C-API). The server does nothing with that property, it is effectively the same as you adding a "Complete" dynamic property to a TI process using the REST API (as of TM1 v12 a Process is an open type as well).

    So, for completeness, what happens in Architect is that, it calls 'Compile' and, based on the compile being successful or not, shows you any errors and asks if you "Would like to save the incomplete process?", after which it saves the process AND sets the Complete property on that process. Again, the server, other then storing that property, is completely oblivious to it (ironically it actually has a separate internal property that keeps track of the fact if the process was already compiled successfully, but only lives in the server and never gets persisted).

    Hope that clears it up. If PA opted to do something similar and wanted it to work with TM1 v11 as well I'm open to making Process an open type in TM1 v11 as well (that's easy enough). 



    ------------------------------
    Hubert Heijkers
    STSM, Program Director TM1 Functional Database Technology and OData Evangelist
    ------------------------------



  • 5.  RE: behaviour with invalid processes on Planning Analytics

    Posted Thu February 20, 2025 08:14 AM

    Hello Hubert, 

    thank you for your explanations!

    With best regards, 



    ------------------------------
    Vitalij Rusakovskij
    ------------------------------