Escolar Documentos
Profissional Documentos
Cultura Documentos
October 4, 2017
[Revised January 15, 2018]
Overview ...................................................................................................................................... 4
Limitations .................................................................................................................................... 6
The following is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be relied upon in making purchasing decisions. The
development, release, and timing of any features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.
The information in this document is correct as of the published date. However, Oracle Sales and
Engagement Cloud continues to evolve and software updates are applied frequently; therefore this
information is subject to change. Check with your Oracle Representative for updates.
This document supplements standard product documentation, which you are encouraged to review. To
find documentation and other learning resources, such as guides, whitepapers, and videos, visit the
Help Center for Oracle Sales Cloud.
AUDIENCE
This document is for Oracle Sales and Engagement Cloud (Release 12 and higher) customers involved in
implementation. The tips and techniques detailed in this document may not be suitable for other CX
Applications.
You will need to know how to call a REST service using Chrome Postman or any other tool, to use the
information in this document.
This document describes how to call an object function at a scheduled time using the Enterprise
Scheduler. This can be used if you want to process a set of records on a daily or weekly basis,
asynchronously, where users do not need to see immediate feedback in the user interface.
This document walks through one example to illustrate how this approach is used to update
opportunities that are more than 30 days past the closed date. This would be a better option for batch
processing, rather than defining an object work flow on a record-by-record basis. Here, we configure
custom logic using groovy so it can be as complex as needed, can be long-running without blocking the
user interface, and can be used for batch processing a small set of records per job and break down a job
into manageable chunks.
The following steps show how to create an Object function to update opportunities that are more than
30 days past the closed date.
Steps needed:
1. Create an Object function.
2. Schedule the process.
4. Enter the following information on the Process details page. Keep in mind that entries on this page
are case-sensitive:
• Application Name (required in R12): the name of the application (such as sales, crmCommon, or
service).
• Object Name: the REST Service resource name of the object for which you defined the object
function (such as opportunities, leads, or activities). See Locating the Object Name for details.
• Object Function Name: the name of the object function you created using Application Composer.
5. Click the Advanced button to schedule the process or to run “As soon as possible” to test it.
6. Click Submit. The process will be scheduled to run based on the options you selected.
“Object name” is the REST resource name of the object for which the object function is defined. This is
the API name that the REST service uses to refer to the object. Here are few objects with their REST
resource names.
Object Name REST Resource Name
Opportunity opportunities
Activity activities
Sales Leads leads
Notes notes
To find the REST resource name, see REST API for Oracle Sales Cloud R13 on the Oracle Help Center or
check the result obtained in a REST GET request. The URL for a target system is:
Release 12:
Release 13:
For a custom object, the resource name will end with "_c."
LIMITATIONS