Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section introduces JavaScript classes that are provided by Emakin and their how-to-use. Emakin allows running default JavaScript codes beside these classes in various places in a workflow, for example in Task Prework ScriptTask Postwork Script, Form Script, Role Script and even on the form.



Workflow Management

  • $Instance
    Currently executing workflow instance
  • $WorkItem
    Currently executing work item.
  • Instance
    A instance of a workflow instance.
  • WorkItem
    A instance of a workflow instance work item.

Case Management

  • $Case
    Attached case instance if defined.
  • Case
    Instance of a case.

Users and Organization Data

  • $Membership
    Allows to access users and organization database objects.
  • Identity
    Represents an identity (User, Organization Unit, Position, Group) in system.

Data Model and Xml Data

  • $Xml
    Allows to access process data model. 
  • XmlNode
    Instance of a XML dom node.
  • $XmlRepository
    Allows to access xml based database.

Integration

  • $Rest
  • $Services
  • RestClient
  • RestRequest
  • RestResponse

Business Rules

  • $Decisions

Calendar

  • $Calendar
  • Calendar
  • DateTimeOffset

Task Delegation

  • $Delegation
  • DelegationEntry

Cryptography

  • $Crypto
  • VerificationResult
  • VerificationSignature

Localization

  • $Localization
    $Templates

Utilities

  • $Domain
    $Cache
    $Market
    Milestone
    Milestones
    Script