cancel
Showing results for 
Search instead for 
Did you mean: 

Count

Former Member
0 Kudos

Hi,

I have a requirement where i need to count the number of context for an element and change the target element accordingly.

For eg.,

s.l.no

1

2

3

Target Element

xxx

xxx

xxx

If the s.l.no is less than one, i just need to map as it is.

s.l.no.

1

target

1

Regards

KRish

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

> I have a requirement where i need to count the number of context for an element

you can use count or index

Former Member
0 Kudos

Hi Krish,

Can you please elaborate more on your requirement?

If the requirement is of creating the target element as many times as number of contexts in the source side, then below can be done:

Source Element --> collapseContext --> splitByValue(Each Value) --> Target Element

Let us know what is exactly required, somebody from the forum will help you on this.

-Tanaya.