Scenario: We have an existing Pega search functionality where in on clicking search, the results would be displayed by using any of the parameters (last name, phone number). Now we need to get the same functionality in another section which is of different class. For this, I have added a button on which an action set is added to launch the local action. I have added pyworkpage in pages and classes and in the local action, selected the target as modal dialog and then selected the flow action which calls the section which implements the search functionality. Now I am able to view the screen upon clicking the button but I am unable to fetch any results.
Note: In the existing functionality, searching is being done by giving the source for grid layout as a datapage and the parameters are passed.
Issue: If I give last name as 'pega', it is being set to pyworkpage.lastname which is being passed as a parameter to datapage but still the results are not showing up. But, if we try to fetch the results for Pega using the normal search section, we are able to get the results.
Please do help me to resolve this issue.
***Updated by moderator: Lochan to branch and new create post***