Standard Workflow Handler
Method / Usage |
Description |
Expected Args |
Object getProperty(WorkflowContext wfc) |
Returns value of the named system property. |
name* |
public Object isProperty(WorkflowContext wfc) |
Returns true if the named system property has a value. |
name* |
public Object getMessage(WorkflowContext wfc) |
Returns localized message for use in task results |
|
public Object addMessage(WorkflowContext wfc) |
Adds message to the workflow case. |
|
public Object addLaunchMessage(WorkflowContext wfc) |
Adds message to workflow case that is displayed in the user interface. Not kept in task result. For example, Request was submitted. |
|
public Object setLaunchMessage(WorkflowContext wfc) |
Replaces previously added launch message with a new message based on new state. |
|
public Object log(WorkflowContext wfc) |
Sends something to log4j. |
|
public Object print(WorkflowContext wfc) |
Prints text to the console. |
message* |
public Object audit(WorkflowContext wfc) |
Creates an audit event. Enables workflows to put custom entries in audit log, which displays in the user interface. |
|
public Object sendEmail(WorkflowContext wfc) |
Sends an email message. |
|
public Object launchTask(WorkflowContext wfc) |
Launches a defined task. |
|
public Object scheduleRequest(WorkflowContext wfc) |
Launches a generic event request. |
|
public Object scheduleWorkflowEvent(WorkflowContext wfc) |
Launches a workflow event request. |
|
public Object commit(WorkflowContext wfc) |
Commits a transaction. Not commonly needed in workflows. Most commonly used for role approvals. |
|
public Object rollback(WorkflowContext wfc) |
Rolls back a transaction. Not commonly needed in workflows. Most commonly used for role approvals. |
none |