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