Run Business Process Tag Libraries

You can use the tag libraries to run a single business process per JSP page.

The following section describes the business process tag libraries.

runBP

The runBP tag library runs a business process, which is specified in the bpname attribute. The runBP tag library also sets the pageContext variable called bpResults in the org.w3c.dom.Document type. The business process results are displayed using the bpResults variable.

The following table describes the attributes used by the runBP tag library:

Attribute

Description

user

(Required) User ID

This attribute may be specified at the business process run time.

nvp

(Required) Name of the value pairs to be placed into process data in the format name=value&name2=value2.

This attribute may be specified at the business process run time.

bpname

(Required) Name of the business process to run.

This attribute may be specified at the business process run time.

pridoc

(Required) Primary document that invokes the business process.

This attribute may be specified at the business process run time.

runBPnoReturnDoc

The runBPnoReturnDoc tag library runs a business process with no document being returned from the running business process.

The following table describes the attributes used by the runBPnoReturnDoc tag library:

Attribute

Description

user

(Required) User ID

This attribute may be specified at the business process run time.

nvp

(Required) Name of the value pairs to be placed into process data in the format name=value&name2=value2.

This attribute may be specified at the business process run time.

bpname

(Required) Name of the business process to run.

This attribute may be specified at the business process run time.

pridoc

(Required) Primary document that invokes the business process.

This attribute may be specified at the business process run time.

getDocuments

The getDocuments tag library runs a business process and extracts a document from the business process.

The following table describes the attributes used by the getDocuments tag library:

Attribute

Description

user

(Required) User ID

This attribute may be specified at the business process run time.

nvp

(Required) Name of the value pairs to be placed into process data in the format name=value&name2=value2.

This attribute may be specified at the business process run time.

bpname

(Required) Name of the business process to run.

This attribute may be specified at the business process run time.

pridoc

(Required) Primary document that invokes the business process.

This attribute may be specified at the business process run time.