I will need to do database queries in web service using input string as query parameters.
But I need different queries depends on the input string values:
e.g. input1, input2
if input2 is empty or null, then do query one,
if input 2 has value then do query two.
But I don't know how to evalue a string input is null or empty string or with value.
Can any one help?
Can you use a DecisionPoint and set up different route conditions for each possible query?
Thank you for the reply.
I made it work by using Set Value then route conditions.
I assign the string length to a process integer. then check if the integer is 0 or not.
But I am not sure what form will submit when user didn't give a value. will firm submit "null" or empty string, Can I define empty string as default value?
on form field?
It will submit an empty string. There is no concept of null in xml data. Everything is treated as a string.