Skip to Content

Ifs then function not working

Hi Experts,

I am facing an problem in PI at "ifs" then function. Target field is a mandatory field always expecting one value. In some cases, value's are getting suppressing at 'if then else' function even though it receives values from "Ifs" function. Logic defined as follows,

Mapping Logic:

Success case:

display queue result at Ifs:

display queue result at If then else.

:

Failed case:

display queue result at Ifs:

display queue result at If then else.

Can some one please help me to understand this?

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jan 12, 2016 at 08:50 AM

    Hi Sivakrishna,

    Have you checked this blog Difference between IF and IFS?

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 12, 2016 at 09:36 AM

    Hi Sathu,

    I've tried replicating your issue but it did not work. Can you share the full mapping for that field?

    Regards,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 12, 2016 at 12:39 PM

    i think your mapping is in wrong context.

    show me your idoc and mapping and then we can fix your issue

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 12, 2016 at 03:35 PM

    Hi Sivakrishna,

    You need to pass same number of queue entries to IFS function. Below example you are passing 5 and 2 entries to IFS function it should be same values.

    Regards,

    Praveen.


    ifs.png (38.8 kB)
    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.