GoLess
  • Basics
    • Recording Actions
    • Adding workflow manually
    • Tutorial: Scraping data
  • Workflow
    • Customization
    • Blocks
    • Global Data
    • Variables
    • Element Selector
    • Expressions
    • Workflow Table
    • Looping
    • Google Drive
  • Blocks
    • General
      • Note Block
      • Trigger Block
      • Execute Workflow Block
      • Delay Block
      • Export Data Block
      • HTTP Request Block
      • Blocks Group
      • Clipboard Block
      • Wait Connections Block
      • Notification Block
      • Workflow State
      • Parameter Prompt Block
    • Browser
      • Active Tab Block
      • New Tab Block
      • Switch Tab Block
      • New Window Block
      • Proxy Block
      • Go Back Block
      • Go Forward Block
      • Close Tab/Window Block
      • Take Screenshot Block
      • Browser Event Block
      • Handle Download Block
      • Handle Dialog Block
      • Reload Tab Block
      • Get Tab URL Block
      • Cookie Block
    • Web Interaction
      • Click Element Block
      • Get Text Block
      • Scroll Element Block
      • Link Block
      • Attribute Value Block
      • Forms Block
      • Javascript Code Block
      • Trigger Event Block
      • Switch Frame Block
      • Upload File Block
      • Hover Element Block
      • Save Assets Block
      • Press Key Block
      • Create Element Block
    • Control Flow
      • Repeat Task Block
      • Conditions Block
      • Element Exists Block
      • While Loop Block
      • Loop Data Block
      • Loop Elements Block
      • Loop Breakpoint
    • Data
      • Insert Data Block
      • Delete Data Block
      • Get Log Data Block
      • Slice Variable Block
      • Increase Variable Block
      • RegEx Variable Block
      • Data Mapping Block
      • Sort Data Block
    • Оnline Services
      • Google Sheets Block
    • Premium
      • ChatGPT Block
      • Captcha Block
  • REFERENCE
    • Logs
    • Schedule
    • Storage
    • Packages
    • Condition Builder
    • Workflow Common Errors
    • JavaScript Execution Context
Powered by GitBook
On this page
  1. Blocks
  2. General

Wait Connections Block

Description of Wait Connections Block work

PreviousClipboard BlockNextNotification Block

Last updated 1 year ago

In Goless visual programming system you can execute a group of blocks in parallel. It is enough to create a branch on one of the blocks and we will get two parallel execution threads in the workflow as shown on the screenshot.

Note that no condition blocks are placed here, so both branches can be executed simultaneously. To wait for the execution of all the parallel threads of execution in the workflow, we need the Wait Connections block. The Timeout (milliseconds) value of the block sets how long the block waits for the whole thread to finish execution, the default value is 10 000 ms (10 seconds). When the timeout is reached, the workflow will continue to execute the next block.

Only Continue a Specific Flow

This option in the block allows you to select a single execution flow. If you select this option, a drop-down list of items connected to the block's input appears.

Note that without the Only Continue a Specific Flow option, the third New Tab block is executed 2 times in two execution threads. After the option is enabled in the settings, you can select the flow by its last element.

After selecting one of the threads, the third New Tab block is executed 1 time after the Wait Connections block. Both execution threads before the Wait Connections block are successfully executed.