INPUT_OBJECT

ApprovalProcessFilterInput

Filter conditions for ApprovalProcess records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

link GraphQL Schema definition

  • input ApprovalProcessFilterInput {
  • # Matches records that meet at least one of the listed filters.
  • OR: [ApprovalProcessFilterInput!]
  • # Matches records that meet all of the listed filters.
  • AND: [ApprovalProcessFilterInput!]
  • # Matches records that do not meet this filter.
  • NOT: ApprovalProcessFilterInput
  • # Search term matched against the fields that the global search covers for this
  • # entity.
  • globalSearchQuery: String
  • # Unique identifier of entity.
  • id: EntityFilterStringField
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: EntityFilterDateTimeField
  • # Creation time.
  • created: EntityFilterDateTimeField
  • # Free-text description shown alongside the approval process.
  • description: EntityFilterStringField
  • # Entity whose records the approval process is raised for, taken from the trigger
  • # in settings. Read-only.
  • entityType: BaseEntityTypeEnumFilterInput
  • # 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: EntityFilterDateTimeField
  • # Timestamp of the most recent change to isEnabled.
  • lastStatusChange: EntityFilterDateTimeField
  • # Name of the entity and its default text representation.
  • name: EntityFilterStringField
  • # Id of the owning user.
  • ownerId: EntityFilterStringField
  • # 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: EntityFilterNumberField
  • # For record-change triggers, the entity whose records can raise an approval (e.g.
  • # "Quote"). Empty for manual triggers.
  • triggerEntityName: EntityNameEnum
  • # Overall status of the approval process, derived from the approvals it raised
  • # since it was last enabled or its settings changed: Ok, Warning or Error. Ok when
  • # there are none.
  • 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
  • # User who owns the approval process. Matches records where a related record meets
  • # these conditions.
  • owner: ClientFilterInput
  • # Files attached to the approval process (e.g. process documentation). Matches
  • # records where a related record meets these conditions.
  • documents: CloudObjectRelationFilterInput
  • # Approvals (one per process run) raised by this approval process. Matches records
  • # where a related record meets these conditions.
  • activityLogs: ApprovalFilterInput
  • }