When to use logical existence and when to use logical string

Home Page Forums BizTalk 2004 – BizTalk 2010 When to use logical existence and when to use logical string

Viewing 2 reply threads
  • Author
    Posts
    • #25384

      Hello.

      In a Map I check some source elements if they exist or not. For this I use the logical existence functoid.

      But if I use the logical existence functoid behind another functoid, like a table extractor or a string functoid, I have to use a logical string functoid to check if a value exists or not.

      Otherwise I get an error if I test the map in Visual Studio. The error is called: String was not recognized as a Boolean.

      So what is really the differenc between logical existence and logical string? Is there a “best practice” how to use and when to use it?

      Thanks in advance.

      Wolfgang 

    • #25394

      Hi Wolfgang,

       

         The logical existence functoid checks to see whether the source node exists, regardless of whether or not it contains data. The logical string functoid determines whether the input parameter is a string or not.

          So, in your scenario, you should use the logical string functoid.

       

         Daniel.

       

      • #25395

        Hi Daniel.

        Ah ok … now it is clear.

        Yes, you’re right I should use the logical string function functoid.

        Thank you very much.

        Wolfgang

    • #50498
      biztalkgurus

        Don’t Call Me Inspirational: A Disabled Feminist Talks Back by Harilyn Rousso – 9781439909362

    Viewing 2 reply threads
    • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.