public class CompleteTaskWithFormCmd extends NeedsActiveTaskCmd<Void>
| Modifier and Type | Field and Description |
|---|---|
protected String |
formDefinitionId |
protected boolean |
localScope |
protected String |
outcome |
protected Map<String,Object> |
transientVariables |
protected Map<String,Object> |
variables |
taskId| Constructor and Description |
|---|
CompleteTaskWithFormCmd(String taskId,
String formDefinitionId,
String outcome,
Map<String,Object> variables) |
CompleteTaskWithFormCmd(String taskId,
String formDefinitionId,
String outcome,
Map<String,Object> variables,
boolean localScope) |
CompleteTaskWithFormCmd(String taskId,
String formDefinitionId,
String outcome,
Map<String,Object> variables,
Map<String,Object> transientVariables) |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
execute(CommandContext commandContext,
TaskEntity task)
Subclasses must implement in this method their normal command logic.
|
protected String |
getSuspendedTaskException()
Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.
|
executeprotected String formDefinitionId
protected String outcome
protected boolean localScope
public CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String,Object> variables)
public CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String,Object> variables, boolean localScope)
protected Void execute(CommandContext commandContext, TaskEntity task)
NeedsActiveTaskCmdexecute in class NeedsActiveTaskCmd<Void>protected String getSuspendedTaskException()
NeedsActiveTaskCmdgetSuspendedTaskException in class NeedsActiveTaskCmd<Void>Copyright © 2018 Flowable. All rights reserved.