Business process instance changed. It is fired when the user change the value of a field.

Hierarchy

  • TokenWorkItemContext
    • OnChanged

Constructors

Accessors

  • get AuthorizationHeader(): string
  • Retrieve the Authorization header from the last authentication.

    Returns string

  • get Cache(): NodeCache
  • Returns NodeCache

  • get CacheNoSQL(): string
  • Returns string

  • get CacheRelational(): string
  • Returns string

  • get CacheTTL(): number
  • Returns number

  • get Domain(): string
  • Returns string

  • get IsTest(): boolean
  • Returns boolean

  • get Region(): string
  • Returns string

  • get StorageNoSQL(): string
  • Returns string

  • get StorageRelational(): string
  • Returns string

Methods

  • Parameters

    • className: string
    • propertyName: string
    • key: string | number
    • value: Object

    Returns void

  • Parameters

    Returns void

  • Parameters

    • className: string
    • propertyName: string
    • key: string | number
    • value: Object

    Returns void

  • Parameters

    • method: Method

    Returns AxiosRequestConfig

  • Parameters

    • endPoint: string
    • classOid: string
    • parseCallback: (data: any) => BaseModel

    Returns Promise<BaseModel[]>

  • Parameters

    • endPoint: string
    • classOid: string
    • parseCallback: (data: any) => BaseModel

    Returns Promise<BaseModel>

  • Parameters

    • options: GetModifiedDataOptions = null

    Returns Delta

  • Parameters

    • endPoint: string
    • entities: string[]

    Returns Promise<void>

  • Parameters

    • endPoint: string
    • className: string
    • key: string | number
    • entities: string[]

    Returns Promise<void>

  • Parameters

    • endPoint: string
    • payload: any
    • fields: IDictionary

    Returns Promise<any>

  • Run a Select command to retrieve data from the Export Database of the environment.

    Parameters

    • sql: string

      SQL SELECT statement.

    • page: number

      Page index, which must be 1 or greater.

    • itemsPerPage: number

      Page size, which must be 100 or less.

    • parameters: QueryParam[]

      Parameters of the SQL statement. Example: [{ name: "@name", value: 'mary' }]

    • avoidCache: boolean = false

      If true, the result will not be stored in the internal cache.

    Returns Promise<any[]>

    A promise to retrieve the records from the SELECT statement.

  • Renew the access token based on the environment, API key, and secret key provided for the static method BuildContextAsync

    Returns Promise<void>

  • Parameters

    • className: string
    • key: string | number

    Returns void

  • Send one email message to several recipients.

    Parameters

    • recipients: string[]

      Recipients of the message.

    • subject: string

      Field subject of the email.

    • body: string

      HTML body of the message.

    • Optionalattachments: string[]

      A list of urls of the attachments.

    • OptionaltokenOid: number

      The associated Token reference. If provided, the email will be accessible from the Conversation tab.

    • Optionalsender: string

      The sender name of the email.

    Returns Promise<void>

  • Parameters

    • classOid: string
    • endPoint: string
    • filter: string
    • parseCallback: (data: any) => BaseModel
    • useCache: boolean = true

    Returns Promise<BaseModel[]>

  • Generates an access token to access all functions of the API.

    Parameters

    • environment: string

      The environment identifier. It can be obtained from the Manage Environments page.

    • apiKey: string

      API key. It can be obtained from the Web Services panel inside the process editor.

    • secretKey: string

      Secret of the API key. It can be obtained from the Web Services panel inside the process editor.

    Returns Promise<Context>

  • Run a Select command to retrieve data from the Export Database of the environment.

    Parameters

    • environment: string

      The environment identifier. It can be obtained from the Manage Environments page.

    • apiKey: string

      An api key generated in the Web Services interface within the process editor.

    • secretKey: string

      A secret key generated in the Web Services interface within the process editor.

    • sql: string

      SQL SELECT statement.

    • page: number

      Page index, which must be 1 or greater.

    • itemsPerPage: number

      Page size, which must be 100 or less.

    • parameters: QueryParam[]

      Parameters of the SQL statement. Example: [{ name: "@name", value: 'mary' }]

    • avoidCache: boolean = false

      If true, the result will not be stored in the internal cache.

    Returns Promise<any[]>

    A promise to retrieve the records from the SELECT statement.