I am trying to sort the work items based on a custom property (not Urgency) while doing the GetNextWork. For this I customized the GetNextWork (Assign-Workbasket ,list view) by joining with work class and mentioning the custom property under the "Get these fields" in content tab with appropriate sort (Descending). Though list view is working correctly ,GetNextWork is not pulling the work objects based on this property. On looking at tracer I found that findAssignmentInWorkbasket-->ShowView-->Process ;in Process activity the "SortView" (line number 34) is invoked only when pyAction is "Refresh"||"Sort"||""||"Run" ;when invoked from GetNextWork the value for pyAction is "Prepare". I made changes in findAssignmentInWorkbasket ,to set the pyAction as "Sort" and now it seems working. Is this the correct understanding or am I missing something ; because I thought just changing the sort order in list view should work for GetNextWork also.