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

Ключ

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

...

  • Adding a block to a block diagram
  • Operations on a block
  • Auto-saving a Workflow Project scheme
  • Scenarios for working with files and links

Adding a block to the block diagram

The user uses the computer mouse to select a block from the blocks panel and drags the block to the editor workspace.

Block operations

Block selection

Press the LMB to select the chosen block, which is highlighted with a dotted line as a border rectangle: Требуется замена скриншота

...

  • white markers at the vertices of the rectangle - points for changing the block size
  • on the right side of the rectangle a red marker with a white cross - a button to remove the block diagram from it
  • green marker with ">" sign - point of outgoing connector (arrows)

Changing the block size

By dragging one of the white markers you can resize the block.

Deleting a block

By clicking on the red marker with a white cross you can remove a block from the scheme.

Connecting to a neighboring block

If you click on the green marker, a guide appears, which can be connected to any selected block in the scheme.

Block properties

When you select a block, a panel will appear to the right of the editor workspace, where you can set the block properties.  

...

Blocks can have properties specific to each of them. 

Input and output parameters of blocks

When working with parameters, it is important to understand the following issues:

  1. All blocks have input and output parameters:
    • "Start"

    • "Robot"

    • "Screen Form"

    • "Workflow."

  2. The "Finish" block has only output parameters.
  3. The "Start" and "Screen Form" blocks have the same output parameters as the input parameters.  These are the same parameters. It should be noted that input parameters do not contain values unlike output parameters, for example: input parameter - last name, output parameter - last name: Smith. Sometimes the input parameters of the "Start" block are called workflow parameters, which makes sense because they are available to all other blocks in the block diagram.
  4. Output parameters of "Robot" and "Workflow" blocks are not displayed in the properties of these blocks. But they are available by selecting values for the input parameters of other blocks. 

General scheme of linking input parameters of one block with output parameters of other blocks

The main task is to link the output parameters of some blocks to the input parameters of other blocks. 

...

  1. First, create the input parameter of the "Start" block. To do this, click on the "Add parameter +" button located on the properties panel of this block. And then set the name and type of the parameter and its initial value, for example, 10. Требуется замена скриншота


  2.  We do not need to create parameters for the block "SF #1", they are created automatically according to the internal specification of SF #1. We just bind parameter "a" to parameter "s", and parameter "b" will be set by the executor when working with SF: Требуется замена скриншота

  3. In the first block "Adding two numbers", we bind the parameters "a" and "b" respectively to the parameters "a" and "b" of the block "SF #1": Требуется замена скриншота

  4. In the "Exponentiation" block, we bind the parameters "x" and "n" to the parameters "a" and "b" of the "SF #1" block, respectively: Требуется замена скриншота

  5. In the second block " Adding two numbers" we respectively bind the parameters "a" and "b" to the output parameter c of the first block "Adding two numbers" and to the output parameter "y" of the block "Exponentiation": Требуется замена скриншота

  6. Finally, in the "Finish" block we set one output parameter equal to the output parameter "y" of the subprocess " Adding two numbers": Требуется замена скриншота

Autosaving of the workflow project diagram

The editor provides step-by-step autosaving of the scheme in the database. This means that any update of the scheme - be it placing a block on the scheme or changing its properties - is immediately saved in the database. No user actions are required to save the scheme.

...