We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In step Put-CreateCDMFile remove Initialize DocPayload from the run after list. The UI is updated, but the change in not done in the JSON.
Consumption (Portal)
Windows
New Designer
Yes
{ "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", "triggers": { "When_a_message_is_received_in_a_topic_subscription_(auto-complete)": { "recurrence": { "frequency": "@parameters('RecurrenceTriggerFrequency')", "interval": "@parameters('RecurrenceTriggerInterval')" }, "evaluatedRecurrence": { "frequency": "Minute", "interval": 5 }, "type": "ApiConnection", "inputs": { "host": { "connection": { "name": "@parameters('$connections')['servicebus_hip']['connectionId']" } }, "method": "get", "path": "/@{encodeURIComponent(encodeURIComponent(parameters('SB-TriggerTopicName')))}/subscriptions/@{encodeURIComponent(parameters('SB-TriggerTopicSubscriptionName'))}/messages/head", "queries": { "subscriptionType": "Main" } } } }, "actions": { "Get-BlobContent": { "runAfter": {}, "type": "Http", "inputs": { "uri": "@{triggerBody()?['Properties']?['BlobURL']}", "method": "GET", "headers": { "X-Correlation-ID": "@{trigger()?['clientTrackingId']}", "x-ms-blob-type": "BlockBlob", "x-ms-date": "@{formatDateTime(utcNow(),'r')}", "x-ms-version": "2019-02-02" }, "authentication": { "audience": "https://storage.azure.com/", "identity": "/subscriptions/03f41e38-4dae-4519-b026-4655e0b2c023/resourceGroups/rg-int-hip-ais-weu-int/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-int-hip-ais-weu-int", "type": "ManagedServiceIdentity" } } }, "Initialize_DocPayload": { "runAfter": { "Get-BlobContent": [ "Succeeded" ] }, "type": "InitializeVariable", "inputs": { "variables": [ { "name": "DocPayload", "type": "string", "value": "@{xml(json(concat('{\"',toLower(triggerBody()['Properties']['DocType']),'\":',body('Get-BlobContent'),'}')))}" } ] } }, "Put-CreateCDMFile": { "runAfter": { "Initialize_DocPayload": [ "Succeeded" ], "Initialize_AzureQueue": [ "Succeeded" ] }, "trackedProperties": { "CorrelationId": "@{trigger()?['clientTrackingId']}" }, "type": "Http", "inputs": { "uri": "https://@{parameters('AisStorageAccount')}.blob.core.windows.net/@{parameters('CDMBlobContainer')}/CDM_@{triggerBody()?['Properties']?['FileName']}", "method": "PUT", "headers": { "x-ms-blob-type": "BlockBlob", "x-ms-date": "@{formatDateTime(utcNow(),'r')}", "x-ms-meta-correlationId": "@{trigger()?['clientTrackingId']}", "x-ms-meta-DocType": "@{triggerBody()?['Properties']?['DocType']}", "x-ms-meta-DocumentTypeId": "@{triggerBody()?['Properties']?['DocType']}", "x-ms-meta-sender": "SF-OMS", "x-ms-version": "2019-02-02" }, "body": "@body('Transform_XML')", "authentication": { "audience": "https://storage.azure.com/", "identity": "/subscriptions/03f41e38-4dae-4519-b026-4655e0b2c023/resourceGroups/rg-int-hip-ais-weu-int/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-int-hip-ais-weu-int", "type": "ManagedServiceIdentity" } } }, "Send-Message": { "runAfter": { "Put-CreateCDMFile": [ "Succeeded" ] }, "type": "ApiConnection", "inputs": { "host": { "connection": { "name": "@parameters('$connections')['servicebus_hip']['connectionId']" } }, "method": "post", "body": { "Properties": { "AzureQueue": "uk", "BlobPath": "https://@{parameters('AisStorageAccount')}.blob.core.windows.net/@{parameters('CDMBlobContainer')}/CDM_@{triggerBody()?['Properties']?['FileName']}", "CorrelationId": "@{trigger()?['clientTrackingId']}", "DocType": "@{triggerBody()?['Properties']?['DocType']}", "DocumentTypeId": "@{triggerBody()?['Properties']?['DocType']}", "FileName": "CDM_@{triggerBody()?['Properties']?['FileName']}", "MessageID": "@{triggerBody()?['Properties']?['MessageId']}", "Receiver": "@{triggerBody()?['Properties']?['Receiver']}", "Sender": "@{triggerBody()?['Properties']?['Sender']}" } }, "path": "/@{encodeURIComponent(encodeURIComponent(parameters('CDMQueue')))}/messages", "queries": { "systemProperties": "None" } } }, "Transform_XML": { "runAfter": { "Initialize_DocPayload": [ "Succeeded" ] }, "type": "Xslt", "inputs": { "content": "@variables('DocPayload')", "integrationAccount": { "map": { "name": "Map.GNH.SALESFORCE-OMS_@{toUpper(triggerBody()['Properties']['DocType'])}_To_CDM" } }, "transformOptions": "DisableByteOrderMark", "xsltParameters": { "MessageID": "@trigger()?['clientTrackingId']" } } }, "Initialize_AzureQueue": { "runAfter": { "Transform_XML": [ "Succeeded" ] }, "type": "InitializeVariable", "inputs": { "variables": [ { "name": "AzureQueue", "type": "string", "value": "@xpath(body('Transform_XML'),'asdsad')" } ] } } }, "outputs": {}, "parameters": { "AisStorageAccount": { "defaultValue": "stognhaisweuint", "type": "String" }, "CDMBlobContainer": { "defaultValue": "salesforce-oms-to-cdm", "type": "String" }, "CDMQueue": { "defaultValue": "salesforce-oms-to-cdm", "type": "String" }, "InboundContainer": { "defaultValue": "ingest-from-salesforce-oms", "type": "String" }, "RecurrenceTriggerFrequency": { "defaultValue": "Minute", "type": "String" }, "RecurrenceTriggerInterval": { "defaultValue": 5, "type": "Int" }, "Map.STEEL.CDMSendToLogAnalytics": { "defaultValue": "Map.STEEL.CDMSendToLogAnalytics", "type": "String" }, "SB-TriggerTopicName": { "defaultValue": "ingest-from-salesforce-oms", "type": "String" }, "SB-TriggerTopicSubscriptionName": { "defaultValue": "Orders-SALESFORCE-OMS", "type": "String" }, "$connections": { "type": "Object", "defaultValue": {} } } }, "parameters": { "$connections": { "value": { "servicebus_hip": { "id": "/subscriptions/03f41e38-4dae-4519-b026-4655e0b2c023/providers/Microsoft.Web/locations/westeurope/managedApis/servicebus", "connectionId": "/subscriptions/03f41e38-4dae-4519-b026-4655e0b2c023/resourceGroups/rg-int-hip-ais-weu-int/providers/Microsoft.Web/connections/APICON-GNH-MI-SB-SALESFORCE-OMS-AIS-WEU-INT", "connectionName": "APICON-GNH-MI-SB-SALESFORCE-OMS-AIS-WEU-INT", "connectionProperties": { "authentication": { "identity": "/subscriptions/03f41e38-4dae-4519-b026-4655e0b2c023/resourceGroups/rg-int-hip-ais-weu-int/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-int-hip-ais-weu-int", "type": "ManagedServiceIdentity" } } } } } } }
No response
firefox
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug with repro steps
In step Put-CreateCDMFile remove Initialize DocPayload from the run after list. The UI is updated, but the change in not done in the JSON.
What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Screenshots or Videos
No response
Browser
firefox
Additional context
No response
The text was updated successfully, but these errors were encountered: