Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

The panel with the properties of the workflow parameters opens to the right of the workspace of the Process Workflow Designer and looks as follows: Требуется замена скриншота

 

Workflow parameter properties panel

...

Example of setting a parameter: Требуется замена скриншота


Types of workflow parameters

...

Using the "Add Parameter +" button, multiple workflow parameters can be added to the Start block. Each new parameter will be numbered in order: Требуется замена скриншота


Deleting a workflow parameter

...

The "Finish" block is intended for setting the parameters of the workflow result. Any input and/or input parameters of a workflow/task/SF/subprocess can be used as result parameters.

It is up to the process Workflow designer to select the result parameters of the workflow: the designer successively adds the result parameters to the "Finish" block, names them and links them to the processworkflow/task/SF/subprocess parameters.

For the workflow, the scheme of which is shown in the figure below, the robot output parameter " Adding 2 numbers" is chosen as the final result of the workflow, which adds 2 numbers: the degree of the first workflow parameter and the area of a circle with radius equal to the second workflow parameter. Требуется замена скриншота

"Robot" block

The "Robot" block performs a robotic task. The block has 3 common properties:

...

To select a robot as the executor of a task, you must click on the "Select robot" button. Требуется замена скриншота


When you click on the "Select robot" button, a list of ready-made robots appears, in which you must select the one that will perform the task. The robot is selected using the left mouse button. As an example, we have selected the robot "Exponentiation", which, as the name implies, increases a number to a degree: Требуется замена скриншота


General properties

After selecting a robot, the Robot block's properties panel will display:

...

In our example, we will bind the robot input parameters to the workflow parameters "x1" and ""n1"", which are set in the "Start" block: Требуется замена скриншота


It is very easy to bind the robot input parameters to the input parameters of a workflow or task. To do this, in the field for each robot input parameter you need to select the desired workflow or task parameter from the dropdown list by clicking LMB. In our case we need to select the workflow input parameters "x1" and "n1": Требуется замена скриншота


This completes the work with the "Robot" block.

...

To select an SF for a user task you should click on the "Select a screen form" button. Требуется замена скриншота


When you click on the "Select a screen form" button, a modal window opens with a list of published screen forms, from which you should select the one that will be used to perform the user task: Требуется замена скриншота


The modal window contains the following artifacts:

...

enter the symbol "#" in the search bar, thus the list of screen forms is automatically reduced to those that have the symbol "#" in their name - out of 5 screen forms, only one SF with this name is in the list Требуется замена скриншота

    • select this SF with the left mouse button and click on the "Select" button
    • the modal window closes automatically
    • and "SF #1" is attached to the user task
    • properties "Task name" and "Description" are filled in automatically using properties of the selected SF: Требуется замена скриншота


The remaining properties of the SF:

...

are filled in by the workflow designer. Требуется замена скриншота


Selecting the responsible

...

The user or user group is also searched by the first entered characters Требуется замена скриншота

Block Color

Block color is a common optional property of any block. It is filled in the same way as for all other blocks.  

...

A task may have the following priorities:

  1. High
  2. Medium
  3. Low Требуется замена скриншота


Deadline

The deadline is set in days, hours and minutes and is counted from the moment the task has a specific executor. If a task's deadline expires, the executor, workflow owner and administrator will receive a notification that the task has expired, if they are all subscribed to this type of notification. Upon receiving such a notification, the workflow owner should find out the reason for the delay in execution and take the necessary measures to eliminate them as soon as possible. Требуется замена скриншота

Input parameters

The fields with input parameters are created automatically on the basis of the internal specification of the SF. The workflow designer only has to set the values of these parameters.

...

For example, the workflow shown in the figure below has 2 input parameters "a" and "b". SF #1 also has 2 input parameters. We can link the values of the input parameters of the workflow to the input parameters of SF #1: Требуется замена скриншота


In this case, the task executor, while working with SF #1, will see 2 fields in it with the values of workflow parameters that were set either by default or at launch.

...

  • Block name
  • Block sizes
  • Color (to be filled in by the workflow designer)
  • Description Требуется замена скриншота


"Or" boolean gateway

The "Or" boolean gateway is intended for branching a workflow by a condition. The condition can be a single condition or there can be several conditions.
The condition is set only after creating a connector with the subsequent blocks of the scheme. The number of conditions of a block is equal to the number of connectors (workflow branches) coming from the block.

...

In the scheme shown below, the "Or" block has two outgoing guides to two "Robot" blocks: Требуется замена скриншота


This block will have 2 conditions. The conditions are located under the general properties of the block in the "Conditions" panel. Conditions are set using the condition constructor. To set a condition, click on the "Gear" icon at the selected condition. As a result, the following modal window of the condition constructor will appear: Требуется замена скриншота


In the condition constructor you can specify one or more conditions connected by boolean operators "And" or "Or". Each condition is defined by 2 operands (first and second parameters) and a boolean operation between the operands. 

...

As an example, let's set a condition for our "Or" block for the branch "1 condition" of the following form: i1 >= 0. This can be done using two conditions connected by the "Or" function: Требуется замена скриншота


Let's save the condition by clicking on the "Create" button.

Similarly, create the second condition for the branch "2 condition" of the type: i1 < 0: Требуется замена скриншота


As a result, we get 2 conditions at the "Or" block: Требуется замена скриншота


Conditions can be edited at any time by clicking on the "Gear" button. To delete a condition, click the cross icon on the conditions panel or the "Trash" icon in the condition builder.

...

To select a robot as the executor of the task, click on the "Select Robot" button. Требуется замена скриншота

If you click on the "Select workflow" button, a list of published workflows appears, where you should select the one that will perform the task. The workflow is selected using the LMB. As an example, the robot " Adding two numbers" is selected, which, as it is clear from the name, performs the addition of two numbers: Требуется замена скриншота

We used the search bar to select the workflow.

...

In our example, we will link the subprocess input parameters to the main workflow parameters: "a" and "b", which are set in the "Start" block: Требуется замена скриншота

It is very easy to bind the input parameters of a subprocess to the input parameters of a workflow or task. To do this, in the field for each input parameter of a subprocess you need to select the required workflow or task parameter from the dropdown list. In our case we need to select the workflow input parameters "a" and "b": Требуется замена скриншота

This completes the work with the "Workflow" block.

...

  • Text - the actual text that will be displayed in the note (set by the designer)
  • Background color (white by default)
  • Border color (black by default)
  • Text color (black by default)
  • Font size (16 by default) Требуется замена скриншота

The designer enters the text of the note and changes the rest of the block's properties as needed to their preference.

...