Displaying a Form in a Business Service

This topic provides an example that shows the sequence of calls a client application should make to display a form in a business service.

See Starting a Business Service for more information about starting a business service.

Note: The following step-by-step descriptions correspond to the process shown in the diagram. The descriptions are from the perspective of the REST API. The process of performing operations using the service REST API is explained with the help of an example.

When a user starts a business service from the user interface:

    Procedure
  1. To start a specific business service, use the form task.
  2. The client application will start the pageflow engine service REST API (POST: /instances) using the module name, the process name and the module version of the business service.
  3. The Pageflow engine service returns the details of the pageflow instance along with the activity (form task) name. TIBCO Business Studio - BPM Edition

  4. The client application starts the work presentation REST API (GET: /workItemPageflow). It passes the page flow details, that is the module name, module version and the process name of the business service instance that was started in step 2.
  5. The work presentation service returns the details of the activities and the form details associated with the activities.
  6. The client application finds the matching activity from step 3 and finds the form details for that specific activity.

  7. The client application loads the form resource and all the associated resources from the web resource provisioner.

  8. The client application renders the form.