Forum Discussion
KH1
1 year agoContributor III
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 include...
- 1 year ago
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.
KH1
1 year agoContributor III
I was wrong about my findings on SF/DMSS.
- Due to my lack of understanding of how 'Return' works.
- Daniel Willis - "I would expect that to do/return "Delete_Batch_Folders_Ex_S()" every time and neither Delete_Dim_Members_Ex_S() nor Direct_WF_Cube_Ex_S() would ever be reached."
Pls share how you'd write a conditional logic
- Run a specific DM Job using SF/DMSS
- None of the DMSS is related to one another
1. Delete_Batch_Folders_Ex_S()
2. Delete_Dim_Members_Ex_S()
3. Direct_WF_Cube_Ex_S()
TY - Daniel and Henning and other SMEs who also want to help.
Related Content
- 1 year ago
- 13 days ago