# Class: PageFlowService

## tibco.objectapi.service.PageFlowService

#### new PageFlowService()

### Methods

#### cancelPageFlow(request, callback)

Cancels a given pageflow instance.

##### Parameters:

Name | Type | Description
--- | --- | ---
`request` | tibco.objectapi.service.request.CancelPageFlowRequest | A request set with data for this service call.
`callback` | tibco.objectapi.service.Callback | A callback to handle the service response of type `CancelPageFlowResponseType`.

#### injectPageFlow(request, callback)

Injects an event into an in-progress pageflow.

##### Parameters:

Name | Type | Description
--- | --- | ---
`request` | tibco.objectapi.service.request.InjectPageFlowRequest | A request set with data for this service call.
`callback` | tibco.objectapi.service.Callback | A callback to handle the service response of type `PageResponse`.

#### listPageFlows(request, callback)

Lists all deployed pageflows.

Note - Pageflow processes that have been deployed as business services are not included in the response.

##### Parameters:

Name | Type | Description
--- | --- | ---
`request` | tibco.objectapi.service.request.ListPageFlowsRequest | A request set with data for this service call.
`callback` | tibco.objectapi.service.Callback | A callback to handle the service response of type `ListPageFlowsResponseType`.

#### startPageFlow(request, callback)

Starts an instance of a deployed pageflow.

##### Parameters:

Name | Type | Description
--- | --- | ---
`request` | tibco.objectapi.service.request.StartPageFlowRequest | A request set with data for this service call.
`callback` | tibco.objectapi.service.Callback | A callback to handle the service response of type `StartPageFlowResponseType`.

#### updatePageFlow(request, callback)

Updates a specified pageflow instance.

##### Parameters:

Name | Type | Description
--- | --- | ---
`request` | tibco.objectapi.service.request.UpdatePageFlowRequest | A request set with data for this service call.
`callback` | tibco.objectapi.service.Callback | A callback to handle the service response of type `UpdatePageFlowResponseType`.