Skip to Content
avatar image
Former Member

Pass first value in queue - PI Mapping

Hi Experts,

I have a requirement were I need to pass the first value in the queue and suppress the other values while passing it to target.

I tried using the graphical mapping but it not working , do I need to write the UDF for this requirement. , if so can you help me with UDF.

Thanks,

Pooja

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 18, 2017 at 05:28 PM

    Pooja,

    Have you tried using CopyValue ?. If yes then that didn't work , than request you to provide a sample input and expected output for that.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 18, 2017 at 06:18 PM

    Hi Pooja!

    In addition to Ryan's answer: if you need to process multiple contexts CollapseContexts should be followed by SplitByValue[Each value] function as soon as CollapseContexts remove all the context changes as well.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 18, 2017 at 06:10 PM

    Hi Pooja,

    You should be able to achieve the passing of the first value only by using the CollapeContext function.

    Regards,

    Ryan Crosby

    Add comment
    10|10000 characters needed characters exceeded