- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2017 05:05 AM
Hi,
I have an catalog item containing list collector variable in it . I have a requirement to get the " count of selected values of list collector variable " in the workflow associated with it .Workflow is on requested item table.
Please help me in solving the issue.
Thanks in advance,
Niharika
Solved! Go to Solution.
- Labels:
-
Enterprise Asset Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2017 05:12 AM
Hi Niharika,
var variablename = current.variables.yourvariablenmae.toString(); // here it gives all values comma seperates
var splitthevalues = variablename.split(','); // Spli all variables by comma
var length = splitthevalues.length; // here you will get the length
Regards,
Harish Murikinati.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2017 05:12 AM
Hi Niharika,
var variablename = current.variables.yourvariablenmae.toString(); // here it gives all values comma seperates
var splitthevalues = variablename.split(','); // Spli all variables by comma
var length = splitthevalues.length; // here you will get the length
Regards,
Harish Murikinati.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2017 05:27 AM
Thank you so much Harish..