side menu

Send Document/App Item

send_document1The Send Document/App Item activity is used in a process when its participants need to get informed about the contents of a file, a document, or an app item. The users receive a task containing a link to the object that they have to view or read. After that, a list of informed users is created on its page. It contains the employee’s decisions, comments, and additional files.

To learn how to use the activity in a business process, refer to the Send for information use case article.

To open the activity settings, double-click on it on the process diagram. Configure settings on the General, Notifications, Form, Deadline, Schedule in Calendar, Connectors, Custom Statuses, Signature, Substitutions, Error Handling, and Description tabs.

начало внимание

Before configuring the settings, make sure that the process context contains a variable for storing the object that the users will have to view or read.

конец внимание

General tab

send_doc_item_01

  • Name*. Enter the text that will be shown on the process diagram.
  • Task name*. Enter a brief and informative subject. It will be used as the title for the task shown to users in their #Activity stream. To include context variables in the subject, click on the {+} symbol in the right corner of the field. You can also add conditions and functions, just like for the item name templates. This allows you to generate a more informative name for the task.
  • Items to send*. Select a context variable of the Files, App, or Arbitrary App type that references the object being sent.

 

Notifications tab

You can set up notifications to keep process participants informed about the review progress. To do this, enable the desired options on the Notifications tab:

send_doc_item_02

 

  • Notify the executor. The assignee will receive a notification in their #Activity stream about the assignment of the task.
  • Notification to the activity stream. A message will be sent to the associated activity stream of the file, document, or app item, notifying participants that the approval process has been launched.

In the Message text field that appears, enter the details you want to communicate. You can use context variables to personalize the notification, for example, to include a participant’s comment. To do this, click the {+} icon in the top right corner of the field. You can also add a condition or function to generate the message based on a template.

  • Notification: users informed. A notification will appear in the object’s associated activity stream once the review process is complete, including the executor’s comment.
    • Notify about each informed user. This option is available when a file, document, or app item requires review from multiple people. Each time a user completes their review task, a notification will be sent to the activity stream.

Form tab

This tab appears if an app item has been sent for review. It allows you to configure your own review form from scratch. If you want to use the default form, you do not need to change the settings on this tab.

To create a form, click <Default> and then click +Create Form. This opens the form template in the interface designer.

Place the widgets and buttons you want on the form. You can apply scripts, set form validation, and so on. Save the settings.

To customize the display of the properties of the app item being sent for information, go back to the Form tab in the activity settings.

send-item-brix-02

Place the required fields on the form or create new ones. Set the settings of their visibility and mandatory filling. These actions are similar to the form settings in the Task element. Please note that these settings are available only for a custom form.

Deadline tab

send-item-brix-03

On this tab, you can configure the due date for the task, as well as determine what happens if the task is not completed at the specified time.

There are two ways to set the deadline:

  • Exact Time. Specify the number of days, hours, or minutes that the executor has to complete the task. The calculations can be based on the business calendar.
  • Variable. Sometimes it is important that the user completes the task before a certain date. For example, an employee can specify the exact date before which others need to read the new internal regulations. By this day, all specified users should have read the document. In this case, you can use a context variable of the Date/Time type to determine the deadline for the task.

If the task belongs to a swimlane with multiple executors and a variable is used to define the deadline, all the executors will have to complete their tasks by the specified moment. Otherwise, the task will be considered overdue.

When specifying the task completion date, you can activate the following options:

  • According to the business calendar. The completion time is calculated according to the business calendar and does not include the employees non-working hours.

If any of the users have edited the business calendar, republish the process to apply the new work schedule to the task completion date.

  • Consider the duration of the work day as a constant. This option is available when the business calendar is taken into account. It allows you to calculate the task completion date based on the number of working hours per day. The time specified in the business calendar settings in the Standard work schedule field is used for calculation.

The examples of calculating the completion date are given in the Task article

In the Notification field, you can select users who will be notified if the executor fails to complete the task on time. You can select the current user, a context variable (for example, the process initiator), a user group, or an org chart item.

sdai 4

