In this tutorial, you will learn how to create a view with the AsyncFlow control. The AsyncFlow view lets you view and monitor the functioning of the processing logic in a flow being monitored with the ability to correct any anomalies that may occur.
The tutorial will show you how to:
You can learn more detail about the AsyncFlow control in the following reference article.
Watch the video below to learn how to create the AsyncFlow View using the Synatic Operations Portal.
Creating an Ops Portal AsyncFlow View
To begin, you must first open the Operations Portal you created earlier, go to the Operations Portal menu and click ⨁ to add a new View.
Give it a name and a meaningful description.
Select the Control type
Each Ops Portal view can be configured to use a specific control type.
For this tutorial, let's select the AsyncFlow option, which provides a view into any Synatic Flow that returns a result.
Click on the Control field.
The selection list opens, now select the AsyncFlow option.
3. The AsyncFlow control window for this View opens.
Select the Flow
Now let's select a specific Flow.
Click ⨁ to create a new Flow or alternatively,
Click in the Flow field and select the Flow you want to use from the selection list.
Select the following options to further define your View:
For this tutorial:
Leave the Allow File Upload and Mini View options deselected.
Select only the Show Runs, Allow Events, and the Allow Records options.
Save the View
When you have completed the View's configuration, click the Save View button.
Test the View
It is always advisable to test each view you create in Synatic's Ops Portal.
1. Select the Ops Portal option in the Account menu to open the Operations Portal. This is also the method used by the operations personnel to process these views.
2. Select the Ops Portal view you created from the list of available views.
3. Click the Execute Flow button to run the Flow in the View.
4. Because of the Asynchronous nature of this view, there is no displayed response from the flow.
5. The view uses the Rest data to Email flow and sends an email to the email address you captured in the required Mailto: input parameter. You should check the inbox of the email address to check that the email was received.
6. Open the attachment to verify that the file was received and the contents are correct.