Skip to main content
Skip table of contents

Flow Execution Options

In OneTeg, there are three ways to execute Flows:

  • Manually, by executing the Flow.

  • By setting up a start time and schedule period for the Flow to be executed.

  • Via Webhooks/Event Calls, which enable the flow to execute when a trigger is sent to it.

To view the execution settings for each flow, please refer to the "Scheduled" column on the Flows page.

image-20241125-234254.png

3 Flows with different Execution Options

Manually Executing a Flow

To manually execute a flow either;

  • Select the “Run” option after clicking the Flow Options button in the Flows Page.

  • If you are editing a flow, you can click on the “Run” button at the right bottom side of the page.

image-20241125-234855.png

Run the flow using the Run option in the Flow Options

image-20241125-235130.png

Use the “Run bottom inside the Flow Edit Page

Once a flow has been executed manually, a new window will open and begin to provide information (flow logs) about the executed flow.

image-20241125-235346.png

Flow was executed, flow logs can be seen

Webhook Execution / Using Webhooks

OneTeg offers the ability to trigger flows using webhooks, also known as event calls. Once a flow has been created with the Webhook Connector as its first step and saved, the schedule information on the Flows page will be updated to show "Webhook."

image-20241125-235724.png

Flow with a Webhook

Webhook trigger events are configured in their originating sandbox/environment.

The OneTeg Webhook Connector can only be used as the 1st step of a flow.

To initiate a flow using a webhook, first create a flow using only the Webhook Connector and save this one-step flow. Upon saving the flow, the Webhook Connector will begin displaying the URL address that must be entered in the originating sandbox/environment.

image-20241126-000825.png

1-step flow with the Webhook connector. The flow hasn’t been saved yet.

image-20241126-001037.png

The webhook URL is displayed once the flow has been saved. Please note that this address can be used in your Event Call settings. To facilitate convenient copying of the URL address, simply click the Copy button.

It is also possible to manually execute webhook flows. Should this option be selected, only the most recent information received via the Webhook will be used.

Setting Up Schedules

Furthermore, OneTeg flows can be configured for execution according to a schedule. This option can be selected either during the creation of the flow or at a later stage. Any flow that was scheduled can also be unscheduled later on.

To create a schedule, please select the Schedule drop-down menu and choose an appropriate option.

image-20241126-001807.png

Options for Scheduling

To modify flow details, including the flow name, description, active status, continue on fail, and schedule, please use the top right information button.

Options to select for Scheduling OneTeg flows are:

  • Predefined Schedule: Select a first execution time and a predefined execution period for this flow to run.

Select a date and time for the first execution time and select a period afterwords.

image-20241126-002459.png

image-20241126-002630.png

  • One-Time Schedule: The flow will run only once in the selected time and timezone.

image-20241126-002701.png

  • Custom Schedule: Select the first execution time and select an execution frequency.

image-20241126-002924.png

image-20241126-002937.png

After selecting a frequency, a new option panel will open for you to select.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.