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)?

  • August 25, 2017
  • 2 replies
  • 56 views

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

2 replies

Forum|alt.badge.img+9
  • Nintex Employee
  • Answer
  • August 25, 2017

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


  • Author
  • August 25, 2017

I will try that solution. Thank you, Callum!