JBoss Community

Define on entry/on exit scripts in custom work definition

created by Joshua Junqueira in jBPM - View the full discussion

Is it possible to defin on entry and on exit scripts in my work definitions file(.wid)? For example :

 

 

// Read file

  [

    "name" : "readFile",

    "parameters" : [

      "filename" : new StringDataType(),

    ],

    "displayName" : "Read file"

    "onEntryScript" : "System.out.println("On entry script executed!");"

  ]

 

 

Reply to this message by going to Community

Start a new discussion in jBPM at Community