08-01-2022
09:45 AM
- last edited on
05-02-2023
10:54 AM
by
JackLacava
Hi,
I am working with WorkflowClusterPk objects and I know I can get the ScenarioKey, which is an integer, like this:
Dim scenarioKey As Integer = si.WorkflowClusterPk.ScenarioKey
How do I get the scenario name (as a string) from the ScenarioKey? Is it possible?
Alternatively, which function could I use to get the current workflow scenario name?
Thank you
Solved! Go to Solution.
08-01-2022 10:18 AM
08-01-2022 10:18 AM
08-01-2022 06:37 PM - edited 08-01-2022 06:37 PM
Or a better option is to use ScenarioDimHelper.GetNameFromID(si, si.WorkflowClusterPk.ScenarioKey). It works similarly to the TimeDimHelper function.