Question
1
Replies
93
Views
Posted: October 17, 2019
Last activity: October 17, 2019
Closed
CreateOperator Activity in 8.X - How to implement?
I am looking at this community article:
https://community1.pega.com/community/pega-support/question/creating-operator-id-dynamically
And when I try to implement this as a Utility Step, well, it just cannot seem to find it, so when I save it as a local instance of the Activity to my Case, it gets a lot of reference errors. A fairly exhaustive search on Community has not shown me how to utilize it so I am asking for help here on it please.
CreateOperator is flagged as an "Activity" in the Security tab, not as a "Utility".
This Activity is meant to be called from a Portal, not from a case, as evidenced by the CreateInstance Activity setting its Commit parameter to "true", plus the two "Show-Property" steps at the bottom.
You could Save-As this Activity then use it as a starting point for use in a flow. Begin by classifying it as a "Utility" in the Security tab. Do not Commit -- let the flow manage that. Do not use Show-Property.
I would think you could call a Rule-Obj-Function, creating one if necessary, to replace the java step.