Connect HomeMarketplaceComponentsNovigo Solutions-Find Element with Max Occurrence

Novigo Solutions-Find Element with Max Occurrence

Snippet

Snippet, Finance & Accounting, Novigo Solutions-Find Element with Max Occurrence

Published: March 27th, 2020

Downloads: 5

Industry: Utilities

Community Support

Novigo Solutions-Find Element with Max Occurrence

Snippet

Summary: 

This activity is used to find the element which has the highest number of occurrences in a list of elements.

This Snippet need five arguments to be supplied:

1. in_ArrayOfElements (Object []): The Array of Values to find the element which has the maximum occurrence. Required.
2. in_Value (Object): The element whose number of occurrences needs to be found. Optional.
3. out_MaxOccurredElement (Object): The element which has the maximum occurrence. Required.
4. out_ElementCount (Dictionary(String,Integer)): Output Dictionary which has each element in the list as a Key, and its number of occurrences as its value. Required.
5. out_ValueOccurrence (Integer): The number of occurrences of the argument in_Value in the list. Optional.

Details

Benefits

Finding the most frequent element in the supplied list.
Also returns a dictionary of the element and its number of occurrences.

Compatibility

Compatible with all versions of Studio starting with 2018.4.1

Dependencies

UiPath.System.Activities >= 18.4.1

Resources

- User_Guide.pdf

Licensing

By clicking download you agree to the following license.