By default, a message will be sent to all employees specified in the swimlane settings. To select other recipients, click the Add button.

  • Current User. Executor of the swimlane where the activity is placed.
  • Context variable. The recipient is specified in a process context variable of the User type.
  • Group. The message will be sent to a specific user group.
  • Org chart item. You can specify the recipient using an org chart item.

 

In the Interrupt field, determine what the next step in the process will be if the executor does not have time to complete the task before the specified time.

BRIX will automatically select the specified connector if the set time expires and the executor does not confirm that the task has been completed. On the process diagram, such a connector is marked with a clock icon.

Schedule in Calendar tab

send-item-brix-04

This tab appears if the task has a deadline. Here you can enable the task to be displayed in the executor's calendar.

To avoid cluttering the calendar, you can schedule the task only on specific days. For example, if the review period is three days, you can choose to display the task in the calendar only on the last day. To do this:

  1. Add Date/Time type variables to the context, which will store the values for the task deadlines in the calendar.
  2. Before the Send document/App item activity in the process diagram, place a script that calculates the values of these variables.
  3. On the current tab, link the Start date and End date fields to these variables.

Connectors tab

This tab is used to configure outgoing connectors.

The main connector, where the process will continue after the user is informed, needs to be marked as the default one.

You can also add error-handling connectors to the process diagram. Their settings specify the conditions under which the process will automatically continue along the corresponding branches. For example, an additional connector can be used when a file sent for review has been deleted, a new version of the document has been added, or the user does not have permissions to view it. If the condition is met, the process will go down this path, and the Rejected status will be written to the file page or item page.

If you have added a connector for error handling, it will appear on this tab along with the others. Do not set any conditions for it, as they will be ignored when the process runs.

send_doc_item_03

Please note that if an escalation connector is configured on the Deadline tab, the other connectors can only be activated before the task deadline.

начало внимание

Since the process is routed through additional connectors automatically, there are no buttons for them in the review task. By default, the user will only see the Informed button. You can add buttons to make a custom decision on review, but they do not affect the selection of a connector during the process execution.

конец внимание

To open the window with connector settings, click on its name.

On the General tab, enter a name for the connector that will appear on the process diagram. You can also enter a a tooltip for the transition button that will be visible to the user on the form page.

send_item_08

Then go to the Conditions tab, click +Add Condition, and specify:

send_item_09

  • Process Variable. Specify a variable from the process context or a specific value: 
    • Archived. Check whether the list of informed users has been archived. Please note that for items, the rules of list archiving are set in the app settings. For files, lists are always archived when a new version is added.
    • Cannot find information object. Check that the object is not deleted from the system. Please note that this option works only when a file is sent for information. If an app item is being sent, the process will be terminated with an error upon its deletion.
    • No access to the information object.
  • Operation. Specify a comparison operator to check a specific condition.
  • Field value. Enter the value with which the condition will be considered fulfilled.
  • Logical Operator. Determine which logical operations to apply when checking several conditions. If the validation result is True, the process will proceed along this connector.
    • AND. The result is True if both conditions that this operator connects are met.
    • OR. The result is True if at least one of the conditions that this operator connects is met.
    • AND NOT. The result is True if the first condition is met while the second condition is not.
    • OR NOT. The result is True if the first condition is met or the second condition is not.

Please note that the conditions are checked in the order they are listed in the connector settings.

For review tasks placed in the swimlane with multiple executors, the transition conditions are checked each time one of the users completes the task.

For more information about using connectors in processes, see the Connectors article.

Custom Statuses tab

When creating a custom status in the task, an additional button will appear. With its help, employees will be able to provide custom decisions within the standard process of sending documents and app items for review.

Depending on what object (app item or file) is stored in the variable specified on the General tab in the Items to send field, the button will appear on the item page or on the file preview page.

Important: The buttons in the review task are used only for specifying custom decisions and do not determine the further course of the business process. Regardless of the selected button, if the review is completed successfully, the process will continue with the default connector selected in the settings.

For instance, you can add the Requires Clarification status. An employee can complete the task of viewing a document and specify that they have questions after reading it. The document progress through the process will continue according to the logic defined by the outgoing connectors. In the list of informed users, opposite the name of the user who selected this decision, the Requires Clarification status will appear.

