Service Factory - Data Management Step
We're moving most of the Business Rules to Workspaces Assemblies under PV 8.4.
- We have several Extensibility Rules that are run by multiple Data Management (DM) Jobs like you.
- Hence, we included separate DM Step Services (DMSS) in the same Service Factory (SF).
- The result of this SF setup was chaos.
- We saw that launching one DM Job by a given DMSS in the SF will also launch other DM Jobs by their DMSS in the SF.
We couldn't find enough practical advice on the SF/DMSS setups in the Design Guide to overcome this chaos.
Pls share how to set up Data Management Step Services in a Service Factory to launch one Extensibility Rule/DM Job at a time.
TY.
In addition to Daniel's response, I think it is good practice to use the service factory only as the initial router to point to a single service (file). In that service file I would apply the conditional logic.
In the below example, I call only Data Set and Component Service files from the SF and then apply all the conditional logic in those two files. The actual different data set and component code is then in files in my HelperFiles folder.