Interact Forms

Forms is a Hub plugin that can be found under the Interact section in Hub.

The first time you use Forms, the Forms Management screen displays.

This screen lists any forms that have been created, their status, and whether they are locked for editing.

Create a form

Before you can create a form, a business process must already exist. If the Add New button is greyed out there are no available business processes to create a form for. You can only have one form associated with a business process. For more information about creating business processes, see ALM – Business processes.

  1. From the Forms Management screen, click Add New.

    The Create form screen displays.

  2. Complete the following mandatory fields to define the overall details of a form:

    Business Process

    The business process associated with the form you are creating.

    Name

    The name of the form.

    Description

    A description for the form.

    Delivery Method

    The way the form will be delivered. Select Queue, Email, or both if required.

    Selecting Queue allows the submitted request to be added into a Blue Prism Queue for processing. Complete the following fields to configure details of the queue:

    • Environment – The environment that the submitted request will be made into.
    • Queue Name – The queue in the selected environment that will be used to load the submission.
    • Priority – The business priority for the submitted form. This can be any value between 1 to 999 with 1 being the highest priority.

      This functionality utilizes IADA and one of the key approaches used by IADA® is to measure the amount of work (queue items in Blue Prism) based on the Priority and Service Level Agreement (SLA). Each item is labelled with these metrics individually or inherits this value from the associated business process to support the ordering of work. When a digital worker is ‘available’ to execute a process, IADA® identifies the next best item based on configurable properties and returns the activity to the digital worker.

    • SLA – The business Service Level Agreement (SLA) timeframe in which the submitted request should be processed within. The definition is ddd.hh:mm:ss and the range from 000.00:00:00 to 999.23:59:59.

    Selecting Email will allow the submitted request to be forwarded to an email address for review. This is not the approval submission.

    Default Approval Type

    Allows the submission to be sent to another user for approval before it is sent for processing. By default, this is set to None, meaning the submission is not sent for approval.

    You can also select Any Approver or Single Approver. For Single Approver the form will prompt you to enter the user who will approve any requests from the form before submission.

    Category

    Allows forms to be grouped together in a defined category to determine who can access the form. For example, you may have categories for Finance, HR and Sales so you can allow specific users access only to the forms in the category that they need to do their role.

    Categories are defined by entering the name of the category. Once entered, a category will be available from the drop-down.

    Icon

    Select the image that will appear with the form in Interact to allow easy identification. You can choose one of the preloaded icons which are defined into categories: Application, Banking, Data, Education, Emotion, Food, Gadgets, Medical, Network and Security, Science and Technology, Transportation, and User Interface. Alternatively, you can load your own icon by selecting Upload and browsing to your icon. Icons must be a PNG, JPG or SVG file, no bigger than 256 x 266 px and 30KB in size.

  3. Add the required elements to the form:
  4. Once all the required elements have been added, click Save.

    The Increase minor dialog displays.

    Each time you save a form the minor version increases to assist with version control.

  5. Enter a description for the save that will allow you to identify what changed for this minor version.

  6. Click Save.

    The Interact Form Editor displays.

Add pages to a form

Pages are like tabs on a dialog so you can have multiple pages per form to break the amount of information required into specific sections. Or define Rules so that only specific Pages will appear when certain criteria are met.

  1. From the Interact Form Editor, click Add Page.

  2. Enter a name and description for the new page.
  3. If required, select the Hidden check-box. When selected the page will only display when certain criteria is fulfilled.
  4. To immediately create another page, select the Create Another check-box. When you save this page, the dialog will be refreshed allowing details for a new page to be entered.
  5. Click Save.

    The Interact Form Editor displays showing the new page.

Add fields to a form

  1. From the Interact Form Editor where a form has already been created, click the + button.

    The Create Capture Field displays.

  2. Complete the following fields:

    Type

    This is a dropdown field allowing you to select the type of field you want to add to the form, we will cover each of the types providing examples in the Types section below.

    The field type to add to the form. For more information about the available fields, see Field types.

    Initial State

    The state that the field is set to when a user first accesses the form:

    • Optional – Does not matter whether a user completes the field or not.
    • Mandatory – Must be completed by the user before the form can be submitted.
    • Read-Only – The field cannot be edited. This is typically used as an input from an automation where the information has been retrieved and updated so the user can review.
    • Hidden – The field has rules applied so that it only appears when a predetermined condition is achieved.

    Label

    This is the text that will appear alongside the field in the form. This is a friendly name so a user can understand what they should be entering into the field;

    Automation ID

    this is the name that ties to the data item within the automation. This field has a restricted format, it can only be lowercase letters and no spaces or special characters are allowed. A hyphen, ‘-‘, is allowed to represent a space. When a Label is applied an Automation ID is automatically generated using the formatting restrictions, this though is only a suggestion and can be changed if required;

    Description

    though this is not a mandatory field it provides the ‘help text’ alongside the field in the form;

    Mask Data on Submission

    again a non-mandatory field, but if the data that is entered is of a sensitive nature, by selecting this option once the request has been submitted the data is redacted from review.

  3. Click Save.

    Each field is added to the Interact Form Editor.

    You can reorder the field using the hamburger menu for a field to drag and drop it into a new location.

    You can select one field to be identified as the key field using Make Key Field option. Once selected a key will appear alongside the field in the form. This information can then be used within Interact submissions as a filter to look for particular text. For more information see Interact user interface.

    Only a Text or Number field type can be selected.

