How to Set a Value Into "To Address" Using A Groovy Code
Last updated on JANUARY 31, 2018
Applies to:Oracle Fusion Engagement Cloud Service - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Customer would like to use a workflow to send an email and would like to set the value in the "To Address" based a custom field.
Is it possible to set the workflow field "To Address" according the value of a custom field?
def value = "email@example.com"
setAttribute('To Address', value);
STEPS TO REPRODUCE
1. App Comp > Object Workflows > create object workflow
2. click email notification
3. To Address field
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms