Question
1
Replies
520
Views
Posted: March 14, 2018
Last activity: March 16, 2018
Closed
Change the label of Approval that displays in the Actions drop down
I have a requirement to change the label that displays for the Approval shape in the Actions dropdown menu. Our customer is wanting the parent case Approval shape's label to show up as "Final Approval." I've read that this can be accomplished by altering the .pyLabel in a Data Transform, however I do not want to alter the label of the Approval shapes in the child cases.
Any help would be greatly appreciated.
I am running Pega 7.3.0.
I think the flow actions you are describing are sourced from .pyFlowActionsList or .pyLocalActionsList
And your issue is that if you blindly go after .pyLabel when .pyLabel == "Approval" it will change both your parent and child actions.
Just thinking out loud here, but what if you try conditionalizing your data transform (or other manipulating mechanism you are using), to only fire for this "parent" action based on some other identifying property that his hopefully part of the embedded page for .pyFlowActionsList or .pyLocalActionsList.