Created
March 24, 2016 05:15
-
-
Save Kevin-Bronsdijk/355c7b8c415d7b5dc909 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#", | |
"actions": { | |
"CallAutomationWebhook": { | |
"conditions": [], | |
"inputs": { | |
"body": "[ { \"Id\": 1, \"Name\": \"S1\", \"ServiceName\": \"S1\" }, { \"Id\": 2, \"Name\": \"S2\", \"S2\": \"M\" }]", | |
"method": "POST", | |
"uri": "https://s1events.azure-automation.net/webhooks?token={token}}" | |
}, | |
"type": "Http" | |
}, | |
"DoSomethingWithJobId": { | |
"conditions": [ | |
{ | |
"dependsOn": "CallAutomationWebhook" | |
} | |
], | |
"inputs": { | |
"body": "@first(body('CallAutomationWebhook')['JobIds'])", | |
"method": "POST", | |
"uri": "http://requestb.in/vy8upivy" | |
}, | |
"type": "Http" | |
} | |
}, | |
"contentVersion": "1.0.0.0", | |
"outputs": {}, | |
"parameters": {}, | |
"triggers": { | |
"manual": { | |
"inputs": { | |
"schema": { | |
"properties": {}, | |
"required": [], | |
"type": "object" | |
} | |
}, | |
"type": "Manual" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment