GraphQLRepositoriesprocessActivityLogLine
entities.processActivityLogLine
Read process activity log line records with the processActivityLogLine repository, and change them with the process activity log line mutations. Same records as the REST ProcessActivityLogLines entity.
Queries
Fields of entities { processActivityLogLine { … } }.
| Kind | Field | Returns |
|---|---|---|
| QUERY | getById(entityId: ID!)Returns the record with the given id, or null when there is none. Deleted records are returned as well. | ProcessActivityLogLineEntity |
| QUERY | getByIds(entityIds: [ID!]!)Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well. | [ProcessActivityLogLineEntity!]! |
| QUERY | getAll(limit: Int, offset: Int, filter: ProcessActivityLogLineFilterInput, orderBy: [ProcessActivityLogLineOrderByInput!], includeDeleted: Boolean)Returns the records that match the filter, paged with limit and offset. | [ProcessActivityLogLineEntity!]! |
| QUERY | getByCriteria(filter: ProcessActivityLogLineFilterInput, orderBy: [ProcessActivityLogLineOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)Returns the records that match the filter as a cursor-paginated connection. | ProcessActivityLogLineEntityConnection |
| QUERY | getChangedFieldsSinceRevision(id: UUID!, revision: Int!)Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking. | [UUID!]! |
Mutations
| Kind | Mutation | Does | Returns |
|---|---|---|---|
| MUTATION | createProcessActivityLogLine(input: CreateProcessActivityLogLineInput!, validationLevel: [ValidationLevel!]) | Create one record | CreateProcessActivityLogLinePayload |
| MUTATION | updateProcessActivityLogLine(input: UpdateProcessActivityLogLineInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String) | Update fields | UpdateProcessActivityLogLinePayload |
| MUTATION | bulkUpdateProcessActivityLogLine(input: [CreateOrUpdateProcessActivityLogLineInput!]!, deleteInput: [DeleteProcessActivityLogLineInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput) | Create or update many; per-item results | BulkUpdateProcessActivityLogLinePayload |
| MUTATION | deleteProcessActivityLogLine(input: DeleteProcessActivityLogLineInput!) | Soft-delete | DeleteProcessActivityLogLinePayload |
Types
The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.
ProcessActivityLogLineEntity object 13 fields: formattedText, isDeleteProtected, id, …
One step logged in a run of an Automatizer process.
| Field | Type | Description |
|---|---|---|
formattedText | String! | Human-readable rendering of the log line, prefixed with the line's timestamp and (when applicable) the parent record id. |
isDeleteProtected | Boolean! | True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only. |
id | ID! | Unique identifier of entity. |
isDeleted | Boolean | Specifies if the entity is considered deleted. |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
processActivityLog | ProcessActivityLogEntity | Activity log run this line belongs to. |
executedAt | DateTime | Timestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run. |
isVisible | Boolean | True when the line is shown in the activity log UI; false for internal-only lines. |
processActivityLogId | ID! | Id of the process run (activity log) this line belongs to. |
sortOrder | Int! | Position of the line within its log run. |
status | ProcessStatusEnum | Result of the process step recorded by this line, such as Ok, Warning (for example a scheduled action that was canceled) or Error. |
instancePermissions | [EntityPermsEnum!]! (1 args) | Permissions the current user has on this record, out of the requested ones. |
ProcessActivityLogLineEntityConnection object pageInfo: PageInfo!, edges: [ProcessActivityLogLineEntityEdge]!, totalCount: Int
Paginated list of ProcessActivityLogLine records.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [ProcessActivityLogLineEntityEdge]! | Contains the nodes in this connection. |
totalCount | Int | Total number of items in the connection. |
ProcessActivityLogLineEntityEdge object node: ProcessActivityLogLineEntity, cursor: String!
A Relay edge containing a ProcessActivityLogLineEntity and its cursor.
| Field | Type | Description |
|---|---|---|
node | ProcessActivityLogLineEntity | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
ProcessActivityLogLineFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field
Filter conditions for ProcessActivityLogLine records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
| Input field | Type | Description |
|---|---|---|
OR | [ProcessActivityLogLineFilterInput!] | Matches records that meet at least one of the listed filters. |
AND | [ProcessActivityLogLineFilterInput!] | Matches records that meet all of the listed filters. |
NOT | ProcessActivityLogLineFilterInput | Matches records that do not meet this filter. |
globalSearchQuery | String | Search term matched against the fields that the global search covers for this entity. |
id | EntityFilterStringField | Unique identifier of entity. |
isDeleted | Boolean | Specifies if the entity is considered deleted. |
modified | EntityFilterDateTimeField | Last modification time. |
created | EntityFilterDateTimeField | Creation time. |
executedAt | EntityFilterDateTimeField | Timestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run. |
isVisible | Boolean | True when the line is shown in the activity log UI; false for internal-only lines. |
processActivityLogId | EntityFilterStringField | Id of the process run (activity log) this line belongs to. |
sortOrder | EntityFilterNumberField | Position of the line within its log run. |
status | ProcessStatusEnumFilterInput | Result of the process step recorded by this line, such as Ok, Warning (for example a scheduled action that was canceled) or Error. |
processActivityLog | ProcessActivityLogFilterInput | Activity log run this line belongs to. Matches records where a related record meets these conditions. |
ProcessActivityLogLineOrderByInput input Asc or Desc per field
Sorting of ProcessActivityLogLine records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.
| Input field | Type | Description |
|---|---|---|
id | OrderByEnum | Unique identifier of entity. |
isDeleted | OrderByEnum | Specifies if the entity is considered deleted. |
modified | OrderByEnum | Last modification time. |
created | OrderByEnum | Creation time. |
processActivityLog | [ProcessActivityLogOrderByNestedInput!] | Activity log run this line belongs to. Sorts by fields of the related record, listed in order of priority. |
executedAt | OrderByEnum | Timestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run. |
isVisible | OrderByEnum | True when the line is shown in the activity log UI; false for internal-only lines. |
processActivityLogId | OrderByEnum | Id of the process run (activity log) this line belongs to. |
sortOrder | OrderByEnum | Position of the line within its log run. |
status | OrderByEnum | Result of the process step recorded by this line, such as Ok, Warning (for example a scheduled action that was canceled) or Error. |
CreateOrUpdateProcessActivityLogLineInput input 9 fields: clientMutationId, id, modified, …
Field values of a ProcessActivityLogLine record to create, or to update when its id is set.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
id | ID | Unique identifier of entity. |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
executedAt | DateTime | Timestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run. |
isVisible | Boolean | True when the line is shown in the activity log UI; false for internal-only lines. |
processActivityLogId | ID | Id of the process run (activity log) this line belongs to. |
sortOrder | Int | Position of the line within its log run. |
status | ProcessStatusEnum | Result of the process step recorded by this line, such as Ok, Warning (for example a scheduled action that was canceled) or Error. |
CreateProcessActivityLogLineInput input 8 fields: clientMutationId, modified, created, …
Field values of a new ProcessActivityLogLine record.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
executedAt | DateTime | Timestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run. |
isVisible | Boolean | True when the line is shown in the activity log UI; false for internal-only lines. |
processActivityLogId | ID! | Id of the process run (activity log) this line belongs to. |
sortOrder | Int! | Position of the line within its log run. |
status | ProcessStatusEnum | Result of the process step recorded by this line, such as Ok, Warning (for example a scheduled action that was canceled) or Error. |
DeleteProcessActivityLogLineInput input clientMutationId: String, id: ID!
Id of the ProcessActivityLogLine record to delete.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
id | ID! | Unique identifier of entity. |
ProcessActivityLogOrderByNestedInput input 13 fields: id, isDeleted, modified, …
Sorting by a field of the related ProcessActivityLog record. Set exactly one field in each item.
| Input field | Type | Description |
|---|---|---|
id | OrderByEnum | Unique identifier of entity. |
isDeleted | OrderByEnum | Specifies if the entity is considered deleted. |
modified | OrderByEnum | Last modification time. |
created | OrderByEnum | Creation time. |
actorId | OrderByEnum | Id of the user who triggered the run, or empty for runs triggered by automation. |
applicationId | OrderByEnum | Id of the application the triggering change came from, such as the web app or an API access; scheduled runs are attributed to the Automatizer. |
cpuRunTime | OrderByEnum | Total CPU time consumed by the run, in seconds. |
endTime | OrderByEnum | Timestamp the run finished. Empty while the run is still in progress (e.g. waiting on scheduled actions). |
isTestRun | OrderByEnum | True when the run was triggered as a test (results are not persisted to records). |
processId | OrderByEnum | Id of the Automatizer process whose run this log records. |
startTime | OrderByEnum | Timestamp the run started. |
status | OrderByEnum | Overall result of the process run: the most severe status among its log lines, Error when any step failed and Warning when a step completed with warnings. |
recordName | OrderByEnum | Name of the trigger record (extracted from the first log line) for display in activity log lists. |
UpdateProcessActivityLogLineInput input 9 fields: clientMutationId, id, modified, …
Id of a ProcessActivityLogLine record and the field values to change.
| Input field | Type | Description |
|---|---|---|
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
id | ID! | Unique identifier of entity. |
modified | DateTime | Last modification time. |
created | DateTime | Creation time. |
executedAt | DateTime | Timestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run. |
isVisible | Boolean | True when the line is shown in the activity log UI; false for internal-only lines. |
processActivityLogId | ID | Id of the process run (activity log) this line belongs to. |
sortOrder | Int | Position of the line within its log run. |
status | ProcessStatusEnum | Result of the process step recorded by this line, such as Ok, Warning (for example a scheduled action that was canceled) or Error. |
BulkUpdateProcessActivityLogLinePayload object result: BulkUpdateResults!
Result of the bulkUpdateProcessActivityLogLine mutation.
| Field | Type | Description |
|---|---|---|
result | BulkUpdateResults! | Ids of the created, updated and deleted records, and the items that failed. |
CreateProcessActivityLogLinePayload object processActivityLogLine: ProcessActivityLogLineEntity, clientMutationId: String
Result of the createProcessActivityLogLine mutation.
| Field | Type | Description |
|---|---|---|
processActivityLogLine | ProcessActivityLogLineEntity | The created record. |
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
DeleteProcessActivityLogLinePayload object processActivityLogLine: ProcessActivityLogLineEntity, clientMutationId: String
Result of the deleteProcessActivityLogLine mutation.
| Field | Type | Description |
|---|---|---|
processActivityLogLine | ProcessActivityLogLineEntity | The deleted record. |
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |
UpdateProcessActivityLogLinePayload object processActivityLogLine: ProcessActivityLogLineEntity, clientMutationId: String
Result of the updateProcessActivityLogLine mutation.
| Field | Type | Description |
|---|---|---|
processActivityLogLine | ProcessActivityLogLineEntity | The updated record. |
clientMutationId | String | Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention). |