Widget Mappings from the HR Case To-Do list for Approvals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2022 06:50 AM
We have created a custom Widget in order to display approvals matching a specific set of conditions. In order to make use of it, we have created a new entry in the To-Do list configuration's Widget Mappings for Approvals /nav_to.do?uri=%2Fsn_hr_sp_todos_config.do%3Fsys_id%3D23fb71a8731023002ceb31d7caf6a7b6.
This works as expected when the approval is displayed from the ToDo list page: The expected custom widget will be used to render the Approval, as configured in the Widget Mappings of the Approval To-Do config
However, when the same approval is displayed from the HR Case, the incorrect widget is used to render the approval (it uses the default one). What's puzzling to me is that in both cases (when viewed from the toDo list and from the HR Case), through script debugging I figured the same code is actually used (getTodoLineWidgetID() from the widget "To-dos task Line Item). So I was expecting the same behavior in both situations.
I have attached some screenshots to illustrate.
Now I wonder if there is an issue on the platform for this, or I'm doing something wrong, or if there is any way for me to configure which widget to render when the approval is viewed from the HR Case.
Any insight would be appreciated. Thanks.
- Labels:
-
HR Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 05:47 AM
Hi
Looking at your screenshot of the To-dos widget mappings, you still have an active one for HR Case table source opening in the default HR Case Approval widget instead of your custom widget. Try to deactivate that record also and test again; or update it to use the custom widget.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 05:48 AM
Hi
Looking at the widget mapping screenshot, you still have an active record for the HR Case source table to open in the default widget. Try either deactivating this or updating it to use your custom widget also.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 05:58 AM
Your screenshot of the widget mappings shows that you still have an active record when the source table is HR Case, and it is going to the default approval widget. I would recommend either deactivating that record or updating it to also use your custom widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2024 03:18 PM
I ran into the same issue and put in a support ticket. Disappointingly, their answer was that the widget structure is different for the task in My Requests than it is in My Tasks, so the Use Widget configuration won't work under My Requests.