AndreaF
3 years agoContributor III
Reference workflow variables from business rule
Hi, this might sounds like a stupid question to the more experienced people in the community, but how do I refer to the workflow variables from within an extensibility business rule?
These 2 lines of code are of course not working:
Dim sScenario As String = |WFScenario|
Dim sTime As String = |WFTime|
Any hint? Thank you
Thank you very much!
Small correction to what you have written on the Time dimension, this is the working syntax:
Dim sScenario As String = ScenarioDimHelper.GetNameFromID(si, si.WorkflowClusterPk.ScenarioKey)
Dim sTime As String = BRApi.Finance.Time.GetNameFromId(si, si.WorkflowClusterPk.TimeKey)