public interface DslExpression<Level>
WorkflowDefinition| Modifier and Type | Method and Description |
|---|---|
Level |
call(int id,
String beanName,
String methodName,
Object... arguments)
Synchronous bean method call.
|
Level |
callAsync(int id,
String beanName,
String methodName,
Object... arguments)
Asynchronous bean method call.
|
DslAttribute<Level> |
humanTask(int id,
String roleName,
String assignee)
Create a human task for given role/assignee.
|
Level |
waitSignal(int id,
String type)
Wait until a signal matching the given type is received.
|
Level call(int id, String beanName, String methodName, Object... arguments)
variable/variables node to save the returned object.id - node idbeanName - bean name (from Spring application context)methodName - method name to callarguments - method arguments (any java object or "${EL_EXPRESSION}")Level callAsync(int id, String beanName, String methodName, Object... arguments)
variable/variables node to save the returned object.
### WAIT STATE ###
id - node idbeanName - bean name (from Spring application context)methodName - method name to callarguments - method arguments (any java object or "${EL_EXPRESSION}")DslAttribute<Level> humanTask(int id, String roleName, String assignee)
variable/variables node to save the returned object.
Arguments may be provided by a a withArgument call.
NB! It's mandatory to fill either the roleName or assignee or both fields!
### WAIT STATE ###
id - node idroleName - assign to a roleassignee - assign to a personCopyright © 2017. All rights reserved.