# Class: SaveTerminatedProcessInstancesRequestAlt2

## tibco.objectapi.service.request.SaveTerminatedProcessInstancesRequestAlt2

#### new SaveTerminatedProcessInstancesRequestAlt2(process, module, willSave)

Object SaveTerminatedProcessInstancesRequestAlt2 Usage: `RestApiService.getProcessManagementService().saveTerminatedProcessInstances(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`process` | string | Name of the process template.
`module` | string | Name of the module to which the process published as a REST service belongs.
`willSave` | boolean | Indicates whether terminated process instances should be saved.

Since:
  - 4.0.0

### Members

#### duration :string

Query parameter: 'duration' The duration for which the terminated process will be saved.

##### Type:

- string

Since:
  - 4.0.0

#### version :string

Query parameter: 'version' Version of the process template.

##### Type:

- string

Since:
  - 4.0.0