Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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
    An instance of a workflow instance.
  • WorkItem
    An 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. 
  • Xml
    Instance of a XML dom node.
  • $XmlRepository
    Allows to access xml based database.

Database Management

Documents and Files

  • $Documents
    Allows to access document repository.
  • $Files
    Allows to access standard file repository for basic files.
  • Files
    Represents the instance of file a file repository.
  • Document
    Represents a document instance with one or more files.
  • FileInfo
    Represents a file instance.

Messaging

  • $Messages
    Allows to send new mails or parsing messages.
  • Message
    Represents a mail message with MIME standard.
  • $ActivityStream
    Allows to push system generated activities on activity stream.

Integration

  • $Rest
    Allows to call rest services with JSON or XML content types.
  • $Services
    Allows to call SOAP services with JSON or XML content types.
  • RestClient
    Represents a connection with a rest service.
  • RestRequest
    Represents a request to perform with a rest service client.
  • RestResponse
    Represents a response received from a rest service.

Business Rules

  • $Decisions
    Allows to perform script operations using predefined decision tables.

Calendar

  • $Calendar
    Gets the default calendar.
  • Calendar
    Instance of a calendar that performs date based operations like adding or calculating differences by rules.
  • DateTimeOffset
    The DateTimeOffset object represents a date and time value.

Task Delegation

Cryptography

  • $Crypto
    Allows the access cryptographic functions like hashing, encryption or sign or verify.
  • VerificationResult
    Instance of digital signature verification result that contains validity status and signer information of signatures.
  • VerificationSignature
    Specifies the result of single signature verification.

Localization

  • $Localization
    Allows to access localization dictionary entries from scripting environment.
  • $Templates
    Allows to access templates that defined in pool definition.

Utilities

  • $Domain
    Allows to access domain specific properties.
  • $Cache
    Allows to store and fetch objects for a limited time with fast access.
  • $Market
    Allows to access market resources for license checks.
  • Milestone
    Represents a milestone that created with Milestones.Add method.
  • Milestones
    Represents the list of milestones on a case.
  • Script
    Provides general usage utility functions.
  • No labels