You can download the log file for a taskflow to review it offline and troubleshoot problems, if necessary. The downloaded log file name contains the name of the taskflow, the run ID, and the organisation ID of the user who triggered the taskflow.
Note: If the taskflow name contains a space, the log file name contains a + symbol.
Downloading a taskflow log file from Monitor
You can download a taskflow log file from Monitor to review it offline and troubleshoot problems.
1In Monitor, open the All Jobs page or the Running Jobs page.
2Click the taskflow in the Instance Name column to open the corresponding taskflow details page.
3In the Results area, click the Download Log icon to download the taskflow log file.
Downloading a taskflow log file using the log resource
After you publish a taskflow as a service, you can run the taskflow and download the log file for the taskflow log file using the log resource.
You can use one of the following ways to invoke the request through a REST client such as Postman:
•Use basic authentication, and enter the user name and password.
•Use the session ID in the HTTP header to invoke the taskflow without providing the user name and password.
For example, you can authenticate the GET request in one of the following ways:
• Use basic authorization and specify the Informatica Intelligent Cloud Services user name and password.
The header of the log file contains information such as the time stamp when the file was downloaded, user ID, and the status of the taskflow at the time of downloading the log file. The body of the log file contains the following information:
Field
Type
Description
assetName
String
Name of the taskflow. The taskflow name also includes the custom name, if you had added a custom name to the taskflow using an API or the RunAJob utility.
assetType
String
Type of the object. Returns the value TASKFLOW.
duration
String
Time in seconds that the taskflow ran before it completed, was suspended, was failed, or was stopped.
endTime
Date/time
End time for the taskflow run. Uses Coordinated Universal Time (UTC).
location
String
Project and folder path where the taskflow is saved.
runId
Long
Run ID for the taskflow.
URL
String
The log resource URL generated by Data Integration. The log file will contain one URL corresponding to the taskflow and as many URLs as the subtasks within the taskflow.
runtimeEnv
String
The name of the application node where the taskflow runs.
runtimeEnvName
String
Name of the runtime environment where the taskflow runs.
startTime
Date/time
Start time for the taskflow run. Uses Coordinated Universal Time (UTC).
startedBy
String
Name of the user who first started the taskflow.
status
String
Execution status of the taskflow.
Returns one of the following values:
- RUNNING. The taskflow is running.
- SUCCESS. The taskflow completed successfully.
- FAILED. The taskflow did not complete because it encountered errors.
- SUSPENDED. The taskflow run was suspended.
subtasks
String
Number of subtasks that the taskflow contains.
updateTime
Date/time
Last time the taskflow run status was updated. Uses Coordinated Universal Time (UTC).
statusCode
String
Status code of the taskflow. The status code can be one of the following values:
- 1 - Running or CHILD_SUSPENDED
- 2 - Suspended
- 3 - Success
- 4 - Failed
- -1 - Default
errorMessage
String
Error message string.
subtaskDetails
String
Object that contains status details for all subtasks in the taskflow.
details
String
Status details. Includes status information for each subtask in the tasks object.
tasks
Collection
Status information for all subtasks that the taskflow contains.
Sample taskflow log file
The content of the log file is of octet-stream type. The following snippet shows a sample of the downloaded log file for a taskflow: