| ▪ | The Java Script gate allows you to create a Gate that appears in the workflow |
| ▪ | This Gate will appear with a different icon to normal task Gates |
| ▪ | Then assigning an ‘On Click Java Script’ rule that Gate can respond to a Java Script event when the gate becomes available to an End User |
| ▪ | For example: If you place a Java Script Gate in the Workflow where MyID is the name of the primary key and assign it the following 'On Click Javascript' rule: onMouseDown="if (window.open) {Console=window.open('MyPage.asp?myID=@@Session.MYID&x_coordinate=3&y_coordinate=1',this.target,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=575,height=600'); return false;} else { return true;}" |
| ▪ | When the user mouses down on the Java Script Gate icon (assuming that they have reached this stage in the workflow) then a new browser window will appear with dimensions 575 x 600 |
| ▪ | The browser window will not allow for any navigation and it will show the page MyPage.asp with the query string MyID=99&x_coordinate=3&y_coordinate=1 when 99 is the primary key for this workflow instance
|
|