Not able to create a new survey instance for the same user under different HR tasks (e.g. take survey task, collect employee input task)DescriptionIssue: Not able to create a new survey instance for the same user under different HR tasks (e.g. take survey task, collect employee input task) This becomes problematic for the Request On-boarding HR service if a manager has more than one new hire in Activity Set: "Day 30." Only a single "On-boarding manager survey" will be created, and it will be associated with each new hire. Once a manager fills out the survey for one on-boarding case, all the cases associated to the same survey will show that it's been taken. This issue happens to collect employee input tasks too if 2 collect employee tasks (based on the same employee form) are assigned to the same user (e.g. hiring manager). Steps to Reproduce 1. Install the following plugins (with demo data): - Human Resources Scoped App: Core - Human Resources Scoped App: Service Portal - Human Resources Scoped App: Lifecycle Events2. Using admin or somone with HR Admin privs, close tasks/cases on two of the new hires that are being onboarded by Gale Nalou until the "day 30" activity set is the active one. (Alternatively, you can set all Activity sets with the excpeption of "Day 30" to inacive and onboard a couple of new hires for Gale.3. Impersonate Gale4. Navigate to HR Service Portal5. Navigate to the ticket page for one of the onboarding cases. Take the Onboarding manager survey, and notice that it will show as completed on the other new hire cases for the same hiring manager. WorkaroundThis issue was addressed in a story in San Diego. Workaround is to update the BR(s) where the survey instance is created. E.g. Create employee form (sys_script_459ba51a87e323005346caf736cb0b78.xml)Create survey instance (sys_script_394dc251534322003066a5f4a11c080c.xml) Replacecurrent.survey_instance = (new sn_assessment_core.AssessmentCreation()).createOrGetAssessment(current.survey, "", current.assigned_to);Withcurrent.survey_instance = (new sn_assessment_core.AssessmentCreation()).createAssessments(current.survey, "", current.assigned_to);Related Problem: PRB1247741