Hi Guys,
I wanted to add a variable to a string and both should be in double quotes, please help me .
Example: ““Description””:““No items++””
I wanted to add a variable after No items please help me here
Hi Guys,
I wanted to add a variable to a string and both should be in double quotes, please help me .
Example: ““Description””:““No items++””
I wanted to add a variable after No items please help me here
@Shaik.Yezdani
havae a look here:
it can be done with multiple "
with chr(34) and concantenating the double quotes can be created
@ppr i am giving the same inputu while calling the put method in http request.
Body:“{”“number”“: ““TASK0888957"”,”“state””: ““2"”,”“assigned_to”“: ““AC56742"”}”
Error Msg:”{"error":{"detail":"","message":"com.glide.rest.domain.ServiceException: Exception while reading request"},"status":"failure"}"
status code:500
please be a little bit more clear on your case:
from your last provided sample it cannot be derived what is string what is injected variable
from the above provided example the part with 3 times using " is showcasing on how to set double quotes in strings
@ppr uipath input:“{”“number”“: ““TASK0888957””,”“state”“: ““2””,”“assigned_to”“: “AC56742””}
postman input: :{“number": “TASK0888957”,“state”: “2",“assigned_to": “AC56742”}
above input is the body i am directly hard coding and giving, same i am trying through postman it is working fine but through uipath i am getting 500 status code.
@Shaik.Yezdani
lets do one by one. Focus on the double quotes accordingly to your topic title:
with keeping in mind:
demo xaml here:
DoubleQuotesInString.xaml (4.9 KB)
So step one with the double quotes should be cleared
about the issue with Postman working UiPath not:
Just avoid Ping Pongs on description / requirement exchanges. Thanks
@ppr Thank you
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.