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
Onestreamer92
1 year agoNew Contributor II
Status of a workflow
hi all,
I wanted to retrieve a workflow status and form status.
I am able to do this using the data adapter method query for the same.
I also wanted to assign a user responsible for each workflow and retrieve that info .
I was thinking of doing this using one of the workflow text properties. How will i be able to retrieve that info into my status report? has anyone done something similar?
1 Reply
- KarlT
OneStream Employee
In a Data Set business rule you could use something like this for the text
Dim wfInfo As WorkflowProfileInfo = BRApi.Workflow.Metadata.GetProfile(si, si.WorkflowClusterPk) Dim wftext1 As String = wfInfo.GetAttributeValue(scenariotypeid.Actual, SharedConstants.WorkflowProfileAttributeIndexes.Text1)workflow status can be retrieved using:
Dim wfInfo As WorkflowInfo = BRApi.Workflow.Status.GetWorkflowStatus(si, wfClusterPk, throwOnError)There is also a standard method query to retrieve workflow status via a data adaptor:
Related Content
- 3 years ago
- 2 years ago
- 2 years ago
- 1 year ago