0
0
Azurecloud~10 mins

Logic Apps for visual workflows in Azure - Step-by-Step Execution

Choose your learning style9 modes available
Process Flow - Logic Apps for visual workflows
Start Logic App Trigger
Evaluate Trigger Condition
Run Actions
Check Action Results
End or Loop/Retry
Logic Apps start with a trigger, then run actions if conditions are met, and finally end or wait for the next trigger.
Execution Sample
Azure
Trigger: When HTTP request received
Action 1: Get file content
Action 2: Send email with file
Condition: If file exists
End
This Logic App waits for an HTTP request, then gets a file and sends it by email if the file exists.
Process Table
StepActionInputCondition CheckResultNext Step
1Trigger firesHTTP request receivedN/ATrigger activatedRun Action 1
2Get file contentFile path from triggerN/AFile content retrievedCheck if file exists
3Condition checkFile contentFile exists?YesRun Action 2
4Send emailFile contentN/AEmail sentEnd Logic App
5EndN/AN/AWorkflow completeWait for next trigger
💡 Logic App ends after sending email and waits for the next trigger.
Status Tracker
VariableStartAfter Step 2After Step 3Final
TriggerStatusNot firedFiredFiredFired
FileContentEmptyLoadedLoadedLoaded
ConditionResultUnknownUnknownTrueTrue
EmailStatusNot sentNot sentNot sentSent
Key Moments - 2 Insights
Why does the Logic App wait after the trigger if the condition is not met?
Because as shown in step 3 of the execution_table, if the condition 'File exists?' is No, the Logic App does not run the email action and waits for the next trigger.
What happens if the trigger never fires?
The Logic App stays idle and does not run any actions, as the trigger is the starting point (step 1). No further steps execute without it.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, what is the result after Step 2?
AFile content retrieved
BTrigger activated
CEmail sent
DWorkflow complete
💡 Hint
Check the 'Result' column for Step 2 in the execution_table.
At which step does the Logic App check if the file exists?
AStep 1
BStep 3
CStep 2
DStep 4
💡 Hint
Look at the 'Condition Check' column in the execution_table.
If the file does not exist, what happens next according to the execution flow?
ASend email anyway
BEnd Logic App immediately
CWait for next trigger without sending email
DRetry getting file content
💡 Hint
Refer to the concept_flow and step 3 in the execution_table where condition is checked.
Concept Snapshot
Logic Apps start with a trigger that listens for events.
They run actions in order, based on conditions.
Conditions decide if next actions run or wait.
Workflows end or wait for next trigger.
Visual design helps build and understand flow.
Full Transcript
Logic Apps are visual workflows in Azure that start when a trigger event happens, like receiving an HTTP request. Once triggered, the Logic App runs actions step-by-step. For example, it can get file content and then check if the file exists. If the file exists, it sends an email with the file. If not, it waits for the next trigger without sending the email. Variables like TriggerStatus and FileContent change as the workflow runs. This flow helps automate tasks without writing code, using a clear visual design.