Planning Analytics

 View Only
  • 1.  Folding and Unfolding Regions in TI on PAW 2.0.77

    IBM Champion
    Posted Fri June 03, 2022 11:58 AM
    Edited by System Fri January 20, 2023 04:50 PM

    I got quite excited when I read the release notes on PAW 2.0.77 and the folding capability in TI and Rules
    I just cannot seem to get it right though.

    I mark up the sections as I need them but then saving gives me errors:


    It seems like adding #Section works but is not recognised. Is there an #EndSection command/statement?

    Anyone know what I am doing wrong and how to set these up to get folding and compiling working?


    On the Rules side, after adding #Section Actuals, rules saves but does not allow me to remove the section or edit the name.
    If there a way to do this?
    Is there a way to denote the end of the section like in the old days with #Region, #EndRegion? #EndSection also not working here.

    ------------------------------
    George Tonkin
    ------------------------------
    ​​​​
    #PlanningAnalyticswithWatson


  • 2.  RE: Folding and Unfolding Regions in TI on PAW 2.0.77

    Posted Fri June 03, 2022 04:03 PM
    Hi George, the problem is that you are trying to use #Section, in both process and  ​​rules what you can do is to specify regions as you say at the end of your comment:


    ------------------------------
    Julian
    ------------------------------



  • 3.  RE: Folding and Unfolding Regions in TI on PAW 2.0.77

    IBM Champion
    Posted Sat June 04, 2022 01:33 AM
    HI Julian,

    Thank you for the feedback Julian.
    My mistake, I tried the folding per "In the process editor, folding and unfolding regions starts at the Section level." and then added my own sections as I could not get the regions to work.

    What I found this morning is that the Region and EndRegion are case-sensitive which is why they did not work for me.
    My code blocks are typically denoted by an upper case heading and using #REGION and #ENDREGION did nothing.

    So for others trying to do the same thing whether in rules or TI, be aware that you need to use Region and EndRegion. This exact case i.e.






    ​​

    ------------------------------
    George Tonkin
    ------------------------------



  • 4.  RE: Folding and Unfolding Regions in TI on PAW 2.0.77

    Posted Wed August 17, 2022 09:07 AM
    Very helpful thread. Word of warning - I trued putting #Section in the rule editor, it works there also but it apparently becomes in-editable. I could not find a way to change/delete #Sections so had to delete the rule, re-do it and save. ​​

    ------------------------------
    Ian Digby
    ------------------------------



  • 5.  RE: Folding and Unfolding Regions in TI on PAW 2.0.77

    Posted Wed August 17, 2022 10:19 AM
    Thank you for this warning, Ian,
    We are working on improving the section declaration in Editors as we've noticed that the wider use cases happening are not aligned with the original scope.

    Svetlana

    ------------------------------
    Svetlana Pestsova
    IBM Planning Analytics Product Manager
    ------------------------------