My goal was to create workbaskets where the view of the workbasket is filtered by the Skills of the Operator. In previous posts (Pulling a case from workbasket uses skills?) it was identified that this did not work using simply ToSkilledWorkbasket without some additional parameters.
What is the purpose then of routing assignments using "ToSkilledWorkbasket"? Is it used just for the Get Next rules?
Yes, the purpose of ToSkilledWorkbasket is primarly for Gext Next Work OOTB.
This type of routing basically associates the given skills to current assignment and if proper settings are enabled Get Next Work will fetch the proper assignment from this work basket based on skill set of current operator.
As I also mentioned in previous post, this type of routing (GNW) is perfectly suited for skills based filtering.
However you are talking about cherry picking and want to modify the view of the workbasket based on skills of current operator. If really needed, this can be achieved by doing a join with pr_index_assignmentskills table.
Also note that OOTB, Cherry picking(manually picking an assignment) from a workbasket will not enforce any skills related validation and that's the reason skills are honored by GNW only.
Let us know if this helps and if you need any other information.
I want to add skills dynamically in the assignment through parameter. But as the activity ToSkilledWorkbasket takes skill name as string, I can't pass property value as skill name. Could you please let me know how to achieve that dynamic skill adding in assignment?
I can't even get the ToSkilledWorkBasket activity to have any value in the UsesSkills parameter. I am passing a skill name, however at runtime, tracer always shows the parameter as empty. Have you seen this actually work? This seems like it should be pretty straight forward...custom routing, to a work basket, using ToSkilledWorkBasket router.