Support Article

Flow action pre-activity is not getting called while Refresh

SA-28198

Summary



There is a property AssignmentName created by a pre-DT of the flow-action which is called and appears in the pyworkpage in clipboard.

When the screen is refreshed, the AssignmentName property is gone. That is, the pre-DT of the flow-action is not executed by the Refresh.


Error Messages



Not Applicable


Steps to Reproduce



1. Create a new case. One should see a screen which asks you to select a radio button Mail or Post.
2. Go to the clipboard and look at pyWorkPage. There is a property called AssignmentName and it should have the value EmailOrPost.

This property is created by a pre-DT of the flow-action.
3. Go back to the case, click Other Action at the upper right hand and select Refresh.

The screen is refreshed. But when user clicks Clipboard again, observe that the AssignmentName property is gone.

​So the pre-DT of the flow-action is not executed by the Refresh.


Root Cause



A defect in Pegasystems’ code or rules.

Resolution



In HFix-28843, where, when user clicks refresh, RefreshOnConflicts activity is called which calls ProcessAssignment activity.

ProcessAssignment takes 'PerformPreProcessing' as parameter to decide to call preprocessing or not.

One must pass PerformPreProcessing parameter as true to ProcessAssignment to fix the issue .

Resolution on Reopen: Apply 
HFix-27095, Along with the hotfix, User has to apply a local change. 

User is still using deprecated menus. This is the reason why refresh harness is not working for them.

User must Upgrade 'Show Menu'. 

Navigation for Upgrading show menus : Designer Studio Menu > User Interface > HTML5 Application Readiness Landing Page > UI Elements
Tab > Click on "Upgrade 'Show Menu'" button.
 

Published September 20, 2016 - Updated September 22, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.