OBJECT

ApprovalEntity

link GraphQL Schema definition

  • type ApprovalEntity {
  • # 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
  • account: AccountEntity
  • actor: ClientEntity
  • # Relation to single entity instance. Target entity is re-used and not deleted
  • # on de-association.
  • #
  • # Examples:
  • #
  • # Opportunity.owner -> Client, the Client is reused for many opportunities.
  • #
  • # Account.picture -> CloudObject, the CloudObject can be reused on many accounts.
  • #
  • application: ApplicationEntity
  • # Relation to single entity instance. Target entity is re-used and not deleted
  • # on de-association.
  • #
  • # Examples:
  • #
  • # Opportunity.owner -> Client, the Client is reused for many opportunities.
  • #
  • # Account.picture -> CloudObject, the CloudObject can be reused on many accounts.
  • #
  • approvalProcess: ApprovalProcessEntity
  • contact: ContactEntity
  • lead: LeadEntity
  • oppty: OpportunityEntity
  • quote: QuoteEntity
  • # Relation to single entity instance.
  • accountId: ID
  • # Relation to single entity instance.
  • actorId: ID
  • # Relation to single entity instance.
  • applicationId: ID!
  • # Relation to single entity instance.
  • approvalProcessId: ID!
  • # Field whose values are strictly defined with an enumeration of values.
  • approvalStatus: ApprovalStatusEnum
  • # Multi-line text input field.
  • comment: String
  • # Relation to single entity instance.
  • contactId: ID
  • # Datetime information.
  • endTime: DateTime
  • # Relation to single abstract entity instance.
  • #
  • # E.g. Relation to Lead/Oppty
  • #
  • leadOpptyId: ID
  • # Relation to single entity instance.
  • quoteId: ID
  • # Field containing json.
  • settings: JSONString!
  • # Field whose values are strictly defined with an enumeration of values.
  • status: ProcessStatusEnum
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Relations to ApprovalApprovers.
  • #
  • # Arguments
  • # filter: Filter ApprovalApprover relations by target
  • # ApprovalApprover attributes.
  • # orderBy: Order ApprovalApprover relations by target
  • # ApprovalApprover 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.
  • approvers(
  • filter: ApprovalApproverFilterInput,
  • orderBy: [ApprovalApproverOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ApprovalApproverEntityConnection
  • # Relations to ApprovalProcessActivityLogLines.
  • #
  • # Arguments
  • # filter: Filter ApprovalProcessActivityLogLine relations by
  • # target ApprovalProcessActivityLogLine attributes.
  • # orderBy: Order ApprovalProcessActivityLogLine relations by
  • # target ApprovalProcessActivityLogLine 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.
  • lines(
  • filter: ApprovalProcessActivityLogLineFilterInput,
  • orderBy: [ApprovalProcessActivityLogLineOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ApprovalProcessActivityLogLineEntityConnection
  • name: String
  • ownerId: UUID
  • entityType: BaseEntityTypeEnum
  • startTime: DateTime
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }