I'm quite a newbie to Tibco BubinessWorks and sql database, but somehow I have to use Tibco to host a simple web service to query a local database.
What I want to achieve is quite simple, my process in Tibco Designer will have a activity to query the database to find customername with input customerid.
But in the case that no customer was found with specific input customerid, I would like to generate an error. And I've tried to use a "success with condition" to link my database query activity with generate error activity, but I don't know to set the xpath.
The other question is, in the case that no customername of input id is found, does the database return me an null or an empty string?
If it's a null, for the xpath, is there anything like: if(customername = null)?
Thanks!!!