Timeline for error in multiple task assignment
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 20, 2016 at 6:55 | comment | added | GmDeepakChounan21 | Hi @Ketih It's work fine ... :) | |
Oct 20, 2016 at 6:54 | vote | accept | GmDeepakChounan21 | ||
Oct 19, 2016 at 13:32 | comment | added | Derek F |
@GmDeepakChounan21 You still need to create new Task instances. Right now, you're adding the same Task instance to the list over and over. Because it's the same instance, when you go to change the owner id, you actually end up modifying the owner id of the records already in the list. Thus, you get your error about inserting identical items in the list. You can verify this by putting your list in a debug statement (and then inspecting the log).
|
|
Oct 19, 2016 at 13:31 | comment | added | Keith C | @GmDeepakChounan21 Still unclear to me exactly what you are trying to do. Suggest you edit your question to describe that in more detail. | |
Oct 19, 2016 at 13:22 | comment | added | GmDeepakChounan21 | Hi @Keith Thanks for reply. i have create task object which are reference to Vf page. similar to the Standard task page. i want to change only Owner id rest of the information are same. | |
Oct 19, 2016 at 12:57 | history | edited | Keith C | CC BY-SA 3.0 |
added 32 characters in body
|
Oct 19, 2016 at 12:52 | history | answered | Keith C | CC BY-SA 3.0 |