Actions in Logic Apps

The Logic Apps workflow is a combination of triggers and associated actions. In this section, we will give you an overview of actions and how they play an important role in creating the workflow in Azure.

In Logic Apps, each workflow can have one or more actions based on their workflow requirements. Actions are nothing but a set of Microsoft-managed APIs that allow you to develop your workflow design. At the time of writing this book, Logic Apps has built-in support for more than 200 connectors with different sets of action attributes associated with each connector:

Each action within Logic Apps takes a different set of inputs and provides a different set of outputs based on the request data. The

high-level schema definition of a generic action is listed here:

In the following table, we will describe each property of the actions so that you can work easily within the designer and code views to update any of the properties if required:

Name

Optional/mandatory

Description

Action-name

Mandatory

The name of the action used in the Logic Apps workflow definition 

Type

Mandatory

The action type, such as Service Bus, Events Hub, HTTP, or wait

Inputs

Mandatory

The input data for the listed action

retryPolicy

Optional

An object to describe the action's retry behavior

runAfter

Mandatory

The previous trigger or action associated with the logic app's workflow

runtimeConfiguration

Optional

An object to change the runtime property of a webhook trigger

operationOptions

Optional

The action behavior, such as DisableAsyncPattern or Sequential

 

Actions can be sub-divided into multiple categories:

  • Built-in actions: Compose, Functions, HTTP, JOIN, PARSE JSON, Query, Response, Select, Table, Terminate, Wait, and Workflow.
  • Managed API actions: Office 365, Salesforce, Azure blob storage, Azure Active Directory, OneDrive, and SharePoint.
  • Control flow actions: Control flow actions help to include other actions and control the workflow design. Examples of control flow actions include if... else, foreach, scope, do... until, and switch-case.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.20.90