- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2022 04:08 AM
I have a variable used only on a single catalog item. The field variable is called "person_to_be_copied". I want to trigegr an event from the business rule where the business rule would pass over the eventparm 1 for the recipients to the email. I was trying in several ways, but the result is either "undefined" or "[Glide Object]".
How can I approach that.
Here is with some variation I have tried, also write to the log to see if anyhow would work
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2022 05:59 AM
What type of field is person_to_be_copied? Is it a reference field to the user table? Id yes then use script in attached.
Please mark answer correct/helpful based on Impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2022 04:12 AM
Hi,
Share the code used to trigger the event. I can help you to fix.
Thank you,
Palani
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2022 04:32 AM
do you know why am I getting an error when I try to copy to code? error says "Sorry, unable to complete the action you requested."

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2022 05:02 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2022 05:09 AM
Hi,
Hope you are passing the param as current.person_to_be_copied.
Try passing current.person_to_be_copied.email.toString() and see whether the issue is resolved
Palani