Mail Receipient to be determined dynamically
I have a requirement where i have to send a mail to user depending on the plant. So i have created a custom background method to determine the agent for the mail based on the plant. Then i am passing this as a expression to mail. I mean i am binding this to agent name to addressstring container of the mail task.
But I am getting the error Object 000000058286 method SENDTASKDESCRIPTION cannot be executed and Document <Budget For Order 800053 Exceeded> could not be sent. How can i rectify this error.
Please guide me as soon as possible.
Thanks and regards,