### WorkflowInvoker Custom Control

The WorkflowInvoker custom control enables the portal to invoke a business process.

The WorkflowInvoker custom control is employed by the PlaceOrder action defined in the Order portlet page flow, as described in Order Portlet.

The WorkflowInvoker custom control and related files are stored in the WorkflowInvoker folder in the e2ePortal application, as shown in the following figure.

Files for the WorkflowInvoker Custom Control

The following table describes the contents of the WorkflowInvoker folder.

WorkflowInvoker Custom Control File Descriptions

File | Description
--- | ---
OrderRequisitionControlWSContract.wsdl | Web Service Definition Language (WSDL) file describing the methods and callbacks that the OrderRequisitionControlWS.jws web service implements, including method names, parameters, and return types. The OrderRequisitionControlWS.jws web service is defined in the e2eWorkflow application, as described in Reviewing the Office Equipment Order Management System.
OrderRequisitionWebServices.jcx | Process control that starts the Order Requisition business process through the OrderRequisitionControlWS.jws file. The OrderRequisitionControlWS.jws web service is defined in the e2eWorkflow application, as described in Reviewing the Office Equipment Order Management System.
WorkflowInvokerImpl.jcs | Defines the implementation code for the custom control. The invokeWorkflow() method calls the clientRequest() method defined by the OrderRequisitionControlWS.jws web service to invoke the Order Requisition workflow, defined in Order Requisition Business Process.
WorkflowInvoker.java | Defines the public interface for the custom control. This file is automatically generated by WebLogic Workshop.