OBJECT

ApprovalProcessRepository

Read operations for ApprovalProcess records.

link GraphQL Schema definition

  • type ApprovalProcessRepository {
  • # Returns the record with the given id, or null when there is none. Deleted
  • # records are returned as well.
  • #
  • # Arguments
  • # entityId: Id of the record to return.
  • getById(entityId: ID!): ApprovalProcessEntity
  • # Returns the records with the given ids; ids without a record are left out.
  • # Deleted records are returned as well.
  • #
  • # Arguments
  • # entityIds: Ids of the records to return.
  • getByIds(entityIds: [ID!]!): [ApprovalProcessEntity!]!
  • # Returns the records that match the filter, paged with limit and offset.
  • #
  • # Arguments
  • # limit: Maximum number of records to return.
  • # offset: Number of records to skip from the start of the result.
  • # filter: Conditions the returned records must meet.
  • # orderBy: Sorting of the returned records.
  • # includeDeleted: When true, deleted records are returned as
  • # well. Defaults to false.
  • getAll(
  • limit: Int,
  • offset: Int,
  • filter: ApprovalProcessFilterInput,
  • orderBy: [ApprovalProcessOrderByInput!],
  • includeDeleted: Boolean
  • ): [ApprovalProcessEntity!]!
  • # Returns the records that match the filter as a cursor-paginated connection.
  • #
  • # Arguments
  • # filter: Conditions the returned records must meet.
  • # orderBy: Sorting of the returned records.
  • # includeDeleted: When true, deleted records are returned as
  • # well. Defaults to false.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • getByCriteria(
  • filter: ApprovalProcessFilterInput,
  • orderBy: [ApprovalProcessOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ApprovalProcessEntityConnection
  • # Returns the ids of the fields of a record that changed after the given revision.
  • # Returns an empty list for entities without change tracking.
  • #
  • # Arguments
  • # id: Id of the record.
  • # revision: Revision to compare against; only later changes are
  • # returned.
  • getChangedFieldsSinceRevision(
  • id: UUID!,
  • revision: Int!
  • ): [UUID!]!
  • # Returns a page of approval processes filtered by owner, enabled state and
  • # status, in addition to the regular filter.
  • #
  • # Arguments
  • # listingOptions: Owner, active/inactive and status filters
  • # applied to the list.
  • # filter: Conditions the returned records must meet.
  • # orderBy: Sorting of the returned records.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • getByApprovalProcessCriteria(
  • listingOptions: ProcessTabDataGridViewOptionsParams!,
  • filter: ApprovalProcessFilterInput,
  • orderBy: [ApprovalProcessOrderByInput!],
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ApprovalProcessEntityConnection
  • # Returns approval processes with a manual trigger that the current user is
  • # allowed to start, according to each trigger's allowed users and units.
  • #
  • # Arguments
  • # limit: Maximum number of records to return. Limit and offset
  • # are applied before the allowed users and units are checked, so a page can hold
  • # fewer records.
  • # offset: Number of records to skip from the start of the result.
  • # filter: Conditions the returned records must meet.
  • # orderBy: Sorting of the returned records.
  • getApprovalProcessesWithManualTrigger(
  • limit: Int,
  • offset: Int,
  • filter: ApprovalProcessFilterInput,
  • orderBy: [ApprovalProcessOrderByInput!]
  • ): [ApprovalProcessEntity!]!
  • }