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
Montreux
3 years agoContributor
Workflow Profile's Substitution Text Settings in BRAPI rule
I would like to reference in a BRAPI rule text stored in the workflow profile's Substitution Text Settings. Can someone provide an example how to do this please.
This should work:
Dim wfProfileName As WorkflowProfileInfo = BRApi.Workflow.Metadata.GetProfile(si, si.WorkflowClusterPk.ProfileKey)Dim wfText1 As String = wfProfileName.GetAttributeValue(scenarioType.Actual.Id, sharedconstants.WorkflowProfileAttributeIndexes.Text1)
3 Replies
- LeeBContributor III
This should work:
Dim wfProfileName As WorkflowProfileInfo = BRApi.Workflow.Metadata.GetProfile(si, si.WorkflowClusterPk.ProfileKey)Dim wfText1 As String = wfProfileName.GetAttributeValue(scenarioType.Actual.Id, sharedconstants.WorkflowProfileAttributeIndexes.Text1)- MontreuxContributor
That works! Thanks a lot!
- MontreuxContributor
Thanks, what you gave though is an api rule, I need a brapi rule for use in the dashboard data set rule type.
Related Content
- 2 years ago
- 2 years ago