CreateRequest Overview

CreateRequest is used to create a brand new workflow request. This is useful and important since you must call this service to initiate a workflow. After this has been called, you can call the other workflow services to manage the request.

You must build a workflow before you use CreateRequest service. When the service is called for an existing workflow, it will take care of all the necessary initial setups in EASYProcess workflow system and begin the first status in your workflow. The service will return the workflow request Id once it is finished. You can then use this unique Id in all other workflow services.

CreateRequest Use Examples

Basic CreateHistory Use

In this example, we have a button process that calls the CreateRequest Service and initiates the workflow.

In the log, you can see CreateRequest service returns the unique workflow request Id.

In the EP_Workflow_Requests table, you will see this request. CreatedBy, CreatedOn, UpdatedBy and UpdatedOn will be populated automatically with the UserId and current date time.