Шпора
Get Next Work
Thus the default “Get Next Work” functionality can be summarized into these steps:- Users click either the “Next Assignment” link or the “Get Most Urgent” button.
- The Work-.GetNextWork activity starts
- The Work-.GetNextWorkObject activity starts
- The OperatorID.pyWorkBasketFirst property is checked “Get from workbaskets first?” Check box on Work tab of the Operator ID rule form
- If TRUE then it calls Work-.findAssignmentinWorkbasket activity first then examines the worklist
- If FALSE then it calls Work-.findAssignmentinWorklist activity first then examines the workbasket
- The Work-.findAssignmentinWorkbasket activity starts and uses the list view Assign-Workbasket.GetNextWork.ALL. The list of assignments are sorted in decreasing order by assignment urgency (property Assign.pxUrgencyAssign)
- "Merge Workbaskets?” checkbox is NOT checked
- workbaskets are searched in order defined on Work tab
- “Merge Workbaskets?” checkbox is checked
- “use all workbasket assignments in user’s workgroup?” is checked
- list of assignments from all workbaskets with the same workgroup as this user
- “use all workbasket assignments in user’s workgroup?” is NOT checked
- assignments from all listed workbaskets in the Work tab are assembled into a single list
- Assign-.GetNextWorkCriteria Decision Tree is used to filter the most appropriate task.
- This decision tree rule first checks to see if the task is ready to be worked on. This means that the pyActionTime property of the task is NOT in the future.(When IsReadyToBeWorkedOn)
- If it is ready to be worked on, the decision tree checks if the current worker has already worked on or updated the task earlier that day.(When HasBeenUpdatedByMeToday)
- If the current worker did not work on the task, the Assign-.GetNextWorkCriteria now examines whether the worker has the required skills to work on this task. The worker’s skills are recorded on the work tab of the operator ID rule form.(When CurUserHasRequiredSkills)
- First task that passes all the above requirements is selected
- New newAssignPage is populated with this task and the case instance is locked
- Based on GetNextWork_MoveAssignmentToWorklist system setting rule
- No assignment is found from the workbaskets
- Repeat steps 5 to 8 but with the Work-.findAssignmentinWorklist activity and the standard list view Assign-Worklist.GetNextWork.All
Note: The order in Step 9 is reversed if pyWorkBasketFirst property is false, as explained in step 4 – the worklist is processed first and then the workbaskets.
Комментариев нет:
Отправить комментарий