The final status of the item, regardless of the chosen decisions, will be Informed.

To configure a custom status, enable the Use custom status option and fill in the fields that appear:

send_doc_item_04

  • Button label in task*. Enter the name of the button that the user will click to complete the task. The additional button will be displayed next to the Informed system button. send-document-custom-statuses-2
  • Status label*. Enter the name of the status that will be displayed in the list of informed users after closing the task.

send-document-custom-statuses-3

The custom status will be shown in the list of informed users and will also be displayed alongside the Informed system status when the list is exported.

Signature tab

This tab appears when the item sent for review comes from a context variable of the App type, specified in the Item to send field on the General tab.

You can configure the use of an electronic signature at the information stage. In the task they receive, the user clicks the Informed button and enables the signing option. In the window that opens, they select the objects to sign: attributes or a file.

This allows the employee to confirm their review of the document with an electronic signature. Information about this is saved in the item's page. For more details, see the Digital signature in apps article.

To enable signing for the information object, configure the following parameters in the Signature tab.

send_doc_item_05

 

  • Enable signing. To display a window with the Sign option when a review is performed, select one of the following options:
    • Do not use. The Sign option is not displayed, and the user will not be able to sign the decision.
    • Optional. The Sign option is disabled by default. Instead of the Next button, the window displays the Informed button. By clicking it, the user completes the document review without signing. If the user enables the option, they can proceed to signing by clicking Next.
    • Preferred. The Sign option is enabled by default, but the user can disable it.
    • Required. The Sign option is enabled by default and cannot be disabled. The user will not be able to close the task without signing the attributes or document file.
  • Sign attributes. Configure signing for the app item’s attributes, similar to the Enable signing field. Available options: Do not useOptionalPreferred, or Required.
  • Sign file. This option is available for Document type apps. Select one of the options to configure signing of the document : Do not useOptionalPreferred, or Required.
  • Comment when signing. Configure the display of the Comment option in the signing window. Select one of the available options: Do not useOptionalPreferred, or Required.

Default provider. Select the provider whose certificate will be used for signing. The list displays services that have been integrated in the Administration > Modules > Electronic Signature workspace. The user will not be able to change the selected value. If the field is left blank, the provider can be selected at the time of signing

Substitutions tab

On this tab, you can specify a variable that controls the reassignment of the task to an employee who substitutes the primary performer.

send-item-brix-08

In the Ignore substitution field, specify a variable from the business process context of the Yes/No switch type.

If the variable is set to Yes, the task will be assigned to the initially specified approver, and if it is set to No, it will be assigned to the substitute employee. The value of the variable can be changed during the business process, for example, by placing the variable on the form of another task, or by using scripts.

For example, you can ignore substitution if the document to be read contains confidential data that should not be disclosed to third parties.

Error Handling tab

An error may occur during the review stage of a process. For example, if the variable storing the file or app item for review is empty. You can determine which path the business process will follow in this case and configure a notification:

send_doc_item_06

  • Notification. Enable this option and specify the users who will receive a notification about the error in the process. You can select a user, user group, org chart item, or specify a context variable, such as the process initiator.
  • Interrupt. Enable this option, then in the Transition field, specify which path the process will follow in case of an error. The transition specified in these settings will be marked with the clip0286  icon on the process diagram.

Note that if you select a transition that has conditions configured, they will be ignored. The process will only follow the specified transition in case of an error.

Description tab

Specify service information about the activity's operation. System administrators and employees modeling the process will be able to access this tab and review this data.

After completing the settings, click Save.

List of informed users

Once the process reaches the Send document/App item activity, a notification about the assigned task with a link to a file, document, or app item is displayed in the #Activity stream of executors.

A list of informed users is created on the object page with a list of employees to whom tasks have been assigned. The clip0287 icon is displayed next to the user who has not yet viewed the document. After the task is completed, the date, time, and the comment left, and the file attached during the review are added to the list.

send_doc_item_07

Read more in the Lists of informed users and approval sheets article.