Planning Analytics

 View Only
  • 1.  Evaluate function in PAfE returning RECALC_

    IBM Champion
    Posted Thu May 26, 2022 10:25 AM
    Due to inconsistencies with results, I started migrating all my Application.Run("<function",...) calls to the newer method recommended but not having joy.

    I run the following before executing the commands:
    Reporting.SinglePassMode = True

    One of the first commands run uses a DIMIX to return the index and this is assigned to iEE_Number which works fine.
    Subsequent Evaluate() commands return RECALC_ - At some point earlier, the expected values were being returned but no longer.


    Changing Evaluate to Reporting.EvaluateSynchronous returns the correct values.

    What am I missing? Is there something else that needs to be executed like a calculation/refresh?

    Thank you.

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

    #PlanningAnalyticswithWatson


  • 2.  RE: Evaluate function in PAfE returning RECALC_

    Posted Fri May 27, 2022 11:26 AM

    evaluateSynchronous and singlepassmode should be equivalent in terms of their calculation outcome/flow, so it sounds like the singlepass state is getting cleared somehow. it's plausible it could be a bug on our our side or there may be a clue in the rest of your macro somewhere.

    setting single pass mode, holds the system in synchronous evaluation state until it's cleared, the benefit being so you don't have to use our vendor evaluate endpoint as a 1:1 replacement everywhere in your macro.

    internal activity on IBM's side has pulled me off the github api site for a while now, but i do want to ramp back up there with some updates and the issue status'.

    it doesn't sound like you're missing anything, please continue to work with us on a support case but I'll push internally as I can.



    ------------------------------
    Ted Phillips
    IBM
    ------------------------------



  • 3.  RE: Evaluate function in PAfE returning RECALC_

    IBM Champion
    Posted Fri May 27, 2022 11:29 AM
    HI Ted,

    Thank you for the feedback.

    I have raised a support ticket today - Case TS009487104

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



  • 4.  RE: Evaluate function in PAfE returning RECALC_

    IBM Champion
    Posted Mon June 13, 2022 03:01 AM
    Hi Ted, reproduced this with Tomasz this morning. Reporting.SinglePassMode is definitely resetting back to false between the Evaluate() calls.
    He will write up the issue and escalate.

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