invoke(Activity activity, FormalParameter[] formalParameters, Map actualParameters) Executes the given activity.
Parameters: activity - the activity to be executed.
Executes the given activity.
Parameters: activity - the activity to be executed. The supplied objectmust be serializable in order to support applications running asservers. Parameters: formalParameters - the formal parameter list as specified in theprocess definition. Parameters: actualParameters - the actual parameters of the applicationinvocation. The map and the objects contained in the mapmust be serializable in order to support applications running asservers. throws: CannotExecuteException - if execution is not possible. throws: RemoteException - if a temporary problem occurs and theworkflow engine should retry the tool invocation. (Usuallythrown when a deadlock situation occurs while accessing theactivity.)