Quickly search all the work items in a simulation object to select one with the highest numerical label value. It becomes the Current Work Item. The maximum value is also returned.
If no work items are found Current Work Item is set to 0.
This is faster than writing Visual Logic that loops along the objects's work items selecting each and checking label values.