test Run not generating for tc: Service provider(In-built) trigger/action testin
Describe the Bug
Workflow run is not getting generated after the message send to service bus queue.
Plan Type
standard
Steps to Reproduce the Bug or Issue
1.In-built service bus trigger and action test Create a service bus namespace (This is one time step) using Create service bus namespace 2.Create a new Stateful Logic App(Standard) in the VS code , select service bus trigger under the built-in connectors. 3.Select "When messages are available in Service Bus queue" 4.Copy the primary connection string from the namespace created in the step 1. Go to namespace in the portal > Select Shared access policies > RootManageSharedAccessKey > Primary connection string. Use this copied value to create a new connection for the trigger. 5.Enter the queuename(vendortestsreceive) in the Queue name parameter. 6.Turn the Split on to off state and click on "Done". 7.Add "Send message" action from the service bus built-in action as below and use the 2nd queue(vendortests) as the queue input parameter and content from the "messages content" from the trigger. It will automatically add a foreach loop as it’s a batch trigger. 8.Workflow definition should look like below 9.Send a message to the "vendortestsreceive" queue, From the namespace go to the queue, click on queues -> vendortestsreceive queue
Workflow JSON
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"For_each": {
"actions": {
"Send_message": {
"inputs": {
"parameters": {
"entityName": "test1",
"message": {
"contentData": "@item()?['contentData']"
}
},
"serviceProviderConfiguration": {
"connectionName": "serviceBus",
"operationId": "sendMessage",
"serviceProviderId": "/serviceProviders/serviceBus"
}
},
"type": "ServiceProvider"
}
},
"foreach": "@triggerOutputs()?['body']",
"runAfter": {},
"type": "foreach"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"triggers": {
"When_messages_are_available_in_a_queue": {
"inputs": {
"parameters": {
"isSessionsEnabled": false,
"queueName": "test1"
},
"serviceProviderConfiguration": {
"connectionName": "serviceBus-1",
"operationId": "receiveQueueMessages",
"serviceProviderId": "/serviceProviders/serviceBus"
}
},
"type": "ServiceProvider"
}
}
},
"kind": "Stateful"
}
Screenshots or Videos
Additional context
No response