Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

HRSD Playbook duplicating tasks

richardleese
Kilo Contributor

When a lifecycle is being initiated in SN HRSD and an agent is working through the playbook we are having issues where tasks are being duplicated sometimes 90 times etc, but this does not happen every time.  We have not been able to figure out what is causing this, have a SN ticket open which has also not helped yet.

 

Completing the one task does not close down the duplicates and they have their own HR Task number.

3 REPLIES 3

Martin Virag
Mega Sage
Mega Sage

Could you elaborate a little bit more?
Is this an OOB lifecycle event?
A custom event created by you? How do you exactly defined these tasks that are being duplicated?
Where do you see them duplicated?

User186043
Tera Guru

Want to confirm if the HR Task is actually being duplicated, or if the issue (and multiple Tasks) disappear after a refresh. We have seen this recently with the HR Agent Workspace playbook tab when a task is completed while the Agent has the panel open. It appears to be a UI bug as the code is looking for changes to HR Tasks and creating a new line item for the task, but not refreshing the whole pane or cleaning up the previous iteration of the task

Sandeep Rajput
Tera Patron
Tera Patron

@richardleese Could you please check if you are using a Submit Catalog Item type HR task activity which generating the duplicate task?