Employee Form Errors on HR Tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 04:36 AM
Hi Members,
We could see there are some employee form errors on HR tasks like "Cannot display the employee form because the associated condition returned 2 records. The condition must return one record." How can we fix this issue.
As i know the condition which is part of Employee form should satisfies only 1 record. But we have some records which contains more then 30+ records with same number. Is there any way we can bring back to one record.
Thanks,
Nagireddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 04:47 AM
Hello @NagiReddy Nagir
Please use this in your code-
gr.setLimit(1);
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 04:53 AM
Hi Harsh,
We have configured employee forms and under related list created employee form field mappings. This issue is happening only some of the tasks. I don't think that gr.setLimit(1); will work on that.
Any changes to process the employee error records and make it one record available?
Thanks,
Nagireddy