sarjera...@flowian.com
unread,Apr 15, 2015, 1:21:27 AM4/15/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to suppor...@runmyprocess.com
Hello Team,
I have following JS script,
-------------------------------------------
function call1()
{
//statements;
}
function load_item_ko(result)
{
alert("ko "+JSON.stringify(result));
}
function load_item_ok(result)
{
alert("result ok "+JSON.stringify(result));
}
statement1;
test_collection.aggregateCallback(my_pipelines, {}, load_item_ok, load_item_ko);
call1();
statement3;
----------------------------------------------
Now the problem is, When I execute the script the flow of script execution is as below
statement1---> function call1()---> statement3-->load_item_ok/load_item_ko(depending on the result)
But what I expect is
statement1--->load_item_ok/load_item_ko(depending on the result)--> function call1()---> statement3
Please suggest the solution for the above problem.
Thank you.
Regards,
Sarjerao