Specify which case types you want to allow or block when you publish case type data
from your remote application with the connector component to Pega Process Fabric Hub.
By default, all case types in the Cases &
data tab are published to Pega Process Fabric Hub.
You
filter the case types that you want to publish to Pega Process Fabric Hub
from your remote application by updating a Pega Process Fabric Hub
extension activity rule in your application.
In the navigation pane of Dev Studio, click Records.
Expand the Technical category, and then
click Activity.
In the list of Activity rule instances, open the
pyPF_GetCaseSyncClassesExt Activity rule that applies
to the Code-Pega-List class.
On the rule form header, click Save as.
On the Save As Activity form, in the
Context section, in the Add to
ruleset list, select your application ruleset.
Click Create and open.
On the Steps tab, update the list of case types that
your application publishes to Pega Process Fabric Hub:
Choices
Actions
Remove a case type
Click Add a step.
Add a loop by clicking Loop, and
then, in the Repeat section, select
For each embedded page.
Click Submit.
Add a When condition by clicking
When.
Select the Enable conditions before this
action checkbox.
In the When field, enter
.pyWorkTypeImplementationClassName==the
name of the implementation class of the case type
that you want to remove.
In the if false field, select
Skip Step.For example: A sample configuration of the
pyPF_GetCaseSyncClassesExt extension
activity
Click Submit.
In the Method field, enter
Page-Remove
In the Step page field, enter
.pxResults.
Note: Ensure that you have the
.pxResults data page and the
Embed-Application-WorkMetaData
class added to the pages and classes list on the
Pages & Classes tab of
the extension activity.
Add a case type
Click Add a step.
In the Method field, enter
Property-Set, and then click
Expand to see method
parameters.
In the PropertiesName filed, enter
Primary.pxResults(<APPEND>).pyWorkPoolName,
and then in the PropertiesValue
fields, enter the name of the work pool for the case type
that you want to add.
Click Add item.
In the PropertiesName filed, enter
Primary.pxResults(<LAST>).pyWorkTypeImplementationClassName,
and then in the PropertiesValue
fields, enter the name of the implementation class of the
case type that you want to add.
Click Add item.
In the PropertiesName filed, enter
Primary.pxResults(<LAST>).pyWorkTypeName,
and then in the PropertiesValue
fields, enter the name of the case type that you want to
add.For example: A sample configuration of the
pyPF_GetCaseSyncClassesExt extension
activity
Click Save.
Previous topic
Modification of the standard mappings published to Pega Process Fabric Hub