SO is moving from BPMN Script Tasks implemented in Groovy scripts to BPMN Service Tasks. This process started as part of 1806 Code contributed to SO during Casablanca Time-frame by AT&T.


How to execute Java from BPMN

  1. Create a Task

  2. Change the type of the Task to service task by clicking on the wrench and selecting "Service Task"


  3. Change task properties Detail:Implementation to 'Expression' and enter expression following pattern:
    '
    ${AAIQueryTasks.queryNetworkVpnBinding(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}
    '
    where AAIQueryTasks is the Java Class and queryNetworkVpnBinding is the method.





  • No labels