Posted: 14 Mar 2018 13:31 EDT Last activity: 16 Mar 2018 15:22 EDT
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.
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.