How to Set a Value Into "To Address" Using A Groovy Code

(Doc ID 2355576.1)

Last updated on JANUARY 31, 2018

Applies to:

Oracle Fusion Engagement Cloud Service - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Goal

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?

Something like:
def value = "person.name@company.com"
setAttribute('To Address', value);


STEPS TO REPRODUCE
-----
1. App Comp > Object Workflows > create object workflow
2. click email notification
3. To Address field
 

Solution

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