v1

latestOpenAPI 3.1.02026-08-061,5107704.5 MB
Process

ProcessActivityLogs.update

Modifies ProcessActivityLog or ProcessActivityLogs with given id(s)

patch/entities/ProcessActivityLogs/{id}

Path parameters

idstring uuid required

ID of ProcessActivityLog to update

Query parameters

validation-levelinteger

Specify validation level of ProcessActivityLog on update. Use them as bit mask: 0 - validate each field on entity, 2 - validate only changed fields, 4 - validate only system fields, 8 - allows to override readonly fields, 16 - allows to set entity on deleted relationship.

Request body

actor_idstring uuid

Id of the actor.

application_idstring uuid

Id of the application.

cpu_run_timenumber double

Total CPU time consumed by the run, in seconds.

end_timestring date-time

Timestamp the run finished. Empty while the run is still in progress (e.g. waiting on scheduled actions).

is_test_runboolean

True when the run was triggered as a test (results are not persisted to records).

parent_process_idsobject

Ids of parent processes that triggered this run, ordered from outermost to innermost. Empty for top-level runs.

process_idstring uuid

Id of the process.

run_idstring uuid

Identifier grouping all activity logs that share the same root process run, including chained sub-process runs.

start_timestring date-time

Timestamp the run started.

status1 | 2 | 3 | 4 | 5

Field whose values are strictly defined with an enumeration of values.

Integer enum value: 1 - Ok, 2 - Warning, 3 - Error, 4 - Scheduled, 5 - Expired

Example request

{
  "actor_id": "01234567-abcd-dcba-ffff-000000000000",
  "application_id": "01234567-abcd-dcba-ffff-000000000000",
  "end_time": "2019-01-01T00:00:00",
  "process_id": "01234567-abcd-dcba-ffff-000000000000",
  "run_id": "01234567-abcd-dcba-ffff-000000000000",
  "start_time": "2019-01-01T00:00:00",
  "status": 1
}

Response

Modification confirmation. Returns resulting ProcessActivityLog

successboolean

True when response succeeded, false on error.

Example response

{
  "success": true,
  "data": {
    "id": "01234567-abcd-dcba-ffff-000000000000",
    "modified": "2019-01-01T00:00:00",
    "created": "2019-01-01T00:00:00",
    "actor_id": "01234567-abcd-dcba-ffff-000000000000",
    "application_id": "01234567-abcd-dcba-ffff-000000000000",
    "end_time": "2019-01-01T00:00:00",
    "process_id": "01234567-abcd-dcba-ffff-000000000000",
    "run_id": "01234567-abcd-dcba-ffff-000000000000",
    "start_time": "2019-01-01T00:00:00",
    "status": 1,
    "record_name": "string"
  }
}