Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
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"> function test(){ var callback = { success : function(response){AssignmentManager.completeAssignment("http://localhost:8080/jw/web/userview/process2byS/ProcessTestbySachin", '2394_365_process2byS_process1_activity2', 'http://localhost:8080/WebJoget/formSuccess.jsp'); } }} </script><body onload="test()"></body> <script type="text/javascript"> function test(){ var callback = { success : function(response){ AssignmentManager.completeAssignment("http://localhost:8080/jw/web/userview/process2byS/ProcessTestbySachin", '2394_365_process2byS_process1_activity2', 'http://localhost:8080/WebJoget/formSuccess.jsp'); } } } </script> <body onload="test()"> </body> 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"> function test(){ var callback = { success : function(response){ AssignmentManager.completeAssignment("http://localhost:8080/jw/web/userview/process2byS/ProcessTestbySachin", '2394_365_process2byS_process1_activity2', 'http://localhost:8080/WebJoget/formSuccess.jsp'); } } }} </script><body onload="test()"></body> <script type="text/javascript"> function test(){ var callback = { success : function(response){ AssignmentManager.completeAssignment("http://localhost:8080/jw/web/userview/process2byS/ProcessTestbySachin", '2394_365_process2byS_process1_activity2', 'http://localhost:8080/WebJoget/formSuccess.jsp'); } } } </script> <body onload="test()"> <></body> |