Table of Contents

Search

  1. Preface
  2. Overview, Downloading, and Installing
  3. Administration API
  4. Identity Service API
  5. Screenflow Programming and SDK
  6. ActiveVOS WSHT API
  7. Embedding Request Forms in Standalone Web Pages
  8. XML-JSON for Process Central

APIs, SDKs, and Services

APIs, SDKs, and Services

JSON Process Invoke Examples

JSON Process Invoke Examples

Complete working JSON process invoke examples can be found in the
/examples/javascript/
directory.
  • json-loanRequest.html
    : shows how to submit an HTML form to invoke the Loan process using JSON.
  • json-getMyTasks.html
    : shows how to interact with the WSHT
    getMyTasks
    API operation using JSON.
  • json-getMyTasks_JSONP.html
    : same as above, but using JSONP.
  • json-getInstance.html
    : shows how to interact with the Informatica WSHT API extensions. This example uses the
    getInstance()
    operation to fetch task instance details, including input and output data
To use these examples, you must deploy all files in this folder to the application or Web server where the Process Server engine is deployed. For example, when using the Process Developer and its embedded server, you can deploy the provided
activevos-javascript-examples.war
:
  1. Navigate to the embedded server's Active-BPELl webapps folder; for example:
    C:\Program Files\ActiveVOS\Designer\designer\dropins\activevos\eclipse\plugins\org.activebpel.enginep_7.1.2\server\webapps\
  2. Copy the
    /examples/activevos-javascript-examples.war
    war file to the
    webapps
    folder.
  3. Start the embedded server.
The examples should be available at
http://localhost:8080/Human/activevos-javascript-examples/

0 COMMENTS

We’d like to hear from you!