Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved

Chapter 4 JavaScript Interface : Overview

Overview
The TIBCO iProcess Workspace (Browser) client application makes requests to the Action Processor using a library of JavaScript interfaces. These interfaces are published and documented so that direct requests can be made to the Action Processor to perform functions such as starting cases, getting various lists, forwarding work items, etc.
Direct requests to the Action Processor using the JavaScript interface methods can be made from:
TIBCO® General Interface forms (for more information, see the TIBCO® General Interface documentation), or
This documentation subdivides the JavaScript interfaces into three logical groups:
Infrastructure classes - These provide functions such as setting up the action request, creating a socket, performing an XSL transform, etc.
For a list and description of the available infrastructure-type classes, see Infrastructure Classes.
Action Request classes - These classes provide the actual action requests, such as getting a list of work items, forwarding a work item, setting case data, etc.
For a list and description of the available action request classes, see Action Request Classes.
Data classes - These classes provide a means to create data objects that are passed in action requests, such as filter and sort criteria, dates, field objects, etc.
For a list and description of the available data classes, see Data Classes.
Following the class/method descriptions is an example of code needed to create an Action Processor request, create a socket call, and perform an XSL transform on the XML results returned by the Action Processor. This example can be found in Example Request.
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved