Skip to main content
Nintex Community Menu Bar
Solved

Is it possible to count the number of items inside the index of an array(collection)?

  • Aug 25, 2017 2:42 AM UTC
  • 2 replies
  • 101 views
  • Translate All

For example in one index I have two items separated by a comma.

Collection:

Index [0] = [a,b]

 

I want to get the items a and b separately. Is that possible? 

 

Thank you!

Best answer by callum

Hi TC,

Can you do this via using Get an Item from a Dictionary: http://help.nintex.com/en-US/O365/Default.htm#cshid=1066 

if you get the item at index 0 from your initial collection, and output it to a new collection variable, I believe you will be able to work with those items as a collection, then use the Count Items in Collection on that 2nd variable (and continue to work with hte items inside).

Callum

View original

2 replies

Forum|alt.badge.img+9
  • Nintex Employee
  • Answer
  • Aug 25, 2017 3:11 AM UTC

Hi TC,

Can you do this via using Get an Item from a Dictionary: http://help.nintex.com/en-US/O365/Default.htm#cshid=1066 

if you get the item at index 0 from your initial collection, and output it to a new collection variable, I believe you will be able to work with those items as a collection, then use the Count Items in Collection on that 2nd variable (and continue to work with hte items inside).

Callum

Translate

  • Author
  • Aug 25, 2017 3:18 AM UTC

I will try that solution. Thank you, Callum! 

Translate