среда, 9 марта 2016 г.

Шпора

Шпора

Get Next Work

Thus the default “Get Next Work” functionality can be summarized into these steps:

  1. Users click either the “Next Assignment” link or the “Get Most Urgent” button.
  2. The Work-.GetNextWork activity starts
  3. The Work-.GetNextWorkObject activity starts
  4. The OperatorID.pyWorkBasketFirst property is checked “Get from workbaskets first?” Check box on Work tab of the Operator ID rule form
    1. If TRUE then it calls Work-.findAssignmentinWorkbasket activity first then examines the worklist
    2. If FALSE then it calls Work-.findAssignmentinWorklist activity first then examines the workbasket
  5. 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)
    1. "Merge Workbaskets?” checkbox is NOT checked
      1. workbaskets are searched in order defined on Work tab
    2. Merge Workbaskets?” checkbox is checked
      1. use all workbasket assignments in user’s workgroup?” is checked
        1. list of assignments from all workbaskets with the same workgroup as this user
      2. use all workbasket assignments in user’s workgroup?” is NOT checked
        1. assignments from all listed workbaskets in the Work tab are assembled into a single list
  6. Assign-.GetNextWorkCriteria Decision Tree is used to filter the most appropriate task.
    1. 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)
    2. 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)
    3. 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)
  7. First task that passes all the above requirements is selected
  8. New newAssignPage is populated with this task and the case instance is locked
    1. Based on GetNextWork_MoveAssignmentToWorklist system setting rule
  9. No assignment is found from the workbaskets
    1. 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.

Комментариев нет:

Отправить комментарий