Skip to main content
August 28, 2025
Solved

Data Management Step Service documentation missing ?

  • August 28, 2025
  • 4 replies
  • 1 view

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 service?

How is it triggered? What can we do with it ?

Regards,

 

Best answer by SteveK

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)

4 replies

August 28, 2025

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

August 28, 2025
SergeyAuthor
August 28, 2025

Thanks Sam & Steve,

Could we use it in order to create a "dynamic data management job" ?

In my case, I would like to let the user define what they want to export, so being able to define the POV but also if they want to remove 0 etc ...

Can it be achieved with this Data Management Service, or maybe through dynamic dashboards perhaps ?

Regards,

SteveKAnswer
August 28, 2025

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)

SergeyAuthor
August 29, 2025

Thanks both (again) for your valuable inputs !

For the time being, I will use your open place solution sameburn​ which is what the users wants to see, while I will indeed work with the BR to define the data points to export for a later stage :)

Regards,