Forum Discussion

Ashish_Yadav5's avatar
Ashish_Yadav5
Copper Contributor
Aug 04, 2023

Are Custom Properties of Service Bus (Connector) Message in Logic App Always Parsed As String Value?

I am trying to send integer values in custom properties of a service bus (connector) message in logic app but the issue is that the value is automatically parsed to String value even if I pass a number in JSON object. For Reference -

 

The JSON object that I am trying to pass is -

 

{
"DemoNumber": 2

}

 

but here 2 is getting parsed as string at service bus side, The issue is that the connector treat the text as string in spite of providing numeric  values.

 

The link that I followed for the reference to use properties as {key: value} pair and possible types of values are-

https://learn.microsoft.com/en-us/connectors/servicebus/#send-message

 &

https://learn.microsoft.com/en-us/rest/api/servicebus/message-headers-and-properties#message-properties

 

So, is there any way to pass the integer value that can be fetched as a integer at service bus side also.

 

No RepliesBe the first to reply