Section not visible after upgrading Flow action
Flow action is not rendering the section after upgrade in Pega 7.1.8.
Everything works fine if the user uses the non-upgraded flow action, after upgrading the flow action, included (which Pega itself has created in process of upgrading the flow action) section is not visible in run time.
Nothing is displayed.
Steps to Reproduce
1. Upgrade any flow action from PRPC 5.4 version to Pega 7.1.8 where the first layout consists of a visible when condition.
2. Try to open that particular flow action in Perform harness.
Post upgrade sections are not visible. When condition on one of the layouts is getting applied to all the layouts in the section.
After performing the below local-change the issue is resolved:
1. Save the available out-of-the-box (OOTB) extension point activity @baseclass.PreSave, into the class Rule-Obj-FlowAction in your application ruleset.
2. Update the newly created Rule-Obj-FlowAction.PreSave activity to include two steps:
Step 1: A Property Set step which sets .pySections(1).pyContainerVisibleWhen and .pySections(1).pySectionBody(1).pyDisplayWhen equal to "".
Step 2: A Property Set step which sets .pySections(1).pySectionBody(1).pyInclude equal to .pyStreamName, with a When condition that skips the step when @(Pega-RULES:String).length(.pySections(1).pySectionBody(1).pyInclude) >0
Refer to the below link:
0% found this useful