Question

3
Replies
266
Views
Close popover
Pravathi Abburi (Pravathi)
Instellars
Consulent
Instellars
IN
Pravathi Member since 2013 2 posts
Instellars
Posted: October 28, 2016
Last activity: November 8, 2016
Closed
Solved

Issue while doing openAssignment from HTML

In HTML code on click of a button we are calling activity, in activity we have first step to call the flow, in next step copying the  value of ‘pxAssignmentKey’ into ‘pyWorkPage.openAssignKey’. But activity is not executing completely before calling the openAssignment as below.

HTML Code:

<button onclick="Sample();" class='tButton' title='SampleButton' id="sButton" name="button">

function Sample (){

doFormSubmit(pxReqURI + '?pyActivity=Test-Work.SampleProcess');

var openAssignKey = "<pega:reference name="pyWorkPage.openAssignKey "/>";

openAssignment(openAssignKey);

}

Data Integration Java and Activities
Moderation Team has archived post