Azure Logic Apps: Schedule, Trigger, and Monitor Workflows
Disclaimer
Your use of this download is governed by Stonebranch’s Terms of Use, which are available at https://www.stonebranch.com/integration-hub/Terms-and-Privacy/Terms-of-Use/
Introduction
This Universal Task can trigger and monitor the execution of Azure Logic workflows and retrieve the execution of Azure Logic workflow output. The Universal Controller integrates with Logic Apps through Rest-APIs securely through the Azure Oauth2.0 authentication mechanism.
Overview
This task passes dynamic input parameters (JSON format) to each Azure Logic app workflow.
The task triggers a workflow, monitors it until the process is completed, and then delivers the results to Universal Controller.
Customers can manage and control Logic App workflow execution from Universal Controller, with the capability to employ other dependencies like time triggers or event-based jobs/workflows.
This task offers ITSM integration capability, enabling the auto-creation of incidents in case of Logic Apps workflow execution failure.Â
Software Requirements
Software Requirements for Universal Template and Universal Task
Requires Python 3.6 or higher. Tested with the Universal Agent bundled Python distribution.
Python modules required
requests
UAC Global Variables should be set in order to run the UT properly.
Global variable: Azure_access_token to be set with Azure access token and this will be used to make the REST-API calls authenticated from universal controller to Azure logic apps
Azure_Access_token can be populated with new access token by setting up a web services task that can run periodically; for example, every hour.
Software Requirements for Universal Agent
Universal Agent for Windows x64 Version 6.9 and later with python options installed
Universal Agent for Linux Version 6.9 and later with python options installed
Software Requirements for Universal Controller
Universal Controller Version 6.9.0 and later
Software Requirements for the Application to be Scheduled
This Universal Task can schedule and execute Azure Logic Apps workflows with API Version 2016-06-01.
Azure Logic apps
This Universal Task can trigger and monitor the execution of Azure Logic workflows and retrieve the execution of Azure Logic workflow output. The Universal Controller integrates with Logic Apps through Rest-APIs securely through the Azure Oauth2.0 authentication mechanism.Â
Key Features
Feature | Description |
Workflow Trigger Run | Trigger a logic apps workflow in Azure, monitor the execution, and pull the output results to Universal Controller. |
Import Azure Logic apps Downloadable Universal Template
To use this downloadable Universal Template, you first must perform the following steps:
- This Universal Task requires the Resolvable Credentials feature. Check that the Resolvable Credentials Permitted system property has been set to true.
- To import the Universal Template into your Controller, follow the instructions here.
- When the files have been imported successfully, refresh the Universal Templates list; the Universal Template will appear on the list.
Configure Azure Logic apps Universal Task
For the new Universal Task type, create a new task, and enter the task-specific details that were created in the Universal Template.
Field Descriptions for Azure Logic apps Universal Task
Field | Description |
Function | Select the function for logic apps. |
subscription Id | Azure Subscription ID. |
Api-version | Provide the api version for Azure API. |
Trigger Name | Should be set to “Manual“. |
Workflow Name | Name of the Azure Logic Apps workflow. |
Input Parameter | Run time input parameters(JSON) for the logic apps workflow. |
Examples for Azure Logic apps Universal Tasks
Trigger a Azure Logic apps Workflow
Oauth2.0 Webservices Task - Refresh Access Token
Webservices Task Actions to Assign New Access Token to Global Variable
Document References
This document references the following documents:
Name | Description |
---|---|
User documentation for creating Universal Templates in the Universal Controller user interface. | |
User documentation for creating Universal Tasks in the Universal Controller user interface. |