How do you embed Java code in your JPDL ?
You can use a BeanShell expression to add a Java script in your JPDL process definition, you can use the <script> tag
ex:
<process-definition>
<event type="node-enter">
<script>
System.out.println("Entered node"+node);
</script>
</event>
...
</process-definition>
You can use in your script all process variables created plus the following process variables :
- executionContext
- token
- node
- task
- taskInstance