Field types

There are eleven different field types listed below with examples and configurable parameters.

Rules

Rules enable the developer to control the form and activate different fields or pages depending on whether specified conditions are met. Using the Play Test area rules can be tested prior to releasing the form for normal user usage.

The inbuilt rule which is enforced in the Interact user interface, where you cannot move to a new page if there are mandatory fields that need to be completed on the current page, does not apply in the Play Test area. To apply Form Rules, select the tab alongside the Form Designer tab in the Interact Form Editor.

Add rules for a page

  1. From the Interact Form Editor, select the Form Rules tab.

  2. Click the + button for the page you want to create rules for.

    The Create rules screen displays.

    Rules are created based on a typical ‘If’ ‘Then’ statements, so if a specific condition is met, then a defined action defined is performed. The ‘If’ condition is dependent on the field type and the options for the rules will vary on specific field types. For example, for a text field the conditions for the ‘If’ are displayed.

  3. Configure the If statement:
    1. Select the field/page – In the If field, select the subject of the rule. This will be one of the fields from the associated page.
    2. Select the condition – The validation to perform on the field: contains, does not contain, etc.
    3. Select the value – The consequence of the clause being met, such as setting a field to be hidden
  4. Configure the Then statement:
    1. Select the field/page – In the Then field, select the field or page that is impacted by the If statement being true.
    2. Select the condition – The action to take on the Then clause: set value to, state is, etc.
    3. Select the outcome – The new value or state of the field or page in the Then statement.
  5. Click Save to add the rule.

    If Create another is selected, the dialog refreshes to allow a new rule to be configured, otherwise the Interact For Editor displays with the rules displaying under the associated page. From here, rules can be deleted and edited.

Version control

Forms are subject to version control to assist during development. Each time a form is saved the minor version is incremented and annotated with the entered description for ease of identification.

To view all the minor versions of a form in Forms Management section, remove the filter from the Latest column. All versions display and a tick in the Latest column denotes which is the most recent of those versions.

For the earlier versions you can select to View Form or View Update Note.

For the latest version of a form you can choose from the following:

  • View Form – Displays the form and the Play Test area but you cannot edit or make changes to the Form.
  • View Update Note – Displays the associated update note.
  • Edit Form – Allows you to continue editing the form.
  • Edit Basic Information – Allows the basic details associated with the form to be updated.
  • Increase Major – Increases the form to a major version.
  • Export Form – Exports the Form in a BPFORM file format for importing into another system.
  • Delete – Delete the latest version of the form.

Test a form

The right hand pane of the Interact Form Editor screen is the test area where you can view the form as it will look to Interact users. It allows you to test and verify that any rules or field restrictions work as required.

Import a form

Forms that have been previously exported from this or another Interact system can be imported to save having to recreate forms that have already been developed.

  1. In the Forms Management screen, click Import Form and navigate to the required exported form.
  2. If the form already exists in your Interact system, you must select whether to rename or overwrite the existing form.

    If importing a form that doesn’t already exist the form will get added with no prompt to override. A business process has to exist before you can select Add New. If the button is greyed out, then there are no available business processes to create a Form for. You can only have one form associated with a business process. See the Hub Automation Lifecycle Management User Guide for more details.

  3. Select the required option:
    • Overwrite – The Import Form dialog displays. The dialog is the same as the edit or create form dialogs where a description, delivery method, default approval type, update note, category, and icon can be added.
    • Rename – The same Import Form dialog displays. As it is a rename, the required business process to which the form will be assigned must additionally be selected.

    If there are not any Business Processes available that do not have a Form associated with them already, then you will not be able to Import the Form.

  4. Click Save to complete the import.

Forms management settings

Like most of the displays within the Hub plugins the view can be tailored to a specific requirement. This is done by selecting the cog in the top right of the Forms Management display.

By selecting Manage Columns you can add or remove columns to create a view that is tailored to their requirements. There are additional columns that can be added to the default display.

Once the required columns have been selected, the view can be saved so it can be easily applied when required.

Select Save View from the settings cog.

Enter a name for the layout and click Save.

Layouts are applied by selecting Load View from the settings cog. You can choose from the pre-existing Standard Layouts or, where you have created your own layouts, from Your Layouts.