The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
manthangandhi
2 years agoNew Contributor III
Assistance Needed: Updating "Profile Active" Property via Extender Rule
Dear Team,
I am currently working on updating the "Profile Active" property for a specific scenario type within a workflow profile. I am trying to implement this change using the below code sni...
DanielWillis
2 years agoValued Contributor
I'm not sure you're passing the right parameter in the first position. What is ScenarioType.Control.Id supposed to be?
If it is a specific scenario type you know ahead of time then you could use something like ScenarioTypeId.Budget.
Otherwise one of the methods to obtain the scenariotypeid from current wf/global/wherever, e.g. brapi.Workflow.General.GetScenarioTypeId(...)