Top
Top
LibraryEASYProcess Reference ManualProcessesServicesWorkflowWorkshopExecuteWorkflow

ExecuteWorkflow Overview

ExecuteWorkflow is used to move the workflow request to the next status. This is useful and important since this is the only way to make the workflow move forward unless you set the workflow status to run automatically.

Each workflow status has three processes - StatusArrival, CompleteStatus and StatusExit. StatusArrival and StatusExit run automatically once the workflow request reaches and exists this status. However, CompleteStatus only runs when ExecuteWorkflow is called.

ExecuteWorkflow service is generally used in button processes, stand alone processes deployed as scheduled tasks or workflow StatusArrival processes.

If you have any question about EASYProcess workflow, please refer to the Workflow document for further explanation.


ExecuteWorkflow Use Examples
Workshop:WorkflowWorkshop
Service:ExecuteWorkflow
Inputs
WorkflowRequestIdRequired. This is the unique Id for the workflow request you want to execute.

ActionOptional. You can read this value as an input in CompleteStatus process to decide what is the next status. For example, Approve or Reject.

CommentOptional. You can read this value as an input in CompleteStatus process for your request audit.

OwnerOnlyExecuteOptional. If the value is True, only the person who is the owner can execute the workflow.

ExecuteWorkflow Use Example

Basic ExecuteWorkflow Use

In this example we call the ExecuteWorkflow service in a workflow process. Since in the workflow, the unique request Id is pre-populated for you, you only need to enter Action and Comment input if necessary.

In the log, you will see the service returns a Request container. Inside, you can get the current status and owner information of this request.

If you use this service in a button process, you will need to specify the inputs. The following is a sample input.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).