---
title: "ProcessActivityLogs.update"
method: PATCH
path: "/entities/ProcessActivityLogs/{id}"
tags: ["Process"]
---

# ProcessActivityLogs.update

`PATCH /entities/ProcessActivityLogs/{id}`

Modifies ProcessActivityLog or ProcessActivityLogs with given id(s)

## Path parameters

- `id` string, uuid, required

## Query parameters

- `validation-level` integer

## Request body

- UpdateProcessActivityLogInput
  - `actor_id` string, uuid — Id of the actor.
  - `application_id` string, uuid — Id of the application.
  - `cpu_run_time` number, double — Total CPU time consumed by the run, in seconds.
  - `end_time` string, date-time — Timestamp the run finished. Empty while the run is still in progress (e.g. waiting on scheduled actions).
  - `is_test_run` boolean — True when the run was triggered as a test (results are not persisted to records).
  - `parent_process_ids` object — Ids of parent processes that triggered this run, ordered from outermost to innermost. Empty for top-level runs.
  - `process_id` string, uuid — Id of the process.
  - `run_id` string, uuid — Identifier grouping all activity logs that share the same root process run, including chained sub-process runs.
  - `start_time` string, date-time — Timestamp the run started.
  - `status` 1 | 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

## Response `200`

Modification confirmation. Returns resulting ProcessActivityLog

- object
  - `success` boolean — True when response succeeded, false on error.
  - `data` ProcessActivityLog
    - `is_delete_protected` boolean, required — Tells if the entity instance is protected against delete (Entities that need to be present in the system at any time). Delete action still may fail if entity is deletable, due some other additional validations.
    - `id` string, uuid, required — Unique identifier of entity.
    - `is_deleted` boolean — Specifies if the entity is considered deleted.
    - `modified` string, date-time — Last modification time.
    - `created` string, date-time — Creation time.
    - `actor` string, uri — User who triggered the run, or empty for runs triggered by automation. Relation to Client. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'Client' object for properties.
    - `application` string, uri, required — Application context the run was triggered in. Relation to Application. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'Application' object for properties.
    - `process` string, uri, required — Process whose execution this log records. Relation to Process. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'Process' object for properties.
    - `actor_id` string, uuid — Id of the actor.
    - `application_id` string, uuid, required — Id of the application.
    - `cpu_run_time` number, double — Total CPU time consumed by the run, in seconds.
    - `end_time` string, date-time — Timestamp the run finished. Empty while the run is still in progress (e.g. waiting on scheduled actions).
    - `is_test_run` boolean — True when the run was triggered as a test (results are not persisted to records).
    - `parent_process_ids` object — Ids of parent processes that triggered this run, ordered from outermost to innermost. Empty for top-level runs.
    - `process_id` string, uuid, required — Id of the process.
    - `run_id` string, uuid — Identifier grouping all activity logs that share the same root process run, including chained sub-process runs.
    - `start_time` string, date-time, required — Timestamp the run started.
    - `status` 1 | 2 | 3 | 4 | 5, required — Field whose values are strictly defined with an enumeration of values. Integer enum value: 1 - Ok, 2 - Warning, 3 - Error, 4 - Scheduled, 5 - Expired
    - `lines` string[] — Activity log lines describing each step taken in this run (visible only).
    - `record_name` string — Name of the trigger record (extracted from the first log line) for display in activity log lists.

## Other responses

- `404` — Sent when invalid ID is given
- `500` — unexpected error

---

[API](https://skmtc.net/aws/apis/pipeliner-cloud-api.md) · [All operations](https://skmtc.net/aws/apis/pipeliner-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/pipeliner-cloud-api/versions/e8c12ae60aca/schema)
