Question

1
Replies
443
Views
Apoorva Matolli (ApoorvaMatolli)
Marsh

Marsh
US
ApoorvaMatolli Member since 2014 14 posts
Marsh
Posted: January 14, 2016
Last activity: January 14, 2016
Posted: 14 Jan 2016 16:21 EST
Last activity: 14 Jan 2016 16:56 EST
Closed

Submitting the parent window (screen flow) to move to the next screen

Hi,

I have a scenario where I launch a URL in a new window. On submitting the new window launched, I am trying to submit the parent window ( which is a screen flow) so that it goes to the next screen.

I am trying to achieve it through the following -

window.opener.document.actionForm.submit();

The above line of code works for a process flow. On analysis I found that the form tag for the process flow and screen flow are different -

Process flow:

<<URL>>/ptasbxweb/PTAExt/4ZGaV3vsmuCjQxwcMAfFboFZYld3iUWy*/!STANDARD?pyActivity=FinishAssignment&pzPrimaryPageName=pyWorkPage&pzTransactionId=054078add3cc5f0e5f75bf5384422f82&pzFromFrame=pyWorkPage&pzHarnessID=HID7DE519D8C38A542480192E35EE081158

Screenflow:

<<URL>>/PTACFA/rGolvpphm2ZcwxTrGeic6w%5B%5B*/!STANDARD?pyActivity=Show-Harness&pzPrimaryPageName=pyWorkPage&pzTransactionId=103ffeac2d69ff45d197657643f99ee1&pzFromFrame=pyWorkPage

I checked the button code of continue for the screen flow which is as follows -

<button title="Go to the next screen" class="pzhc" type="button" data-click="[["setUserStart",["FINISHASSIGNMENT"]],["doFormSubmit",["pyActivity=FinishAssignment",":this","Submitting...",":event"]]]" data-ctl="">

Do I need to include something like the above line of code for me to submit my parent window (from the new window) to go to the next screen?

Pega Customer Service Case Management User Experience Low-Code App Development
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.