OBJECT

ApprovalProcessEntity

link GraphQL Schema definition

  • type ApprovalProcessEntity {
  • # 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.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # User who owns the approval process.
  • owner: ClientEntity
  • # Free-text description shown alongside the approval process.
  • description: String
  • # Field whose values are strictly defined with an enumeration of values.
  • entityType: BaseEntityTypeEnum
  • # When true, the approval process actively raises approvals on matching record
  • # events; when false, the process is paused.
  • isEnabled: Boolean!
  • # Timestamp of the most recent change to settings.
  • lastSchemaChange: DateTime
  • # Timestamp of the most recent change to is_enabled.
  • lastStatusChange: DateTime
  • # Name of the entity and its default text representation.
  • name: String!
  • # Id of the owning user.
  • ownerId: ID!
  • # Position of this process among approval processes for the same record-trigger
  • # entity type; lower values are evaluated first. Read-only; managed via
  • # update_priority. Null for manual-trigger approval processes.
  • priority: Int
  • settings: ApprovalProcessSchema
  • # Files attached to the approval process (e.g. process documentation).
  • documents: [CloudObjectRelationEntity!]
  • # Approvals (one per process run) raised by this approval process.
  • #
  • # Arguments
  • # filter: Filter Approval relations by target Approval
  • # attributes.
  • # orderBy: Order Approval relations by target Approval
  • # attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # 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.
  • activityLogs(
  • filter: ApprovalFilterInput,
  • orderBy: [ApprovalOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ApprovalEntityConnection
  • # For record-change triggers, the entity whose records can raise an approval (e.g.
  • # "Quote"). Empty for manual triggers.
  • triggerEntityName: EntityNameEnum
  • # Aggregate status of recent approval runs raised by this process: NoActivity,
  • # Running, Success, Warning, or Error.
  • status: ProcessStatusEnum
  • # How approvals are raised: Manual (a user must initiate) or RecordChange
  • # (automatically when a record matching the trigger condition is created or
  • # updated).
  • triggerType: ApprovalProcessTriggerTypeEnum
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }