Configure Business Rules
Add NoInput Business Rule
If not already using a no-input business rule, assign the provided PCM_ConditionalInput rule to all Cubes that will be managed by PCM. Business Rule 7 or 8 will be a good location to assign the PCM_ConditionalInput rule. The PCM_ConditionalInput rule can be assigned by selecting it from the dropdown list of rules for the Business Rule slot that is being assigned. The screen shot below shows the PCM_ConditionalInput rule being assigned to the Atlanta Cube in the GulfStream demo application.
If a no-input business rule is already being used in your application, update the existing rule with the code provided on the PCM Settings | Event Snippets page. See Event Snippets under Settings earlier in this document.
Add Event Handler Business Rule Code
The Event Snippets page has additional business rule code snippets that will need to be added to the Transformation Event Handler, Data Quality Event Handler, Forms Event Handler and Journals Event Handler Business Rule Code. See Event Snippets under Settings earlier in this document. These code snippets will call the new no-input business rule code when these events are called to test the user’s Process Level against the current Process Level for a given intersection of Entity, Scenario, Time and the activated combinations of Cube, Origin and Workflow Channel to determine if the user can complete the requested action.
The Business Rules that must be modified are located in the Application/Tools/Business Rules page under the Extensibility Rules. If they do not exist in the current Application, they can be added by clicking Create Business Rule on this page.
The screen shot below shows the snippet for the DataQualityEventHandler Business Rule being pasted to lines 56-58 in the GolfStream demo application.
The screen shot below shows the snippet for the FormsEventHandler Business Rule being pasted to lines 27-29 in the GolfStream demo application.
The screen shot below shows the snippet for the JournalsEventHandler Business Rule being pasted to lines 60-62 in the GolfStream demo application.
The screen shot below shows the snippet for the TransformationEventHandler Business Rule being pasted to lines 74-76 in the GolfStream demo application.
The instructions in the Event Snippets page also state the five business rules (No-input/PCM_ConditionalInput, DataQualityEventHandler, FormsEventHandler, JournalsEventHandler and TransformationEventHandler) need to have the Reference Assemblies property set to BR/PCM_SoultionHelper. Note screen shot for the DataQualityEventHandler rule in the GolfStream.