Administrator
- Administrator
- All Products
/api/v2/activity/activityMonitor?details=<true|false>
Field
| Type
| Description
|
---|---|---|
id
| String
| Log entry ID.
|
type
| String
| The type of task. Returns one of the following codes:
|
taskId
| String
| Task ID.
|
taskName
| String
| Task name.
|
objectName
| String
| Source object used in the task, or the replication object being processed.
|
runId
| Long
| ID for the task run.
|
startTime
| Date/time
| Start time for the task or linear taskflow. Uses Eastern Time Zone (ET).
|
endTime
| Date/time
| End time for the task or linear taskflow. Uses Eastern Time Zone (ET).
|
executionState
| String
| State of the task. Returns one of the following codes:
FAILED can be returned for linear taskflow subtasks only.
|
failedSourceRows
| Long
| Number of rows that were not read from the source.
|
successSourceRows
| Long
| Number of rows that were successfully read from the source.
|
failedTargetRows
| Long
| Number of rows that were not written to the target.
|
successTargetRows
| Long
| Number of rows that were successfully written to the target.
|
errorMsg
| String
| Error message associated with the job.
|
entries
| Indicates the start of information for a child object. A child object might be a task within a linear taskflow, or an object in a replication task.
| |
agentId
| String
| Agent used for the activity.
|
runtimeEnvironmentId
| String
| Runtime environment used for the activity.
|
startedBy
| String
| User who started the task.
|
runContextType
| String
| Method through which the task was initiated. Includes the following values:
|
scheduleName
| String
| Schedule name, if task was initiated by a schedule.
|
callbackURL
| String
| Status of the job.
|
GET <serverUrl>/api/v2/activity/activityMonitor?details=true Content-Type: application/xml Accept: application/xml icSessionId: <icSessionId>
<root> <activityMonitorEntry> <id>000001C100000000000D</id> <type>DSS</type> <objectName>dss-f2f</objectName> <runId>0</runId> <startTime>2012-07-30T13:30:00.000Z</startTime> <endTime></endTime> <executionState>RUNNING</executionState> <failedSourceRows>0</failedSourceRows> <successSourcerows>938</successSourceRows> <failedTargetRows>0</failedTargetRows> <successTargetRows>596</successTargetRows> <errorMsg> </errorMsg> <entries> </entries> <agentId>00000C08000000000003</agentId> <runtimeEnvironmentId>00000C25000000000002</runtimeEnvironmentId> </activityMonitorEntry> <activityMonitorEntry> <id>000001C500000000000L</id> <type>PCS</type> <objectName>pcs-lookup</objectName> <runId>2</runId> <startTime>2012-07-30T13:30:03.001Z</startTime> <endTime>2012-07-30T13:30:03.010Z</endTime> <executionState>COMPLETE</executionState> <failedSourceRows>0</failedSourceRows> <successSourcerows>688</successSourceRows> <failedTargetRows>0</failedTargetRows> <successTargetRows>688</successTargetRows> <errorMsg> </errorMsg> <entries> </entries> <agentId>00000C08000000000003</agentId> <runtimeEnvironmentId>00000C25000000000002</runtimeEnvironmentId> </activityMonitorEntry> </root>
when using activityLog, the JSON file returns a start and end time. Does this start and end time take into account the time the job has waited in queue? If so, how do we mitigate that to obtain the mist accurate job start and end time possible?
Hi Minh Vu. Thanks for your question! We're checking with our development team and will get back to you shortly.