Notifications

182 views

Description

Submitting a HR task type "Submit catalog item" does not refresh the list of open to-do's

Steps to Reproduce

1) Login to any New York instance.
2) create a life cycle event.
3) create two activities under life cycle event as below with activity type as "employee"
a) Create a new HR task template==> HR task template = submit catalog item ==> apple ipad.
b) Create a new HR task template==> HR task template = URL
4) create a life cycle event for user "HR admin"
5)Move case to "ready" and make sure HR tasks are assigned to "HR admin" and state is "ready"
6) On esc portal, impersonate "hr admin", click "to-do" and find the HR task with Hr task template = submit catalog item
7) submit the catalog item and note that, the task is not moved to "completed". Refresh the page and the task is then moved to completed.
8) For the second task, click on link and then click on complete. Please note that the task is moved to "completed" as expected.

Workaround

In SP Widget "HRM Todos Summary" within the Client Controller there is an issue with order of operations. To fix, change this line (202):

if ((w.data.changes.length == 1 && (_.includes(w.data.changes, 'comments'))||_.includes(w.data.changes, 'work_notes')))

to this:

if (w.data.changes.length == 1 && ((_.includes(w.data.changes, 'comments'))||_.includes(w.data.changes, 'work_notes')))


Related Problem: PRB1379743

Seen In

SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Vendor Risk Management - Madrid 2019 Q1

Fixed In

Orlando Patch 7
Paris

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-07-31 15:29:35
Published:2020-02-03