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
Sergey
OneStream Employee
9 months agoData Management Step Service documentation missing ?
Hello,
It looks like the data management step service in assemblies is currently not documented in the online Help.
Does anyone have experience, snippets to share in order to leverage this servic...
- 9 months ago
I would have thought that you could use DashBoard Parameters to pass that info to the DM Task at the Step or Sequence level, and then get them from the args.NameValuePairs dictionary once in the Service BR.
For bonus points you can use BRAPi.TaskActivity.UpdateRunningTaskActivityAndCheckIfCanceled to popup a message to them saying what the DM Task is about to do - just delay it so they get a chance to read the message with something like System.Threading.Thread.Sleep(5000)
SteveK
9 months agoContributor
I call the DM Service from the DM Step in the Assembly using the BR Workspace.Current.CSL_Test.My_DataMgmtHelpers (assuming it's enabled in the Service Factory for the Assembly), then the main code in the DM service class is:
Select Case args.FunctionType
Case Is = ExtenderFunctionType.Unknown
Case Is = ExtenderFunctionType.ExecuteDataMgmtBusinessRuleStep
Dim strDMSequenceName As String = args.DataMgmtArgs.Sequence.Name.ToUpper
Select Case strDMSequenceName
Case "MyDMSeq"
'<My Code>
End Select
End Select
I'm using the DM Sequence name here in the SELECT Case to decide what to do
Steve
Related Content
- 1 year ago
- 2 years ago