I need to customize the OOTB Transfer Assignment view so that the available options depend on the source of the assignments:
Assign-WorkList: Both options should be available (User and Work queue).
Assign-WorkBasket: Only the User option should be available.
The “Transfer to property” is a local list with the two options hardcoded and the view references it as .pyAssignment.pyReassignType.
The OOTB view references this property directly, and I haven’t found a straightforward way to conditionally display different options depending on whether the bulk action was launched from the Worklist or Workbasket table.
I’ve struggled to identify which properties or context information are available when the view is rendered. Most of the parameters I’ve tried seem to return null.
Build your own action? This is currently not supported at Assign- level, this is hard coded action for all assign- items. (This is why I suggest looking at the above.)
I know the product plans to expand this in the future.
Were you able to see the changes in the Bulk Actions → Transfer Assignment? I see the changes implemented in the view on the Case Designer but when doing Bulk Actions → Transfer Assignment it loads the original pyTransferAndAdjustSLA view.
Looks like it defaults to the original pyTransferAndAdjustSLA instead of resolving the specialized rule.
Nice! Having both parent and child view modified did the trick.
Now one last item, I added a when condition to the pyReassignView, traced it and went to my portal, when going to the landing page and clicking some assignments in a table I proceeded to Bulk Actions → Transfer Assignments, I noticed the when condition running now, and I think one key question remains:
Does the Transfer Assignment flow receive any context identifying the source table or assignment class that initiated the bulk action?
For example, is there a way to dynamically display a different version of the view depending on whether the action was triggered from an Assign-WorkList or Assign-WorkBasket table?