Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
Hi All\!
I am trying to attached external page in task of joget process. The external page contains some  text fields and saves data into database on clicking 'Submit'
button of external page. But task is completed after save the data. so i trying to write following code in by 'saveData.jsp' where i save data into Database.
After saving the data i want to redirect page to 'formSuccess.jsp'.
But not getting success. Please tell me where i going wrong.
\--------------------\--\--Code-\------------------------------------\-
<script type="text/javascript">

&nbsp;function test(){

&nbsp;var callback = { &nbsp; &nbsp; &nbsp; &nbsp;success : function(response){	AssignmentManager.completeAssignment("http://localhost:8080/jw/web/userview/process2byS/ProcessTestbySachin", '2394_365_process2byS_process1_activity2',		'http://localhost:8080/WebJoget/formSuccess.jsp');} &nbsp;&nbsp; &nbsp;}

} &nbsp;

&nbsp;</script>

<body onload="test()"></body>