To execute a Javascript API in Custom HTML in a Form

Confluence User - 15 Sep, 2022

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

forms

2


15 Sep, 2022
confluenceUser
confluenceUser

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.

15 Sep, 2022
confluenceUser
confluenceUser

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

Thanks, Bill

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print