Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Insight

Define a custom action using an Azure Logic App

  • Last UpdatedFeb 06, 2025
  • 3 minute read

Microsoft Azure Logic Apps allow you to define and run automated workflows for your business. For detailed information about Azure Logic Apps, see What is Azure Logic Apps? on the Microsoft website.

If you use a logic app as part of your custom action, see Custom action payload structure to understand the JSON file that is sent from AVEVA Insight.

After you've defined your logic app in Azure, you can create a custom action referencing the logic app.The custom action can then be used in an alert. When the alert condition is met, AVEVA Insight sends message to the logic app with the JSON payload, and the logic app is run.

To define a custom action using an Azure Logic App

  1. In Azure, create the logic app and copy the logic app secured URL.

  2. In AVEVA Insight, select Administration from the navigation rail, then select Alert Custom Actions.

  3. On the Alert Custom Actions page, select , then select Logic App from the Custom Actions menu.

    The Add Alert Custom Action dialog displays.

  4. Type a Name for your action.

  5. Optionally, type a Description.

  6. Specify the URL for the Logic App you created for this action.

    The Add Alert Custom Action dialog with a sample value in the Logid: App URL field

  7. Optionally, enter the first of any Parameters you want available to your team members when they define an alert.

    The Enter parameter field

  8. Select The Add icon.

    The parameter displays below the Parameter field.

    The parameter

  9. Select Mandatory field if you want the parameter to be mandatory.

  10. Continue adding parameters as required.

    An example with two parameters added

    These values will be passed to the logic app in a json format. In the example above, the optional parameters plant and oil level will appear as follows:

    "optionalparameter" :

    {

    "plant" : "entered value in alert"
    "oil level" : "

    }

  11. Select Delete icon to delete a parameter.

  12. Select Add when you have finished adding all the parameters.

    Now, when your team members define alerts, they will see your custom action listed among the actions to choose from.

TitleResults for “How to create a CRG?”Also Available in