Re-run a Pipeline

You can re-run a Pipeline that was previously executed, irrespective of the previous execution state.

To Re-Run a Pipeline using User Interface
  1. From the Process Monitor window, click the More Options sub-menu icon corresponding to the Pipeline you want to re-run and click Re-Run.
Invoke PMF Workflow Functions using API

This section details you to invoke PMF RESTful APIs (from external systems) that are packaged in the OFSAA Applications

Prerequisites:

You must get the bearer token before invoking any PMF function using an API. For more details on how to get the bearer token, see Instance Access Token section of OFS Analytical Applications Infrastructure User Guide.

Authorization:

The following table lists the Authorization details.

Table 5-1 Authorization details

Type Required Value
BearerToken Yes Bearer token generated value as a prerequisite

Execute Pipeline

End Point Details:

  • Method – POST
  • REST Endpoint - rest-api/v1/PMFService/rerunprocess

Table 5-2 Request Headers

Name Type Required Value
Content-Type String Yes application/json
ofs_remote_user String Yes Login ID of the user

Request JSON Parameters:

Table 5-3 Request Body

Name Type Description
processInstanceId STRING

Instance ID of the Process being resumed.

For Example: “PMFINV024_2743749b-32c6-4cc5-b58b-dda49c3d1f4d”

Locale STRING

Locale selected.

For Example: ‘en_US

infodom STRING

Information Domain Name.

For Example: “OFSA829INF3”

Request JSON Sample:

/rest-api/v1/PMFService/rerunprocess

{

"processInstanceId": "PMFINV024_2743749b-32c6-4cc5-b58b-dda49c3d1f4d",

"locale": "en_US",

"infodom": "OFSA829INF3"

Response JSON Parameters:

This section provides the list of parameters in the JSON Response.

Table 5-4 Query Parameters

Name Type Description
processInstanceId STRING Instance ID of the Process being Rerun.
message STRING It indicates the process message description.
status STRING Status of the process execution.

Response JSON Sample:

{

"message": "Process has been Rerun",

"status": true

}