Business process designer > BPMN processes > Graphical elements / Create Document Package

Create Document Package

package0The Create Document Package activity combines several items of different apps into an item of one app. This activity is useful for sending and approving multiple documents, and is placed before the Send Document/App Item and Approval operations on the process diagram.    

Let's take a closer look at how a document package can be approved during a business process. An employee creates several items of different apps, for example, a Contract, a Specification, and a Schedule. In the course of the business process, these documents are combined into a package and sent to the employee's manager for approval. The approved package is then sent to be signed or, if not approved, returns to the author for revision. After having revised and corrected the documents, the employee adds the new versions to the system, combines them into a package once again, and sends the package for approval as before.

package4

Set up package creation

Step 1. Create context variables

In order to save the documents as a package and process it, you need to add an Arbitrary app variable on the Context tab of the business process.

add_var

Note that since a variable can store only one document package, you have to select the One option when creating it.

Also, on the Context tab, add corresponding App- type variables for each type of document that will be used in the package.

Step 2. Add documents to the business process

To create a package, you first need to add the documents to the business process. You can do so by using a Script or a Task.

Let's see how documents are added in a Task. In this case, the user adds documents to the task page manually, either selecting existing app items or uploading new ones. Add the Task activity to the process diagram and double click to open its settings. Go to the Form tab and add the variables that you have previously created for the documents.

package1

Step 3. Create document package

On the process diagram, place the Create document package element right after the Task activity. Open its settings.

package2

  • Name*. Enter a name that will be shown on the process diagram.
  • Documents to combine*. Select the apps for the documents that will be added to the package.
  • Document package*. Specify the variable of the Arbitrary app type that will store the package during the business process.

Step 4. Set up the "Send Document" or "Approval" activity

The next element in the process sequence is Send document or Approval. Place it on the process diagram, open the settings and specify the earlier created Arbitrary app variable in the Item to send* or Item to send for approval* field.  

Use case

Let's take a look how a package is processed during Approval.

Sett up package approval

Place the Approval element on the process diagram and double click to open the settings.

package3

In the Item to send for approval* field, specify the Arbitrary app variable that will store the document package. For more information on other settings, see Approval.

Approval task

In the course of the process, the approver is assigned a task to review and approve the document package. He or she can read the documents included in the package, view the package approval sheets, and leave a comment for each of the documents.

package5

When making a decision, the appover has to leave a comment, just as when approving a single document. This document will be displayed in the approval sheet on the page of each app item included in the package.

Approval results

Approval results are shown on the task form and on the page of each item that was included in the package. To view them, click All sheets on the item's side panel.

package6

A pop-up with approval sheet opens.

package7

To download the approval sheet for the entire package as an .xlsx file, click ic2. To open the list of documents from the package, click ic1. You can learn more in Approval sheets.

Found a typo? Highlight the text, press ctrl + enter and notify us