Using the "Wait on External System" Step
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Using the "Wait on External System" Step

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.9.2
Root FolderExample Lab - WOES Example
Modules None
DependenciesNone

This Example Lab project demonstrates one of the features of the Wait On External System step in the Flow Designer. 


Explanation

In this Example Lab project, the 'Wait On External System' step functions to wait for a new user account that is added to the local Decisions instance. For this Flow to work, the 'Wait On External System' step must check for a change to the user accounts every 10 seconds. The Flow cannot complete until a new account has been added to the local environment (this can be created with a mock email for testing purposes). To see the Flow work, set up two internet tabs that are logged in to a local install of Decisions. 

In the first tab, find the WOES Example Flow from this project and edit the Flow, then start the debugger. As shown, the Flow pauses at the 'Wait On External System' step every 10 seconds to check for account changes. In the second tab, navigate to System > Security > Accounts and select Create Account. Once the account has been created, return to the first tab where the Flow will now complete in no longer than the 10-second interval. The time interval can be configured from the properties of the 'Waiting On External System' step.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.9.2 or later using our Importing/Exporting article.




Was this article helpful?