Forum Discussion
ShivaPrasad
17 days agoNew Contributor III
Hi Robb,
Can you please help us to resolve above issue?
RobbSalzmann
17 days agoValued Contributor II
'The gymnastics onestream expects you to somehow know, to get...
Dim wfUnitClusterPk as WorkFlowUnitClusterPk = si.WorkflowClusterPk
Dim wfProfileKey as Guid = wfUnitClusterPk.ProfileKey
Dim wfProfileInfo as WorkFlowProfileInfo = BRApi.Workflow.Metadata.GetProfile(si, wfProfileKey)
Dim wfScenarioId as Integer = wfUnitClusterPk.ScenarioKey
Dim wfTimeId as Integer = wfUnitClusterPk.TimeKey
'... the values you actually need:
Dim wfName As String = wfProfileInfo.Name
Dim wfScenario As String = ScenarioDimHelper.GetNameFromID(si, wfScenarioKey)
Dim wfTime As String = BRApi.Finance.Time.GetNameFromId(si, wfTimeId)
Related Content
- 2 years ago
- 2 years ago
- 2 years ago