Home > Contents > Index >
EMAILMANAGER.SAVE
Saves the e-mail manager object.
Syntax
<EMAILMANAGER.SAVE [NAME="process_name
"] [PREFIX="variable_prefix
"] OBJECT="email_object_name
" />Parameters
NAME (optional)
- Name of the workflow process object
PREFIX (optional)
- The first part of the name of all variables and/or lists used by this operation. Variables are typically named with the prefix, a delimiter, and then the field name. For example,
Variables.
prefix:fieldname
.
OBJECT (required)
- Name of an e-mail instance object to save.
Error Numbers
The possible values of
errno
include:
Value Description -105 Email object has a name conflict.Example
The following code creates and loads an e-mail object, sets the attributes for the e-mail object, and then saves the e-mail object.
<!-- Create and Load e-mail object--> <EMAILMANAGER.CREATE OBJVARNAME="emailObj"/> <EMAILMANAGER.LOAD NAME="AssignmentDueReminder" OBJVARNAME="emailObj"/> <br/> <!-- Set some of the e-mail attributes --> <EMAIL.SETNAME NAME="emailObj" VALUE="Name for Email"/> <EMAIL.SETDESCRIPTION NAME="emailObj" VALUE="Description"/> <EMAIL.SETSUBJECT NAME="emailObj" VALUE="Subject of Email"/> <EMAIL.SETBODY NAME="emailObj" VALUE="OK. I guess I need to add some more information in the body of the Email"/> <br/> <!-- Save the e-mail object --> <EMAILMANAGER.SAVE OBJECT="emailObj"/>
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.