Question

2
Replies
25
Views
Close popover
Yeun-Ho Chung (Yeun-HoC)
Capgemini

Capgemini
FR
Yeun-HoC Member since 2018 6 posts
Capgemini
Posted: November 30, 2020
Last activity: November 30, 2020
Solved

custom HTML in Section : how to resume flow action

Hello,

I have created a custom html that have a link.

when i click to the link, i want finish the task so  that the user can have the next section of the flow process.

i try theses solutions but it's not working.

 

use a script :

<script>

function test{

var option = {

name:"ResumeFlow",parameters:[{name:"flowAction",value: "page2", isProperty: true},{name:"flowName", value:"Page3",isProperty:true}],contextPage:"",event:"click"

};

page.api.ui.actions.runActivity(options);

};

</script>

<a href="test()">click me</a>

use JavaPage : 

<a ref="<pega:url value='pyActivityName=myactivityClassAndName'></pega:url>">click me</a>

 

Can you tell me if i miss something in the process ? or do you have a better solution ?

 

best regards.

Yeun-Ho Chung

 

Pega Marketing 8.2 User Experience