Filtering cases for publication
Publish only those cases that meet a specific condition from your remote application to Pega Process Fabric Hub.
- Ensure that your remote application has the Pega Process Fabric Hub Connector. For more information, see Installing the Pega Process Fabric Hub connector component and Pega Process Fabric Hub Connectors.
- You perform the configuration in your remote application. For more information, see Registering and managing remote applications in Pega Process Fabric Hub.
- In the navigation pane of Dev Studio, click Records.
- Expand the Decision category, and then click When.
- In the list of When rule instances, open the pyPF_EnablePublishRealtime When rule that applies to the Work- class.
- On the rule form header, click Save as.
- On the Save as When form, in the Context section, in the Apply to field, enter the class of the case type.
- In the Add to ruleset list, select your application ruleset.
- Click Create and open.
- On the Advanced tab, update the condition and logic
string.
For example: The following figure shows a configuration for publishing cases for the RepaymentExtension case type only if the value of the Region property is NORTH: Configuration for publishing only the cases in which the value of the .Region property is NORTH - Click Save.
- In the navigation pane of Dev Studio, click Records.
- Expand the Reports category, and then click Report Definition.
- In the list of Report Definition rule instances, open the pyPF_PublishBulk Report Definition rule that applies to the Work- class.
- On the rule form header, click Save as.
- On the Save as Report Definition form, in the Context section, in the Add to ruleset list, select your application ruleset.
- Click Create and open.
- Update the filter conditions.
- Click Save.
Saving the When rule for publishing real-time information about cases in your ruleset
Saving the report definition rule for publishing bulk information about cases in your ruleset
Previous topic Filtering case types for publication Next topic Pega Process Fabric Hub Connector for Salesforce Platform