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
lp
3 years agoNew Contributor III
Auto Complete Workflow
Hello, I have a dashboard on a workflow and the profile name is Workspace, Certify. I would like to be able to batch certify this node but I cannot because I believe the system is expecting me to ...
JackLacava
OneStream Employee
3 years agoThis would have to be done with a Business Rule, which can be triggered from a Data Management job.
The relevant call is BRApi.Workflow.Status.SetWorkflowStatus, here's an (untested) example snippet to get started:
' yourProfileName will be like "ParentProfileName.ChildWorkflowName", e.g. Clubs.Import
Dim wfToUpdate As WorkflowUnitClusterPk = BRApi.Workflow.General.GetWorkflowUnitClusterPk(si, yourProfileName, yourScenarioName, yourPeriodName)
BRApi.Workflow.Status.SetWorkflowStatus(si, wfToUpdate, StepClassificationTypes.Workspace, WorkflowStatusTypes.Completed, "Auto completing Workspace", "Error autocompleting Workspace", "Auto completing", Nothing)- lp3 years agoNew Contributor III
Thanks so much, we will try this!
Related Content
- 2 years ago
- 1 year ago