cancel
Showing results for 
Search instead for 
Did you mean: 

Pass first value in queue - PI Mapping

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor

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

Answers (2)

Answers (2)

former_member190293
Active Contributor

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.

Former Member
0 Kudos

Thanks Evgeniy, it resolved by adding copy value.

Ryan-Crosby
Active Contributor

Hi Pooja,

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

Regards,

Ryan Crosby

Former Member
0 Kudos

Thanks Ryan , it resolved by adding copy value.