I am trying to address script timeout issues by processing chunk of records in one iteration and next chunk in next iteration.
Lets say I have a list of 100 items which need to updated based on some logic.
I am planning to break 100 items into 10X10 and process 10 item in single script execution. So 10 script executions will complete the task.
My workspace "Test-workspcae" has a multiselect picklist which gets its data/records from "Items and BOMs" workspace.
I am planning to execute the script on "Test-workspace" item and which has 100 "Items and BOMs" records in its multiselect picklist field.
Now in the script when I do a println to see items in Multiselect picklist field , Everytime I execute the script the order of items is different.
So my question is there a way to get a ordered list of values for a Multiselect picklist field.
If not I wil have to fnd different way to address timeout issue.
Ravi
Ravi, interesting request. ) Cuold you clarify the need to have the list sorted?