Remediation Task populating in every engagement - Audit Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 11:03 AM
Hi All,
When I create an engagement, remediation tasks from other issues under different engagements are populating in each engagement record. My script is below. It's working fine in my PDI but not sure why it's not working correctly in dev instance. Need the Remediation Task to populate only in the issue and engagement it was created under. Any assistance is appreciated.
Regards,
Randi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 07:28 AM - edited 07-11-2024 07:28 AM
You current scripted relationship doesnt filter to consider only engagements created from the current engagement. You have to make a new field or potentially look at using a field on the issue to capture from which engagement the issue was raised from.
Once you have that you will be able to add it to this script and filter out issues. OOTB there is an engagement field on the issue record that use to capture the engagement that the issue was raised from but its not consistently populated as it is legacy (for example i dont think it is populated when an issue is created from a control test for an engagement). You could use that legacy field and build a flow to make sure it is populated and use that to filter the data.