Question

6
Replies
154
Views
Close popover
Karunakar Sankaramadhi (Karan S)
Cognizant

Cognizant
US
Karan S Member since 2014 3 posts
Cognizant
Posted: May 23, 2017
Last activity: June 2, 2017
Closed

Proceed flow from a dropdown selection

We have a flow that has multiple assignments. Inside each assignment, we have a custom button in a harness with a doSubmit() function that finishes the current assignment and to go the next assignment in the flow.The connector looks at the button name to go to the appropriate assignment.

However, we need to do the same from a dropdown (on-change). We are on 6.3 SP1 and I dont see an option to run a script from a dropdown on-change

Below is the custom button JS code that completes the current assignment and goes to the next assignment within a flow

<script>

function continueAccountOpen()

{

window.status=" ";

}

</script>

<button onclick="continueAccountOpen();document.getElementById('ButtonName').value='BttnCancel';doSubmit()" id='BttnCancel' class='littleButton' title="<pega:reference name='$save(MESSAGE-submit)'/>">

<span class='buttonLeft'></span>

<span class= 'buttonMiddle'>

<span class= 'buttonText' onmouseout="this.className='buttonText'" onmouseover="this.className='buttonTextHover'">Cancel</span>

</span>

<span class='buttonRight'></span>

</button>

Low-Code App Development User Experience
Moderation Team has archived post,
Close popover 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.