1
0
-1

To execute a Javascript API in Custom HTML in a Form do I need anything more than this? It does not seem to work.

<script>
AssignmentManager.completeAssignment('http://xxx.xxx.xxx.xxx:8080/jw', '#process.activityInst.completeAndRedirectToLogin.instanceId#', 'http://xxxxx.org/index.php/xxxxx.login');
</script>

Thanks!

Bill

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      any errors in the browser developer tool > console log? 
      Is the form within a process? because workflow process hash variable only works if it's within a process. That means if you submit the form in a CRUD, that hash variable won't work.

      1. William Vasu

        Also, in this case this Custom HTML is the only item in the page. It is a Form within a process.

        Thanks, Bill

      CommentAdd your comment...