Home:ALL Converter>how to pass topic name as parameter based on condition in logic app?

how to pass topic name as parameter based on condition in logic app?

Ask Time:2019-05-17T14:54:09         Author:Neo

Json Formatter

In logic app I got json data from HTTP connector based on that i want to give topic name to Service Bus Connector to send message to specific Service Bus topic

Currently I'm directly using Condition Connector but instead of use multiple condition connector hwo can I pass topic name based on json value ?

Json data -

{"data":[{
"name" : "demo1",
"TableName" : "Table2"
},
{
"name" : "demo2",
"TableName" : "Table2"
}]}

In for-each connector I'm looping through data[] So based on Table name I want to pass topic name to service bus which is there inside my for-loop. enter image description here[![-lo]

Author:Neo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/56181092/how-to-pass-topic-name-as-parameter-based-on-condition-in-logic-app
yy