Question

3
Replies
5202
Views
Close popover
Divya Sri Padarthy (divyasripadarthy)
Cognizant Technology Solutions
Senior Pega Developer
Cognizant Technology Solutions
NL
divyasripadarthy Member since 2013 13 posts
Cognizant Technology Solutions
Posted: May 9, 2016
Last activity: May 10, 2016
Closed
Solved

How to pass parameters for function in HTML

Hi Team,

I need a help in passing the parameters for function in HTML.

I have a function [with single parameter] in HTML and i need to call this function while loading the screen.

The value for the parameter will be available from property in my step page.

For that i am using,

String FlowName = tools.getStepPage().getProperty(".FlowKey").toString();

window.attachEvent("onload", doCreateNewCase(FlowName );


But this is not working. I am not getting any exception but the value is not available in function.

Please help me to solve this issue.

Thanks,

Divya Sri Padarthy.

User Experience
Moderation Team has archived post