INPUT_OBJECT

ApprovalOrderByInput

Sorting of Approval records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

link GraphQL Schema definition

  • input ApprovalOrderByInput {
  • # Unique identifier of entity.
  • id: OrderByEnum
  • # Specifies if the entity is considered deleted.
  • isDeleted: OrderByEnum
  • # Last modification time.
  • modified: OrderByEnum
  • # Creation time.
  • created: OrderByEnum
  • # Account the approval is requested on, when the trigger record is an Account.
  • # Sorts by fields of the related record, listed in order of priority.
  • account: [AccountOrderByNestedInput!]
  • # User who triggered the approval, or empty when triggered automatically. Sorts by
  • # fields of the related record, listed in order of priority.
  • actor: [ClientOrderByNestedInput!]
  • # Application context the approval was triggered in. Sorts by fields of the
  • # related record, listed in order of priority.
  • application: [ApplicationOrderByNestedInput!]
  • # Approval process this approval was raised from. Sorts by fields of the related
  • # record, listed in order of priority.
  • approvalProcess: [ApprovalProcessOrderByNestedInput!]
  • # Contact the approval is requested on, when the trigger record is a Contact.
  • # Sorts by fields of the related record, listed in order of priority.
  • contact: [ContactOrderByNestedInput!]
  • # Lead the approval is requested on. Set when leadOpptyId resolves to a Lead.
  • # Sorts by fields of the related record, listed in order of priority.
  • lead: [LeadOrderByNestedInput!]
  • # Opportunity the approval is requested on. Set when leadOpptyId resolves to an
  • # Opportunity. Sorts by fields of the related record, listed in order of priority.
  • oppty: [OpportunityOrderByNestedInput!]
  • # Quote the approval is requested on, when the trigger record is a Quote. Sorts by
  • # fields of the related record, listed in order of priority.
  • quote: [QuoteOrderByNestedInput!]
  • # Id of the linked account.
  • accountId: OrderByEnum
  • # Id of the triggering user.
  • actorId: OrderByEnum
  • # Id of the application (e.g. browser, automation, third-party integration) the
  • # approval was triggered in.
  • applicationId: OrderByEnum
  • # Id of the approval process this approval was raised from.
  • approvalProcessId: OrderByEnum
  • # Decision state of the approval: Pending while waiting for the approvers, then
  • # Approved or Rejected. endTime is set once the decision is made.
  • approvalStatus: OrderByEnum
  • # Comment the requester attached when raising the approval.
  • comment: OrderByEnum
  • # Id of the linked contact.
  • contactId: OrderByEnum
  • # Timestamp the approval reached a final status (Approved/Rejected/Cancelled).
  • # Empty while the approval is still pending.
  • endTime: OrderByEnum
  • # Id of the linked lead or opportunity, or empty when not linked.
  • leadOpptyId: OrderByEnum
  • # Id of the linked quote.
  • quoteId: OrderByEnum
  • # Result of the approval process run: the most severe status among its activity
  • # log lines, Error when a step of the run failed. The decision itself is in
  • # approvalStatus.
  • status: OrderByEnum
  • # Revision when entity was lastly changed.
  • revision: OrderByEnum
  • # Display name of the approval, derived from the underlying record being approved
  • # (e.g. the quote name). Empty when the underlying record has been deleted.
  • name: OrderByEnum
  • # Id of the user who owns the record being approved (the record's owner, not the
  • # approver). Empty when the underlying record has been deleted.
  • ownerId: OrderByEnum
  • # Timestamp the approval was raised (alias of created).
  • startTime: OrderByEnum
  • }