Forum Discussion

Davy's avatar
Davy
Contributor
3 years ago

how to pass multiple months to wfClusterPk = BRAPi.Workflow.General.GetWorkflowUnitClusterPk ?

Happy end of masking!! We are trying to pass multiple months to: wfClusterPkChild We tried to pass Qtr1.base but we get error message. Any suggestions on how to pass M1, M2 , M3 - which are base ...
  • Koemets's avatar
    Koemets
    3 years ago

    Frankly, I don't like manipulating wfCluster. I did have certain issues with processing order in the past when manipulating wfCluster. Can you simply execute the BR from Data Management? You can set your Time filter there and simply pull api.pov.time.name as time parameter. 

    But if you are still keen on passing the quarter The pass it without .base extension and stick it into the GetBaseMember

    Dim arrMembers = BRApi.Finance.Members.GetBaseMembers(si, dimPk, memberId_of_Q1, dimDisplayOptions)

    For each member in arrMembers...

    ....

    Next