Skip to Content

Multi Mapping: Error in If Then condition

Hello Guru's,

My requirement is to populate multiple target objects based on the source field called location. For testing I have tried If Location = india then source objects will be mapped to MT_Tfile1 other wise it should be mapped to MT_Tfile2(while mapping i am concatenating Fname and Lanme to Name to MT_Tfile2) . See the below mapping screen for more details.

I am getting error when i try to do test with some input values.

Not able to figure out what could be the error. Can you pls suggest/help what is the issue here?



pastedImage_1.png (82.0 kB)
pastedImage_2.png (98.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2012 at 05:24 PM


    You must use Standar function equalsS (String) and not equals(boolean)



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Bertoni,

      I did the mapping for MT-Tfile2 as well. Pls see the below screens hot.

      But with this straight mapping, MT_Tfile2 is not populated for the data entered which is not equal to India. It got worked when changed the context of the filed location to messages, see the below screen.

      Can you pls explain the logic behind it? i tried to check with display queue but not able to figure out how it worked.



      pastedImage_1.png (81.5 kB)
  • Posted on Nov 19, 2012 at 05:52 PM

    are you using BPM to collect messages? use equalsS functon from category text like mentiones in earlier response, it works.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.