IT Oracle Cloud Getting Started With Oracle Integration-2
IT Oracle Cloud Getting Started With Oracle Integration-2
F31221-33
October 2022
Oracle Cloud Getting Started with Oracle Integration Generation 2,
F31221-33
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software, software documentation, data (as defined in the Federal Acquisition Regulation), or related
documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S.
Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software,
any programs embedded, installed, or activated on delivered hardware, and modifications of such programs)
and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end
users are "commercial computer software," "commercial computer software documentation," or "limited rights
data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation
of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated
software, any programs embedded, installed, or activated on delivered hardware, and modifications of such
programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and
limitations specified in the license contained in the applicable contract. The terms governing the U.S.
Government's use of Oracle cloud services are defined by the applicable contract for such services. No other
rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be
trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc,
and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be
responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Audience ix
Documentation Accessibility ix
Diversity and Inclusion ix
Related Resources x
Conventions x
iii
Open Recently Worked on Items 2-10
See Your Process Tasks 2-10
Start Developing by Feature 2-10
Questions? Ask Oracle Assistant 2-11
A Recipes Reference
Cloud Storage/Content Management Recipes A-1
Export Messages from Apache Kafka to Amazon S3 A-1
Before You Install the Recipe A-3
Install and Configure the Recipe A-5
Activate and Run the Recipe A-8
Customer Relationship Management (CRM) Recipes A-9
Attach Files to Salesforce Records A-10
Before You Install the Recipe A-11
Install and Configure the Recipe A-13
Activate and Run the Recipe A-15
Create and Retrieve Organization Details from Oracle Service Cloud (RightNow) A-16
Create Box Folders for ServiceNow Incidents A-17
Before You Install the Recipe A-19
Install and Configure the Recipe A-21
Activate and Run the Recipe A-23
Create Box Folders for Zendesk Organizations A-25
Before You Install the Recipe A-26
Install and Configure the Recipe A-27
Activate and Run the Recipe A-29
Create Orders in Oracle B2B Service for Oracle CPQ Opportunities A-30
Create Salesforce Cases for Jira Issues A-31
Before You Install the Recipe A-32
Install and Configure the Recipe A-35
iv
Activate and Run the Recipe A-37
Create Zendesk Tickets for Jira Issues A-39
Before You Install the Recipe A-40
Install and Configure the Recipe A-41
Activate and Run the Recipe A-43
Export Invoices from PayPal to an FTP Server A-44
Before You Install the Recipe A-45
Install and Configure the Recipe A-46
Activate and Run the Recipe A-49
Import Marketo Leads to Oracle Autonomous Data Warehouse A-50
Before You Install the Recipe A-50
Install and Configure the Recipe A-51
Activate and Run the Recipe A-54
Integrate Oracle Internet of Things Intelligent Applications Cloud with Oracle Field
Service Cloud A-55
Manage ServiceNow Incidents A-56
Post Slack Notifications for New Marketo Leads A-60
Before You Install the Recipe A-61
Install and Configure the Recipe A-64
Activate and Run the Recipe A-66
Post Slack Notifications for ServiceNow Activities A-67
Before You Install the Recipe A-68
Install and Configure the Recipe A-71
Activate and Run the Recipe A-73
Send Compliance Documents from DocuSign to New ServiceNow Users A-76
Before You Install the Recipe A-77
Install and Configure the Recipe A-80
Activate and Run the Recipe A-82
Send Documents from Salesforce to DocuSign A-84
Before You Install the Recipe A-85
Install and Configure the Recipe A-90
Activate and Run the Recipe A-92
Send Notifications to Salesforce Lead Owners Using Twilio A-93
Before You Install the Recipe A-94
Install and Configure the Recipe A-98
Activate and Run the Recipe A-100
Send SurveyMonkey Surveys to Salesforce Contacts by Email A-102
Before You Install the Recipe A-102
Install and Configure the Recipe A-108
Activate and Run the Recipe A-110
Sync Customer Data Between Oracle Loyalty Cloud and Oracle Responsys A-112
v
Sync Data Between Oracle CPQ Transactions and Salesforce Quotes A-113
Before You Install the Recipe A-114
Install and Configure the Recipe A-123
Activate and Run the Recipe A-127
Sync Incidents and Resources Between Oracle Field Service Cloud and Oracle B2C
Service A-129
Sync Orgs and Contacts Between Oracle B2C Service and Oracle Marketing Cloud A-130
Enterprise Messaging Recipes A-131
Publish and Subscribe to the Oracle Cloud Infrastructure Streaming Service A-131
Enterprise Resource Planning (ERP) Recipes A-134
Automate File Transfer an FTP server to Oracle EPM Cloud A-135
Create Customer Records in Oracle NetSuite A-136
Before You Install the Recipe A-136
Install and Configure the Recipe A-137
Activate and Run the Recipe A-139
Export Purchase Orders from Oracle ERP Cloud to an FTP Server A-140
Extract Bulk Data from Oracle ERP Cloud to an FTP server A-144
Import Files from an FTP Server to Oracle NetSuite A-145
Before You Install the Recipe A-146
Install and Configure the Recipe A-147
Activate and Run the Recipe A-150
Import Financial Journal Entries from Amazon S3 to Oracle ERP Cloud A-151
Import Financial Journal Entries from an FTP server to Oracle ERP Cloud A-152
Process Inventory, Order, and Shipping Info Between Oracle ERP/SCM Cloud and
Oracle WMS Cloud A-153
Send Order Fulfillment Notifications from Oracle ERP Cloud Using Microsoft Office 365
Outlook A-154
Before You Install the Recipe A-155
Install and Configure the Recipe A-157
Activate and Run the Recipe A-159
Synchronize Inventory Items Between Oracle Product Hub Cloud and Oracle E-
Business Suite A-160
Before You Install the Recipe A-162
Install and Configure the Recipe A-163
Activate and Run the Recipe A-165
Synchronize Opportunities in Oracle CX Sales and B2B Service with Oracle NetSuite
Orders A-167
Before You Install the Recipe A-170
Install and Configure the Recipe A-172
Activate and Run the Recipe A-174
Synchronize Supplier Updates Between Oracle Procurement Cloud and Oracle ATP A-176
Before You Install the Recipe A-177
vi
Install and Configure the Recipe A-181
Activate and Run the Recipe A-183
Human Capital Management (HCM) Recipes A-184
Export Employee Data from Oracle HCM Cloud to an Identity Management System A-184
Import Users from Oracle HCM Cloud to Okta A-185
Import Worker Records from an FTP Server to Oracle HCM Cloud A-186
Transform an Oracle HCM Cloud Extract File to an ANSI 834 Benefits File A-187
Industries Recipes A-188
Generate Oracle Hospitality Access Tokens A-188
Install and Configure the Recipe A-189
Activate and Run the Recipe A-190
Oracle Integration Starter Recipes A-191
Calculate Total Balance A-192
Concatenate Messages A-194
Echo Request A-195
Get Incident Details A-196
Get Weather Data A-196
Increment the Sequence Variable within a Loop Integration A-198
Perform Mathematical Operations A-200
Get Stocks Data A-210
Say Hello World A-212
Say Hello World Invoke A-213
Say Hello World Map Data Invoke A-213
Send Files from Your Application by Email A-214
Install and Configure the Recipe A-215
Activate and Run the Recipe A-215
Transfer a File A-216
Use Multiple Verbs and Resources Invoke A-218
Work with Files on FTP Servers A-219
Social and Productivity Recipes A-220
Export Google Gmail Attachments to an FTP Server A-220
Before You Install the Recipe A-221
Install and Configure the Recipe A-222
Activate and Run the Recipe A-224
Integrate with DocuSign A-225
Interact with Facebook A-228
Interact with LinkedIn A-232
Interact with Slack A-234
Interact with Twitter A-238
Post Slack Notifications for Completed SurveyMonkey Surveys A-241
Before You Install the Recipe A-241
vii
Install and Configure the Recipe A-245
Activate and Run the Recipe A-247
Synchronize SurveyMonkey with Oracle NetSuite A-248
Other Recipes A-249
viii
Preface
This document describes how business analysts and integration specialists get started
working with Oracle Integration Generation 2.
Topics:
• Audience
• Documentation Accessibility
• Related Resources
• Conventions
Audience
This guide is intended for business analysts and developers who want to get an overview of
Oracle Integration Generation 2, what it can do, and how to use recipes to build their first
integration.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility
Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
ix
Preface
Related Resources
For more information, see these Oracle resources:
• Oracle Integration documentation in the Oracle Cloud Library on the Oracle Help
Center.
• Oracle Cloud at http://cloud.oracle.com.
Conventions
The following text conventions are used in this document.
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated
with an action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
monospace Monospace type indicates commands within a paragraph, URLs, code
in examples, text that appears on the screen, or text that you enter.
x
1
Welcome to Oracle Integration
Oracle Integration is a secure, unified platform that lets you connect cloud and on-premises
applications, automate business processes, gain insight into your business through business
metrics analysis, and develop web and mobile applications.
Topics:
• A Quick Introduction to Oracle Integration
• Connect to Everything
• Automate and Optimize End-to-End Business Processes
• Gain Real-Time Insight into Business Processes
• Build Web and Mobile Apps in Minutes
• Supported Browsers
1-1
Chapter 1
Connect to Everything
Connect to Everything
Integration solves the application silo problem. It brings together data and workflows
between disparate software applications for them to function as one.
Integrations deal with live operational data. Data can be processed either in real-time
or in batch, and between two or more applications, events, or application programming
interfaces (APIs).
Deployment Flexibility
With integrations, you can connect to anything without getting bogged down in
technical implementation details.
1-2
Chapter 1
Connect to Everything
You can bring data and applications together across on-premise and cloud systems: cloud to
cloud, cloud to on-premises (ground), and on-premises to on-premises (ground to ground).
After you choose an adapter, you provide the information that lets the adapter successfully
find and connect to a particular instance of an application. The information might include the
application URL, the security policy to use, and the credentials for signing in to the
application.
1-3
Chapter 1
Connect to Everything
1-4
Chapter 1
Connect to Everything
1-5
Chapter 1
Connect to Everything
Business-to-Business Communications
B2B for Oracle Integration provides support for business-to-business (B2B) e-
commerce. You can communicate with trading partners, and send and receive data in
integrations with B2B.
1-6
Chapter 1
Automate and Optimize End-to-End Business Processes
Topics:
• Example 1: Travel Approval Process
• Example 2: Accounts Payable Process
• Robotic Process Automation
An employee completes a travel request form and submits it to the manager. The manager
reviews the travel request and takes the appropriate action. Does the manager approve the
travel? The automated process handles three cases:
• Yes. The manager approves the travel. The process automatically sends an email that
instructs the employee to book the travel.
• No. The manager doesn't approve the travel. The process automatically sends an email
to the employee and explains why the travel was denied.
• More Info Required. The manager needs more information before making a decision.
The travel request is returned to the employee, who must provide details about the travel
and then resubmit the request. The manager reviews the travel request again and then
takes the appropriate action.
1-7
Chapter 1
Automate and Optimize End-to-End Business Processes
Before Automation
Accounts Payable has to deal with a large volume of paper invoices, which can be
confusing and time consuming.
When an invoice is received, the accounts payable clerk has to figure out which action
to take depending on the type of invoice (purchase order or not).
The accounts payable clerk then has to send emails to the appropriate colleagues for
approvals, handle account coding, validate that all required information has been
completed, and at the end, manually enter the data into Oracle E-Business Suite.
After Automation
With Oracle Integration, you can streamline and automate the accounts payable
process, eliminating lost invoices, reducing the time to process an invoice, and
reducing the chance for human error. Through Integration Insight in Oracle Integration,
management also gains visibility into the state of Accounts Payable.
Here's the streamlined process in Oracle Integration:
1. Scan the invoices or capture PDFs from emails to extract data using Optical
Character Recognition (OCR) with Oracle WebCenter Forms Recognition. The
extracted data is stored in Oracle Content Management along with the original
PDF invoices.
2. From Oracle Content Management, the accounts payable clerk triggers the invoice
approval workflow in Oracle Integration.
3. The defined approval process validates the invoice, segregates on invoice type
(PO or Non-PO), and processes the invoice according to its type. A purchase
order invoice is pre-approved whereas a non-purchase order invoice requires
approvals.
The workflow in Process in Oracle Integration has a main process and two
subprocesses. One subprocess handles an invoice that's a purchase order; the other
handles an invoice that's not a purchase order. Also, notice that there are defined
milestones in the processes. These milestones are for analysis with Integration Insight.
1-8
Chapter 1
Automate and Optimize End-to-End Business Processes
1-9
Chapter 1
Automate and Optimize End-to-End Business Processes
1-10
Chapter 1
Gain Real-Time Insight into Business Processes
1-11
Chapter 1
Build Web and Mobile Apps in Minutes
1-12
Chapter 1
Build Web and Mobile Apps in Minutes
Visual Builder provides all the necessary tools for you to build, publish, and host modern web
and mobile applications:
• Configure and customize Oracle Cloud applications using the same development
environment that Oracle Cloud applications are built on.
• Use cloud-based visual tools to rapidly create and host web and mobile applications with
minimal coding required.
– Use the what-you-see-is-what-you-get (WYSIWYG) page designer to drag and drop
UI components and visually create your pages.
– Create custom reusable business objects that store data, implement business logic,
and connect to processes.
– Publish your application with the push of a button and make it available to users.
• Easily connect REST APIs to integrate data from other applications into yours. For more
complex needs, developers can extend the functionality of the application using standard
JavaScript, HTML, and CSS.
Visual Builder also provides the infrastructure for securing access to your application, data,
and the Oracle Cloud services that your application consumes.
Step Description
1 Connect your data sources
1-13
Chapter 1
Build Web and Mobile Apps in Minutes
Step Description
2 Create your dashboard page
1-14
Chapter 1
Build Web and Mobile Apps in Minutes
Step Description
3 Display backend data
1-15
Chapter 1
Supported Browsers
Step Description
4 Go live
And just like that, you're done. Your first mobile app built specifically to meet your needs.
You can use the app on both Android and Apple iOS devices. You can share just within your
company or via Google Play and Apple App Stores if needed.
Supported Browsers
Oracle Integration supports the following browsers.
1-16
2
Navigate and Explore
After your system is provisioned and user roles are assigned, begin exploring the rich
features of Oracle Integration.
Topics:
• Get Familiar with the Home Page
• View Oracle Integration Announcements
• Navigate Anywhere
• Try an Integration Recipe or a Process QuickStart
• Get Stats at a Glance
• Explore Accelerators and Recipes
• Open Recently Worked on Items
• See Your Process Tasks
• Start Developing by Feature
• Questions? Ask Oracle Assistant
2-1
Chapter 2
Get Familiar with the Home Page
Take a moment to get familiar with all you can do on the Home page.
2-2
Chapter 2
View Oracle Integration Announcements
1. In the upper corner of the Home page, click to display the Announcements window,
which lists important items for your Oracle Integration instance.
A number on the icon indicates the number of upcoming announcements that are unread.
(Unread announcements that have passed their dates are not reflected in the number.)
2-3
Chapter 2
Navigate Anywhere
Note:
Announcements must be enabled for your instance. If you see a
message that there are no announcements, contact your Oracle
Integration administrator.
In the Announcements window, items are listed by publish date, with most recent
items at the top. Announcements typically indicate required actions (such as
tagging) or upcoming maintenance, and the list is refreshed every hour. A blue dot
appears next to unread announcements.
2. Mark an item as read by hovering over the item's row and selecting Mark as Read
from the options menu that displays.
Navigate Anywhere
Use the navigation pane to get access to all the pages, tools, dashboards, and
settings in Oracle Integration.
When you start Oracle Integration, the navigation pane is hidden. To view the
navigation pane, click the Navigation Menu icon in the top-left corner of the Home
page.
2-4
Chapter 2
Navigate Anywhere
The menu displayed in the navigation pane depends on your assigned role, your selection,
and your location in Oracle Integration. The navigation pane may display the main menu or a
sub-menu, such as the one for Integrations.
Take a moment to learn about the main menu. It gives you access to the Oracle Integration
runtime environment, design-time environment, development tools, and administration
settings.
Click... To...
Access the launch pad and high-level dashboard for Oracle Integration, search
Home for accelerators and recipes, and open recently worked on projects.
Launch the runtime environment for process tasks. Start process applications,
My Tasks work on tasks as a user, view dashboards, and perform runtime administration
such as mapping process roles.
See Quick Tour of the Tasks Page in Using Processes in Oracle Integration.
2-5
Chapter 2
Try an Integration Recipe or a Process QuickStart
Click... To...
Launch the design-time environment for process applications. Create process
Processes applications from scratch or by using QuickStart Apps and samples. Model
structured and dynamic processes in the process editor, and create web forms
and decision models. Perform design-time administration such as playing,
testing, and deploying applications.
See Quick Tour of the Processes Page in Using Processes in Oracle
Integration.
Launch the design-time environment for integrations. Configure connections,
Integrations and create and activate integrations. Work with lookups, packages, agents,
and adapters.
See Getting Started with Integrations in Using Integrations in Oracle
Integration.
Exchange business documents between Oracle Integration and a trading
B2B partner securely and reliably.
See Introduction to B2B for Oracle Integration in Using B2B for Oracle
Integration.
Create and publish web and mobile applications.
Visual Builder
See Getting Started with Oracle Visual Builder in OIC in Developing
Applications with Oracle Visual Builder in Oracle Integration.
Model business processes and monitor business metrics in real-time using
Insight interactive dashboards to take timely actions.
See Introduction to Integration Insight in Using Integration Insight in Oracle
Integration Generation 2.
Monitor integrations in the runtime environment. View the dashboard to see
Monitoring the performance of your integrations, track business identifiers associated with
your integrations, monitor scheduled integration runs, or view and manage
errors.
See Viewing the Dashboard in Using Integrations in Oracle Integration.
Configure settings for error logs and manage security certificates. Specify
Settings other settings such as notification services and mapping recommendations.
See Configure Settings for Error Logs in Administering Oracle Integration
Classic and Upload an SSL Certificate in Using Integrations in Oracle
Integration.
2-6
Chapter 2
Get Stats at a Glance
Tips
• To hide the banner and free up space on the Home page, click the Up Arrow icon.
• To find other recipes that you can use to create an integration, scroll to the Accelerators
& Recipes section on the Home page and click Search All.
• To find other QuickStart Apps that you can use to create process applications, open the
Oracle Integration navigation pane, click Processes, and then click Process
Applications. Click Create and then click Start with a QuickStart. The Gallery lists both
QuickStart Apps and Sample applications that you can use as is or adapt to fit your
business needs.
2-7
Chapter 2
Explore Accelerators and Recipes
To see a break down of the total numbers, position the cursor over a color. To get
quick access to more details, click an individual card.
Integrations Shows the total number of messages and failed Open the Dashboards page and
activations. get a comprehensive view of how
To see the number of failed messages, position the your integrations are performing.
cursor over the red area. See View the Dashboards in
To see the number of successful messages of active Using Integrations in Oracle
integrations, position the cursor over the green area. Integration.
Insight Shows the total number of Insight models. Open the Models page, which
To see the number of failed models, position the cursor provides access to all the models
over the red area. in all lifecycle states. On this
page, you can create new
To see the number of deactivated models, position the
models and work with existing
cursor over the yellow area.
models.
To see the number of activated models, position the
See Work with the Models Page
cursor over the blue area.
in Using Integration Insight in
Oracle Integration Generation 2.
Visual Applications Shows the total number of visual applications. Opens the Visual Builder page,
Hover over each pie section to see the number of which provides access to all
applications in that category. visual applications. On this page,
you can create new applications
and work with existing ones.
See Getting Started with Oracle
Visual Builder in OIC in
Developing Applications with
Oracle Visual Builder in Oracle
Integration.
2-8
Chapter 2
Explore Accelerators and Recipes
recipes give you a head start in creating your integrations and provide end-to-end
connections for critical business problems.
In Oracle Integration, you can group one or more integrations into a single structure called a
package. Because you created the package, its type is developed. Accelerators and recipes
are other types of packages. An accelerator package or a recipe package consists of a series
of prebuilt integrations developed by Oracle.
The Accelerators & Recipes section on the Home page displays some of the available
accelerators and recipes.
To learn about a particular accelerator or recipe, review the information on its card. A card:
• Lists the two applications that the integration connects to, followed by a brief purpose of
the accelerator or recipe.
• Uses images and +number to indicate the adapters used by the integration. Position the
cursor over the images to see the name of an adapter.
• Displays INSTALLED to indicate that the accelerator or recipe, as well as all its
dependent resources, are already deployed in Oracle Integration.
• Displays ACCELERATOR or RECIPE to indicate the type of package.
• Lists who produced the accelerator or recipe.
• Provides a full description of the accelerator or recipe.
To browse the entire collection, click Search All. You can then search, filter, and sort the list
to find the accelerator or recipe you want to use.
To get quick access to one of the accelerators or recipes listed on the Home page, click its
card. Note that the Accelerators and Recipes page now only displays the accelerator or
recipe you selected because the search parameters were automatically set. Clear the search
criteria to see all the accelerators and recipes.
You can install the accelerator or recipe, configure its connections, and activate its
integrations. See Get Started with Integration Accelerators and Recipes.
2-9
Chapter 2
Open Recently Worked on Items
Click the task to open it in workspace, view details, or work on the task if it's assigned
to you.
2-10
Chapter 2
Questions? Ask Oracle Assistant
You can use these shortcuts instead of traversing the menu in the navigation pane. For direct
access:
• Click Processes to create an application from scratch, or select a sample or QuickStart
App from the gallery that you can customize or activate as is.
• Click Integrations to create connections and an integration that uses them, or activate a
ready-to-use sample integration.
• Click B2B to use an Electronic Data Interchange (EDI) format in an orchestrated
integration to exchange documents in a secure and reliable manner.
• Click Visual Builder to create and publish custom web and mobile applications.
• Click Insight to create and edit models that describe the milestones of a business
process that are key for tracking business performance.
2-11
Chapter 2
Questions? Ask Oracle Assistant
2-12
3
Get Started with Integration Accelerators and
Recipes
Accelerators and recipes are pre-assembled solutions that bundle all the resources required
by the integrations, such as the connections and lookups, into one package. Use an
accelerator or recipe to quickly get started building your first integration.
Topics:
• Learn About Differences Between Accelerators and Recipes
• Find Accelerators and Recipes
• Get More Details About Accelerators or Recipes
• Install Accelerators and Recipes
• Configure Resources
• Activate All the Integrations in the Accelerator or Recipe
• Uninstall Accelerators and Recipes
Accelerators Recipes
A business accelerator provides an end-to-end business process or A recipe is a sample or template that gives
use case (for example, marketing to lead, hire to retire, or concept to you a head start.
launch).
A technical accelerator provides a common technical solution (for
example, sending alerts on failures). They are meant to be called by
another integration.
Managed and supported by the producer Not supported
Configurable and extendable Fully editable in the Oracle Integration
designer
Upgrades provided by producer Can't auto-upgrade to new versions
Configurator in Oracle Integration and as native SaaS Configurator in Oracle Integration
Paid offering (as decided by producer) Always free
3-1
Chapter 3
Find Accelerators and Recipes
3. Use the options in the toolbar to narrow your search, filter and sort the list, update
the list, and change how the list is displayed. You can:
• Filter the list by type (all, recipe, accelerator) or by provider, and sort the
list by name or last updated
3-2
Chapter 3
Install Accelerators and Recipes
You can also get other details, such as the package name, version number, and publication
date, as well as a link to documentation.
To see more information, hover over the card, then click Open Details to expand the
information pane.
Note:
Oracle Integration comes with the Resequence Messages technical accelerator
automatically installed. Therefore, this accelerator will already be listed as
INSTALLED on the Accelerators and Recipes page when you sign in.
Configure Resources
Accelerators and recipes are a type of package. After you install an accelerator or a recipe,
you need to configure all the dependent resources used by all the integrations in the
package.
Dependent resources consist of connections, certificates (PGP keys), lookups, and libraries.
• You can edit connections, certificates (PGP keys), lookups, and libraries. You must have
administrator privileges to edit certificates.
• You can replace connections and certificates in some packages. However, you can't
replace them if an integration in the package is either active or locked. You can't replace
them if they are included in a business or technical accelerator.
3-3
Chapter 3
Configure Resources
• You can update integration property values for any integration in which properties
have been defined.
• You can add schedules to any integration that uses a Scheduled Orchestration
style (also called pattern). These integrations run according to the schedule you
define.
Editing a dependent resource impacts all integrations that use that resource.
Replacing a dependent resource only impacts the integrations in the specific package.
To configure the resources for an accelerator or a recipe:
1. Find the accelerator or recipe that you want to configure.
3. Position the cursor in a row to reveal the options for configuring, editing, or
replacing a resource.
3-4
Chapter 3
Configure Resources
Revert is available.
4. Make the necessary edits and save your changes. Click the Go back icon to return to
the Configuration Editor page.
5. Continue to edit each resource. When you are ready, return to the Accelerators and
Recipes page to activate the integrations in the package.
3-5
Chapter 3
View Details About a Resource
• In the Configuration Editor, hover over a resource and click Open Details .
The row expands and displays the following information:
• The total number of integrations in the package that use the resource
• The name of each integration in the package that uses the resource
3-6
A
Recipes Reference
Oracle Integration includes a portfolio of recipes for integrating different applications that deal
with customer relationship management and customer experience (CRM/CX), enterprise
resource planning (ERP), human capital management (HCM), social networking, and so on.
Think of a recipe as a template or pre-assembled solution that gives you a head start in
building your integrations. You can start with a recipe, and then customize it to fit your needs
and requirements.
Topics:
• Cloud Storage/Content Management Recipes
• Customer Relationship Management (CRM) Recipes
• Enterprise Messaging Recipes
• Enterprise Resource Planning (ERP) Recipes
• Human Capital Management (HCM) Recipes
• Industries Recipes
• Oracle Integration Starter Recipes
• Social and Productivity Recipes
• Other Recipes
Topics:
• Export Messages from Apache Kafka to Amazon S3
Note:
This recipe is available as Apache Kafka — Amazon S3 | Export Messages in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is meant
only for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
A-1
Appendix A
Cloud Storage/Content Management Recipes
Overview
This recipe exports messages from an Apache Kafka topic to an Amazon S3 bucket as
JSON files. Each Apache Kafka message is exported as a JSON file that contains the
contents of the message. The recipe uses the standard Apache Kafka Adapter and the
standard REST Adapter.
To use the recipe, you must install the recipe package and configure the connections
and other resources within the recipe package. Subsequently, you can activate and
run the integration flow manually or specify an execution schedule for it. When
triggered, the integration flow queries for messages in the specified Apache Kafka
topic and loads predefined number of messages. Then the integration iterates over
each message and exports them as JSON files into the specified Amazon S3 bucket.
Recipe Schema
This section provides an architectural overview of the recipe.
A-2
Appendix A
Cloud Storage/Content Management Recipes
When the integration flow of the recipe is triggered by an execution schedule or manual
submission, it queries the Apache Kafka instance's topic for messages. If messages are
present in the specified topic, the integration fetches a predefined number of messages. It
iterates over the messages and exports them into Amazon S3. For each exported message a
corresponding JSON file that contains the contents of the message is created in the specified
Amazon S3 bucket.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-3
Appendix A
Cloud Storage/Content Management Recipes
Configure Amazon S3
Complete the following configuration tasks to successfully connect to Amazon S3 from
Oracle Integration and export Apache Kafka messages into an Amazon S3 bucket.
1. Log in to your AWS Management Console at https://console.aws.amazon.com/.
2. Get your AWS access keys.
A-4
Appendix A
Cloud Storage/Content Management Recipes
a. In the top navigation bar, choose your user name, and then click My Security
Credentials from the menu.
b. On the Security Credentials page, expand the Access keys (access key ID and
secret access key) section.
c. Create an access key by clicking Create New Access Key.
If the Create New Access Key button is disabled, delete one of the existing access
keys and try again.
d. Click Download Key File to download the access key ID and secret access key, and
save it as a .CSV file to a secure location on your computer.
3. Set up your Amazon S3 bucket where you want the Apache Kafka messages to be
exported as JSON files.
a. In the AWS Management Console, enter S3 in the search field at the top.
b. Select S3 (Scalable Storage in the Cloud) from the search results.
The Amazon S3 page appears.
c. Select an existing bucket.
• Scroll to the Buckets section. All available buckets are listed under it.
• Select a bucket.
d. Alternatively, create and choose a new bucket.
• Click Create bucket.
• In the Create bucket dialog, enter a unique name for the bucket, for example
oracle-kafka.
• In the AWS Region field, select a region from the drop-down list.
• Click Create bucket. The new bucket is listed under the Buckets section.
• Select the bucket.
4. Note the AWS Region of the bucket. You will need this information when you configure
the REST Amazon S3 connection from Oracle Integration.
• Select the bucket.
• Click the Properties tab, and note the AWS Region of the bucket.
A-5
Appendix A
Cloud Storage/Content Management Recipes
2. Click Edit .
The Oracle Apache Kafka Connection window appears.
3. In the Bootstrap Servers field, enter the Bootstrap Server URL you obtained
earlier while configuring Apache Kafka.
See Configure Apache Kafka.
4. In the Security Policy field, select SASL PLAIN Over SSL.
5. In the SASL Username and SASL Password fields, enter the Apache Kafka API
Key and Secret that you obtained earlier while configuring Apache Kafka.
See Configure Apache Kafka.
6. Complete the following:
a. Upload the truststore file in the TrustStore field.
b. Upload the keystore file in the KeyStore field.
c. Enter the truststore password in the Truststore password field.
d. Enter the keystore passowrd in the KeyStore password field.
See Configure Apache Kafka.
7. Click Save.
8. Click Test to ensure that your connection is successfully configured. In the dialog
that displays, click Test again. You get a confirmation message if your test is
successful.
2. Click Edit .
The Oracle REST AmazonS3 Connection window appears.
3. Under the Connection Properties section, do the following:
A-6
Appendix A
Cloud Storage/Content Management Recipes
a. In the Connection Type field, select REST API Base URL from the drop-down list.
b. In the Connection URL field, enter https://s3.<your-bucket-
region>.amazonaws.com/. Where your-bucket-region is the region in which you
had set up your Amazon S3 bucket.
For example, https://s3.eu-central-1.amazonaws.com/.
See Configure Amazon S3.
4. In the Security section, do the following:
a. In the Security Policy field, select AWS Signature Version 4 from the drop-down
list.
b. Enter the access key and the secret key that you obtained earlier while configuring
Amazon S3 in the Access Key and Secret Key fields.
c. In the AWS Region field, select the AWS region where you have created the
Amazon S3 bucket. For example, eu-central-1.
d. In the Service Name field, select Amazon Simple Storage Service (Amazon S3).
See Configure Amazon S3.
5. Click Save.
6. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again. You get a confirmation message if your test is successful.
A-7
Appendix A
Cloud Storage/Content Management Recipes
g. In the Do you want to specify the headers for the message? field, select
No.
h. Click Next and then click Done.
See Add the Kafka Adapter Connection to an Integration in Using the Apache
Kafka Adapter with Oracle Integration.
7. On the Integration editor, click Save.
8. Click Close to return back to the Configuration Editor.
Note:
Before activating and running the recipe, ensure that there are some
messages in the Apache Kafka topic.
A-8
Appendix A
Customer Relationship Management (CRM) Recipes
b. Select the Amazon S3 bucket from the Buckets section of the page.
c. In the bucket details page, check if there are JSON files for the corresponding
Apache Kafka messages.
You can open one of the JSON files using a text editor such as Notepad++ and
compare the content of the file with the corresponding Apache Kafka message to see
if it is exported correctly.
Related Documentation
• Using the Apache Kafka Adapter with Oracle Integration
• Using the REST Adapter with Oracle Integration
Topics:
• Attach Files to Salesforce Records
• Create and Retrieve Organization Details from Oracle Service Cloud (RightNow)
• Create Box Folders for ServiceNow Incidents
• Create Box Folders for Zendesk Organizations
• Create Orders in Oracle B2B Service for Oracle CPQ Opportunities
• Create Salesforce Cases for Jira Issues
• Create Zendesk Tickets for Jira Issues
• Export Invoices from PayPal to an FTP Server
• Import Marketo Leads to Oracle Autonomous Data Warehouse
• Integrate Oracle Internet of Things Intelligent Applications Cloud with Oracle Field
Service Cloud
• Manage ServiceNow Incidents
• Post Slack Notifications for New Marketo Leads
• Post Slack Notifications for ServiceNow Activities
• Send Compliance Documents from DocuSign to New ServiceNow Users
• Send Documents from Salesforce to DocuSign
• Send Notifications to Salesforce Lead Owners Using Twilio
• Send SurveyMonkey Surveys to Salesforce Contacts by Email
• Sync Customer Data Between Oracle Loyalty Cloud and Oracle Responsys
• Sync Data Between Oracle CPQ Transactions and Salesforce Quotes
• Sync Incidents and Resources Between Oracle Field Service Cloud and Oracle B2C
Service
• Sync Orgs and Contacts Between Oracle B2C Service and Oracle Marketing Cloud
A-9
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as REST — Salesforce | Attach Files to Records in
the Integration Store. Oracle provides this recipe as a sample only. The
recipe is meant only for guidance, and is not warranted to be error-free. No
support is provided for this recipe.
Overview
When this recipe receives a REST request containing a file from an external
application or from another integration flow in Oracle Integration, it attaches the file to
the specified record in Salesforce. The recipe contains an app-driven orchestration
integration, which uses the standard REST Adapter and the Salesforce Adapter.
To use the recipe, you must install the recipe package and configure the connection
and other resources within the package. Subsequently, you can activate the integration
flow of the package and send a POST request (containing a file and the ID of the
Salesforce record to which you want to attach the file) to the integration's endpoint
URL from an external application. When triggered, the integration flow attaches the file
received to the specified record in Salesforce. If your REST request doesn't contain a
file, the integration flow isn't triggered.
Note:
You can attach more than one file at a time with this recipe.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-10
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
The steps provided here apply to the Salesforce Classic UI. If you're using the
Lightning Experience UI on your Salesforce instance, switch to the Salesforce
Classic UI. See Toggle or switch between Lightning Experience and Salesforce
Classic.
1. Create an API-enabled custom role. You'll assign this role to the user account you'll
subsequently create for Oracle Integration.
a. On the Salesforce Setup page, expand Manage Users under the Administer section
in the left navigation pane.
b. Click Profiles.
c. On the Profiles page, click New Profile.
d. On the resulting page:
i. Select Standard User in the Existing Profile field.
ii. Enter a name for the new profile, for example, API Enabled, and click Save.
The new profile is now saved, and the Profile Detail page of the new profile is
displayed.
e. Click Edit on the Profile Detail page.
f. On the Profile Edit page:
i. Scroll to the Administrative Permissions section and ensure that the API
Enabled check box is selected.
ii. Scroll to the Standard Object Permissions section and perform the following
actions.
• In the Accounts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Contacts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Price Books row, leave the Read box checked. Additionally, select the
Create, Edit, and Delete check boxes.
A-11
Appendix A
Customer Relationship Management (CRM) Recipes
• In the Products row, leave the Read box checked. Additionally, select
the Create, Edit, and Delete check boxes.
iii. Scroll to the end of the page and click Save.
2. Create a user account for Oracle Integration and assign the custom role created
previously to this account.
Note:
If you have already created a user account for Oracle Integration, you
can assign the API-enabled custom role to the existing account.
a. On the Profile Detail page of the API Enabled profile, click View Users.
b. Click New User in the resulting page.
c. On the New User page:
i. Enter a first name and last name for the user, for example, Integration
User05.
ii. In the Email field, enter a valid email address.
The email address you enter is automatically populated in the Username
field. Note down this user name.
iii. In the User License field, select Salesforce.
iv. In the Profile field, select the profile you created previously, that is, API
Enabled.
v. Scroll to the end of the page, ensure that the Generate new password
and notify user immediately check box is selected, and click Save.
The user account is now created, and a verification email is sent to the
email address you provided for the account.
d. Log in to the corresponding email account and click the Verify Account button
in the email message from Salesforce.
You're redirected to the Salesforce instance to set a password for the new
user account.
e. Set a password and note down the same.
Subsequently, you're signed in to the Salesforce instance with the new
account.
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce
Classic UI. See Toggle or switch between Lightning Experience and
Salesforce Classic.
f. Generate a security token for the new user account. You'll need this security
token along with the password to access Salesforce using Oracle Integration.
i. Stay signed in as the new user, and click the user name at the top of the
page to open a menu.
A-12
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
If you don't see the Accounts tab on the Setup page, click the Plus icon to
the right of your current tabs, and then click Accounts.
A-13
Appendix A
Customer Relationship Management (CRM) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe
package. Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST Trigger Connection
• Configure the Oracle Salesforce Connection
2. Click Edit .
3. On the Oracle REST Trigger Connection page, click Test to ensure that your
connection is correctly configured.
A confirmation message is displayed if your test is successful.
4. Click Save. If prompted, click Save for a second time.
5. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-14
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
To the password, you must also append
the security token generated for the same
account.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
a. On the Configuration Editor page, select the integration and click Run .
b. On the resulting pop-up dialog, click the Metadata URL link.
c. From the new tab that opens, copy the Endpoint URL value. This is the integration
flow's endpoint URL.
d. From the external application, send a POST request to this endpoint URL along with
the necessary file and the ID of the Salesforce record to which you want to attach the
file. Upload the file in the POST request's Body field and specify the Salesforce
record's ID as a template parameter at the end of the integration's endpoint URL,
replacing the placeholder {salesforceObjectId}.
The integration flow attaches the file you uploaded to the specified Salesforce record
and returns 200 OK as a response, which indicates a successful execution.
3. Test the recipe in Oracle Integration.
a. On the Configuration Editor page, select the integration.
A-15
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
If you don't see the Accounts tab on the Setup page, click the Plus
icon to the right of your current tabs, and then click Accounts.
b. On the Accounts Home page, click the account whose ID you specified in the
REST request.
c. On the account's page, scroll to the Notes & Attachments section.
You'll find the file you sent through the REST request under this section.
Related Documentation
• Using the Salesforce Adapter with Oracle Integration
• Using the REST Adapter with Oracle Integration
Note:
This recipe is available as Create and Retrieve Org Details from Oracle
Service Cloud (RightNow) in the Integration Store. Oracle provides this
recipe as a sample only. The recipe is meant only for guidance, and is not
warranted to be error-free. No support is provided for this recipe.
A-16
Appendix A
Customer Relationship Management (CRM) Recipes
Overview
The integration in this recipe uses the SOAP adapter to retrieve an organization from Oracle
Service Cloud (RightNow) based on its ID.
The SOAP adapter request contains the ID of the organization to retrieve.
The response contains the ID and the address of the organization. The address includes the
street, city, postal code, and country.
The integration that results from installing this recipe is named: Oracle SOAP ServiceCloud
Get Organization.
Related Documentation
To learn more about the adapters used in this recipe see:
• Using the SOAP Adapter with Oracle Integration
• Using the Oracle Service Cloud (RightNow) Adapter with Oracle Integration
Note:
This recipe is available as ServiceNow — Box | Create Folders for Incidents in
the Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
A-17
Appendix A
Customer Relationship Management (CRM) Recipes
Overview
This recipe creates respective folders in Box for incidents created in ServiceNow. Each
ServiceNow incident has a unique system generated number. The name of the folder
that gets created in Box for the ServiceNow incident matches the ServiceNow
incident’s unique number. Also, the Id of the folder created in Box gets updated in the
custom field created in ServiceNow.
The recipe uses the standard ServiceNow Adapter and the standard Box Adapter. To
use the recipe, you must install the recipe package and configure the connections and
other resources within the package. Subsequently, you can activate and run the recipe
manually. When the integration flow gets triggered by an incident created in
ServiceNow, it checks if a folder with the same name as the newly created incident's
unique number already exists in Box. If a similar named folder exists, it ignores the
folder creation. Otherwise, it creates a new folder in Box under the specified parent
folder, and also creates a shared link for the new folder.
Recipe Schema
This section provides an architectural overview of the recipe.
The integration flow of the recipe is triggered when an incident is created in the
ServiceNow instance. The integration then queries for folders under the parent folder
in the Box instance. After retrieving all existing folders under the parent folder, if it finds
that there is no folder with the same name as the newly created incident's unique
number, then it creates a corresponding folder for the incident under the parent folder
in Box.
A-18
Appendix A
Customer Relationship Management (CRM) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure ServiceNow
You can use admin account credentials or custom account credentials while configuring the
ServiceNow connection in Oracle Integration.
If you do not want to use an admin account, then create a custom integration user and assign
the required role and permissions to the user. For information about creating a custom user,
see Prerequisites for Creating a Connection in Using the ServiceNow Adapter with Oracle
Integration.
You must also create a custom field to store the Id of the Box folder that gets created for new
ServiceNow incident. See Create a Custom Field for Box Folder IDs.
A-19
Appendix A
Customer Relationship Management (CRM) Recipes
Configure Box
You must complete the following prerequisite tasks to connect to Box from Oracle
Integration, and to create folders for new ServiceNow incidents under the right parent
folder in Box.
1. Create and Configure a Box App
2. Create a Parent Folder in Box
3. Get the Parent Folder ID
https://Oracle-Integration-instance's-FQDN:443/icsapis/agent/
oauth/callback
A-20
Appendix A
Customer Relationship Management (CRM) Recipes
b. Click Generate Key to generate the primary and the secondary keys.
c. Copy the primary and the secondary keys.
d. Note the values of the primary and secondary keys. You'll need these later while
configuring the Box connection from Oracle Integration.
For more information about signature keys, see Get Signature Keys in Using the Box
Adapter with Oracle Integration.
A-21
Appendix A
Customer Relationship Management (CRM) Recipes
4. Click Configure on the recipe card to configure the following resources using
the Configuration Editor.
• Configure the Oracle ServiceNow Connection
• Configure the Oracle Box Connection
• Update Integration Properties
2. Click Edit .
The ServiceNow Connection window appears.
3. In the Connection Properties section, enter your ServiceNow instance URL in the
ServiceNow Instance Name field. For example, https://
<instance_name>.service-now.com/.
4. In the Security section, enter your ServiceNow username in the Username field,
and your ServiceNow password in the Password field.
5. Click Save.
6. Click Test to ensure that your connection is successfully configured. In the dialog
that displays, click Test again. You get a confirmation message if your test is
successful.
2. Click Edit .
The Box Connection window appears.
3. In the Client ID and Client Secret field, enter the client ID and secret you
obtained earlier while creating and configuring a Box App.
See Create and Configure a Box App.
4. Enter the following authorization permissions in the Scope field.
• root_readwrite
• manage_webhook
A-22
Appendix A
Customer Relationship Management (CRM) Recipes
11. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again. You get a confirmation message if your test is successful.
A-23
Appendix A
Customer Relationship Management (CRM) Recipes
A-24
Appendix A
Customer Relationship Management (CRM) Recipes
b. In the Track instances page, you can see the integration flow being triggered and
executed successfully. The recipe now creates a folder in Box under the parent folder
whose folder ID we had specified in the integration property value.
3. Check if a new folder is created under the Box parent folder.
a. Log in to your Box instance.
b. Search and navigate to the parent folder that you created earlier.
c. Check if a new folder is created under the parent folder. The folder name should
match with the newly created ServiceNow incident's number. For example,
INC001234.
Note that a shared link is also automatically created for the new folder. Click the link
icon on the folder's row to open the Shared Link window and view the link.
Related Documentation
• Using the ServiceNow Adapter with Oracle Integration
• Using the Box Adapter with Oracle Integration
Note:
This recipe is available as Zendesk — Box | Create Folders for Organizations in
the Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Overview
This recipe creates a folder in Box for each Zendesk organization as per a schedule specified
in Oracle Integration. It uses the standard REST Adapter and Box Adapter.
To use the recipe, you must install the recipe package and configure the connections and
other resources within the package. Subsequently, you can activate and run the integration
flow of the package manually or specify an execution schedule for it. When triggered, the
integration flow queries the Zendesk instance for organization records, retrieves the names of
the existing records, and creates a separate folder for each organization record on your Box
instance, under a specified parent folder; the folders created shall have the same names as
the Zendesk organization names. If a folder for a Zendesk organization already exists in the
specified Box location, the integration flow skips the folder-creation activity for that
organization record.
Note:
This recipe uses only the names of Zendesk organization records to create folders
in Box; it doesn't synchronize other data of the records between the applications.
A-25
Appendix A
Customer Relationship Management (CRM) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure Zendesk
You can create a user account on Zendesk exclusively for integration purposes. To
avoid access-related issues, assign the administrator role to this account.
You can use the credentials of this integration user account while configuring the
REST-based Zendesk connection in Oracle Integration. For information on creating a
new Zendesk user account with the administrator role, see Adding agents and admins.
Configure Box
To access Box from Oracle Integration and create folders for Zendesk organizations,
you must perform the following configurations on your Box instance.
1. Create an OAuth application and obtain access keys.
a. Log in to your Box instance.
b. In the left navigation pane, click Dev Console.
c. In the My Apps page, click Create New App, and then select Custom App.
d. In the Custom App dialog:
i. Select User Authentication (OAuth 2.0) as the authentication method.
ii. Enter a unique name for the app in the App Name field.
iii. Click Create App.
A-26
Appendix A
Customer Relationship Management (CRM) Recipes
i. Scroll to the OAuth 2.0 Credentials section and note down the Client ID and
Client Secret of the application for later use.
ii. In the OAuth 2.0 Redirect URI section, enter the OAuth-callback URL of your
Oracle Integration instance. Your redirect URI should have the following syntax:
https://Oracle-Integration-instance's-FQDN:443/icsapis/agent/oauth/
callback.
where Oracle-Integration-instance's-FQDN is the fully-qualified domain name
of your Oracle Integration instance, for example, oicinstance.example.com.
iii. In the Application Scopes section, select the Write all files and folders stored
in Box check box.
iv. Click Save Changes.
2. Create a parent folder to hold all the folders for Zendesk organizations.
a. On your Box instance, click New in the All Files page.
b. From the menu that displays, click Folder.
c. In the Create a New Folder dialog:
i. Enter a name for the folder.
ii. If you want other people to access the folder, enter their email addresses in the
Invite Additional People field; use a space to separate email addresses.
Additionally, select the access level for the invitees from the Permission field.
iii. Click Create.
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST Zendesk Connection
• Configure the Oracle Box Connection
A-27
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Security section, enter the following details.
A-28
Appendix A
Customer Relationship Management (CRM) Recipes
6. In the resulting Sign in dialog, enter your Oracle Integration user name and password,
and click Sign in.
You'll now be redirected to box.com, where you are prompted to authorize the connection
to the Box OAuth application created previously.
7. On the Box web page, click Grant access to Box.
You're informed that access to Box is allowed. You can now switch back to the Box
Connection window of Oracle Integration to test your connection.
8. In the Oracle Box Connection window, click Test to ensure that your connection is
successfully configured.
A confirmation message is displayed if your test is successful.
9. Click Back to return to the Configuration Editor page. Click Save if prompted.
1. On the Configuration Editor page, select the lookup table and click Edit .
2. Against the ParentFolderId field, enter the ID of the parent folder in Box. See Configure
Box.
3. Click Save. If prompted, click Save for a second time.
Note:
You can also schedule this integration to run at a date, time, and frequency
of your choosing. See Define the Integration Schedule.
A-29
Appendix A
Customer Relationship Management (CRM) Recipes
a. On the Configuration Editor page of the recipe, select the integration flow.
Note:
This recipe is available as Oracle B2B Service — Oracle CPQ | Convert
Opportunity-to-Quote-to-Order in the Integration Store. Oracle provides
this recipe as a sample only. The recipe is meant only for guidance, and is
not warranted to be error-free. No support is provided for this recipe.
Overview
This recipe allows users to create quotes and sales orders for an opportunity. It
provides a consistent user interface flow that originates in Oracle B2B Service.
Transaction data is passed seamlessly between the two applications, ensuring
accuracy and allowing Oracle B2B Service users to take advantage of the on-demand
configuration, pricing, and quoting capabilities of Oracle CPQ.
The benefits include:
• Allows users to create quotes with accurate pricing and generate company specific
proposals
• Simplifies quoting and reduces duplicate entry for sales reps managing
opportunities that require quotes
• Enables sales reps to accurately configure and price complex products in an
intuitive and easy to use manner
A-30
Appendix A
Customer Relationship Management (CRM) Recipes
Related Documentation
• Oracle CPQ Cloud-Oracle Sales Cloud Integration through Oracle Integration Cloud
Service Implementation Guide
Note:
This recipe is available as Jira — Salesforce | Create Cases for Issues in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is meant
only for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
Overview
This recipe creates a case in Salesforce for each Jira issue as per a schedule specified in
Oracle Integration. It uses the standard Jira Adapter and the Salesforce Adapter.
To use the recipe, you must install the recipe package and configure the connections and
other resources within the package. Subsequently, you can activate and run the integration
flow of the package manually or specify an execution schedule for it. When triggered, in the
first run, the integration flow reads all the issue records from the Jira instance and, in turn,
creates corresponding case records in your Salesforce instance. In subsequent runs, it
creates cases for new Jira issues and also propagates updates made in earlier Jira issues to
the corresponding Salesforce cases. Basic data associated with Jira issues, such as issue
type, summary, priority, description, and status are synchronized between the two platforms.
A-31
Appendix A
Customer Relationship Management (CRM) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure Salesforce
To access Salesforce using Oracle Integration and create cases for Jira issues, you
must perform certain configuration tasks on your Salesforce instance.
You must create a user account on Salesforce for Oracle Integration. You'll use the
credentials of this user account while configuring the Salesforce connection in Oracle
Integration.
In addition, you must identify your Salesforce instance type and your current
Salesforce API version. Finally, you must create a custom field for case records.
Log in to your Salesforce instance as an Administrator and execute the following
tasks.
A-32
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
The steps provided here apply to the Salesforce Classic UI. If you're using the
Lightning Experience UI on your Salesforce instance, switch to the Classic UI. See
Toggle or switch between Lightning Experience and Salesforce Classic.
1. Create an API-enabled custom role. You'll assign this role to the user account you'll
subsequently create for Oracle Integration.
a. On the Salesforce Setup page:
i. Expand Manage Users under the Administer section in the left navigation pane.
ii. Click Profiles.
b. On the Profiles page, click New Profile.
c. On the resulting page:
i. Select Standard User in the Existing Profile field.
ii. Enter a name for the new profile, for example, API Enabled, and click Save.
The new profile is now saved, and the Profile Detail page of the new profile is
displayed.
d. Click Edit on the Profile Detail page.
e. On the Profile Edit page:
i. Scroll to the Administrative Permissions section and ensure that the API
Enabled check box is selected.
ii. Scroll to the Standard Object Permissions section and perform the following
actions.
• In the Accounts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Contacts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Price Books row, leave the Read box checked. Additionally, select the
Create, Edit, and Delete check boxes.
• In the Products row, leave the Read box checked. Additionally, select the
Create, Edit, and Delete check boxes.
iii. Scroll to the end of the page and click Save.
2. Create a user account for Oracle Integration and assign the custom role created
previously to this account.
Note:
If you have already created a user account for Oracle Integration, you can
assign the API-enabled custom role to the existing account.
a. On the Profile Detail page of the API Enabled profile, click View Users.
b. Click New User in the resulting page.
A-33
Appendix A
Customer Relationship Management (CRM) Recipes
iv. In the Profile field, select the profile you created previously, that is, API
Enabled.
v. Scroll to the end of the page, ensure that the Generate new password
and notify user immediately check box is selected, and click Save.
The user account is now created, and a verification email is sent to the
email address you provided for the account.
d. Log in to the corresponding email account and click the Verify Account button
in the email message from Salesforce.
You're redirected to the Salesforce instance to set a password for the new
user account.
e. Set a password and note down the same.
Subsequently, you're signed in to the Salesforce instance with the new
account.
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce
Classic UI. See Toggle or switch between Lightning Experience and
Salesforce Classic.
f. Generate a security token for the new user account. You'll need this security
token along with the password to access Salesforce using Oracle Integration.
i. Stay signed in as the new user, and click the user name at the top of the
page to open a menu.
ii. Click My Settings in the menu.
iii. On the My Settings page, in the Quick Links section, click Edit my
personal information.
iv. On the resulting page, click Reset My Security Token in the left
navigation pane.
v. Click the Reset Security Token button.
A new security token is sent to the email address associated with the
account. Note down the security token.
vi. On the Salesforce instance, click the user name again and select Logout
from the menu. Log back in as the Administrator.
3. Identify your current Salesforce API version.
a. On the Salesforce Setup page:
i. Scroll to the Build section in the left navigation pane.
A-34
Appendix A
Customer Relationship Management (CRM) Recipes
On the Case Fields page, you can see the new field added under the Case Custom
Fields & Relationships section.
A-35
Appendix A
Customer Relationship Management (CRM) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe
package. Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST Jira Connection
• Configure the Oracle Salesforce Connection
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
A-36
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
Note:
To the password, you must also append the
security token generated for the same account.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
A-37
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
The recipe's integration flow contains the following property:
• emailNotification: This integration property holds the email address
to which notifications of errors in the integration's execution are sent.
Optionally, you can add or update the value for this property after the
integration flow has been activated. For the procedure to update
integration properties, see Steps 7 to 9 in Override Design-Time
Properties in an Integration.
Note:
You can also schedule this integration to run at a date, time, and
frequency of your choosing. See Define the Integration Schedule.
A-38
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
If you don't see the Cases tab on the Setup page, click the Plus icon to the
right of your current tabs, and then click Cases.
b. On the Cases Home page, select All Open Cases in the View field. Click Go if
necessary.
The cases created for Jira issues are displayed.
c. Click a case number to view a case record.
d. On the case's page, click the Details tab to view the associated Jira issue ID.
Using the values in the Jira Issue ID fields of case records, you can verify if all the
required cases have been created or updated.
Related Documentation
• Using the Jira Adapter with Oracle Integration
• Using the Salesforce Adapter with Oracle Integration
Note:
This recipe is available as Jira — Zendesk | Create Tickets for Issues in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is meant
only for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
Overview
This recipe creates a ticket in Zendesk for each Jira issue as per a schedule specified in
Oracle Integration. It uses the standard REST Adapter and Jira Adapter.
To use the recipe, you must install the recipe package and configure the connections and
other resources within the package. Subsequently, you can activate and run the integration
flow of the package manually or specify an execution schedule for it. When triggered, in the
first run, the integration flow reads all the issue records from the Jira instance and, in turn,
creates corresponding ticket records in your Zendesk instance. In subsequent runs, it creates
tickets for new Jira issues and also propagates updates made in earlier Jira issues to the
corresponding Zendesk tickets. Basic data associated with Jira issues, such as issue type,
summary, priority, description, status, and comments are synchronized between the two
platforms.
A-39
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
• For this recipe to execute successfully the Description field of Jira issues
must not be blank.
• In the second and subsequent runs of the recipe, updates made to the
descriptions of Jira issues aren't synchronized.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-40
Appendix A
Customer Relationship Management (CRM) Recipes
6. In the resulting dialog, enter a label for the new token, and click Create.
A new API token is generated.
7. Copy the token's value.
Configure Zendesk
You can create a user account on Zendesk exclusively for integration purposes. To avoid
access-related issues, assign the administrator role to this account.
You can use the credentials of this integration user account to access Zendesk using Oracle
Integration and create tickets for Jira issues. For information on creating a new Zendesk user
account with the administrator role, see Adding agents and admins.
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST Jira Connection
• Configure the Oracle REST Zendesk Connection
Note:
Optionally, you can configure the following lookup tables in the package.
• ORACLE-BRT-JIRA_ZENDESK_PRIORITY: This lookup table contains a
mapping of Jira issue priorities to Zendesk ticket priorities. Edit the table if
you require to change the preset mappings.
• ORACLE-BRT-JIRA_ZENDESK_TYPE: This lookup table contains a
mapping of Jira issue types to Zendesk ticket types. Edit the table if you
require to change the preset mappings.
• ORACLE-BRT-JIRA_ZENDESK_STATUS: This lookup table contains a
mapping of Jira issue statuses to Zendesk ticket statuses. Edit the table if
you require to change the preset mappings.
A-41
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-42
Appendix A
Customer Relationship Management (CRM) Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
Note:
The recipe's integration flow contains the following property:
• emailNotification: This integration property holds the email address to
which notifications of errors in the integration's execution are sent.
Optionally, you can add or update the value for this property after the integration
flow has been activated. For the procedure to update integration properties, see
Steps 6 to 9 in Override Design-Time Properties in an Integration
Note:
You can also schedule this integration to run at a date, time, and frequency
of your choosing. See Define the Integration Schedule.
A-43
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as PayPal — FTP | Export Invoices in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Overview
This recipe exports invoices created in PayPal as JSON files to an FTP server,
according to a schedule specified in Oracle Integration. Each JSON file contains data
of a single invoice.
The recipe uses the standard PayPal Adapter and the FTP Adapter. To use the recipe,
you must install the recipe and configure resources such as connections and lookups
within the recipe. After you activate and run the integration, the integration uses a
schedule parameter to filter out already exported invoices, fetches the latest invoices
from PayPal, and writes them as JSON files to the specified location on the FTP
server.
A-44
Appendix A
Customer Relationship Management (CRM) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure PayPal
You must perform certain tasks on your PayPal instance in order to successfully connect to it
using Oracle Integration and export invoices.
• Get PayPal API Credentials
• Create Invoices
https://developer.paypal.com/developer/applications
Create Invoices
Create invoices in your PayPal Sandbox account.
1. Get your Sandbox business account credentials.
a. Log in to the PayPal Developer Dashboard using your account user name and
password.
PayPal Developer Dashboard URL:
https://developer.paypal.com/developer/applications
A-45
Appendix A
Customer Relationship Management (CRM) Recipes
https://www.sandbox.paypal.com/
3. In the Home page, select Invoicing under Quick Links. Optionally, click the Pay
& Get Paid tab on the top of the page, and select Create & Manage invoices.
4. Click Create Invoice.
5. In the Create invoice page, configure the invoice fields.
a. In the Bill to field, enter the customer's name. For example, John Doe.
b. Click the Add link next to Ship to. In the resulting dialog, enter the customer's
shipping and billing address. Click Save.
c. Add invoice items. Enter the item name, quantity, price, and tax.
Click Add another line item to add more items in the invoice.
6. Click Send to send the invoice immediately. Optionally, click Save as Draft to save
the invoice and send it later.
3. Select the PayPal — FTP | Export Invoices recipe , and click Install .
A confirmation message informing the recipe was successfully installed appears,
and the recipe now displays the Installed tag.
A-46
Appendix A
Customer Relationship Management (CRM) Recipes
4. Click Configure on the recipe card to configure the following resources using the
Configuration Editor.
• Configure the Oracle PayPal Connection
• Configure the Oracle FTP Read Write Connection
• Configure the Oracle REST PayPal Connection
• Configure Lookups
2. Click Edit .
The PayPal Connection window appears.
3. In the Connection Properties section, from the PayPal Environment drop-down list,
select the environment (Sandbox).
4. In the Security section, from the Security Policy drop-down list, select Client
Credentials.
5. In the Client Id and Client Secret fields, enter the Client ID and Secret that you obtained
before.
See Get PayPal API Credentials.
6. Click Save. If prompted, click Save for a second time to confirm.
7. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again.
You get a confirmation message if your test is successful.
8. Click Back to return to the Configuration Editor page. Click Save again if prompted.
2. Click Edit .
The FTP Connection window appears.
3. In the Connection Properties section, enter the following details.
A-47
Appendix A
Customer Relationship Management (CRM) Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The REST Connection window appears.
3. From the Connection Type drop-down list, select REST API Base URL.
4. In the Connection URL field, enter the endpoint URL of your PayPal instance. For
example: https://api-sample.sandbox.paypal.com/.
5. In the Security section, from the Security Policy drop-down list, select Basic
Authentication.
6. In the Username field enter the Client ID, and in the Password field enter the
Client Secret that you obtained before.
See Get PayPal API Credentials.
7. Click Save. If prompted, click Save for a second time to confirm.
8. Click Test to ensure that your connection is successfully configured. In the dialog
that displays, click Test again.
You get a confirmation message if your test is successful.
9. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
Configure Lookups
Configure lookups to associate values used by one application (PayPal) to values
used by the other application (FTP).
1. On the Configuration Editor page, select the ORACLE-BRT-PP2FTP_ASSETS
lookup.
2. Click Edit .
A-48
Appendix A
Customer Relationship Management (CRM) Recipes
config_name config_value
FTP_DIR The directory path where the invoice files will be uploaded in the
FTP server. For example /oracle-int/paypal-invoices.
invPrefix Prefix of the invoice files. For example, if the file name is detail_INV-
NOV2020.JSON then the prefix is detail_.
pageSize Number of files that are to be fetched per call from PayPal. For
example 1.
4. Click Save and then click Back to return to the Configuration Editor page.
3. On the Configuration Editor page, click Run on the integration's row, and then select
Submit Now. In the resulting dialog, click Submit Now again.
The Schedule Parameters window appears.
4. In the Schedule Parameters window, enter the current date (format: YYYY-MM-DD) in the
New Value field. For example, 2021-06-02.
This filters out already exported invoices and ensures that only the latest invoices that
were created in PayPal after the last export gets fetched.
5. Click Submit.
You’ve successfully submitted the integration for a test run.
6. Log in to the FTP server and check if the invoice JSON files have been exported into the
specified directory.
Related Documentation
• Using the PayPal Adapter with Oracle Integration
• Using the FTP Adapter with Oracle Integration
A-49
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as Marketo — Oracle ADW | Import Leads in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Overview
This recipe bulk imports campaign leads created in Marketo and writes them into
Oracle ADW database. The recipe uses the standard Marketo Adapter and the
standard Oracle Autonomous Data Warehouse Adapter.
To use the recipe, you must install the recipe package and configure the connections
and other resources within the recipe package. Subsequently, you can activate and
run the integration flow manually or specify an execution schedule for it. When
triggered, the integration flow uses a schedule parameter to query campaign leads
created in Marketo on or after the date specified in the parameter. It extracts the leads
in a file that should be formatted as a comma-separated values file, and writes them
into database tables in Oracle ADW.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-50
Appendix A
Customer Relationship Management (CRM) Recipes
systems using Oracle Integration and successfully import leads from Marketo into Oracle
ADW.
1. Configure Marketo
2. Configure Oracle Autonomous Data Warehouse
Configure Marketo
Complete certain configuration tasks in your Marketo instance to successfully connect to it
from Oracle Integration.
The following steps give an overview of the tasks that you need to perform to obtain
information and details for configuring the Marketo connection from Oracle Integration. For
detail information on the steps, see Prerequisites for Creating a Connection in Using the
Marketo Adapter with Oracle Integration.
1. Create an API only user role.
2. Create a customer service.
3. Obtain the Client ID and Client Secret.
4. Obtain the Munchkin ID.
A-51
Appendix A
Customer Relationship Management (CRM) Recipes
5. Click Configure on the recipe card to configure the following resources using
the Configuration Editor.
• Configure the Oracle Marketo Connection
• Configure the Oracle ADW Connection
• Configure the Integration
2. Click Edit .
The Marketo Connection window appears.
3. Under the Connection Properties section, enter the munchkin ID that you obtained
earlier in the Munchkin ID field.
See Configure Marketo.
4. Under the Security section, enter the client ID and secret that you obtained earlier
in the Client Id and Client Secret field.
See Configure Marketo.
5. Click Save.
6. Click Test to ensure that your connection is successfully configured.
You get a confirmation message if your test is successful.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The Oracle ADW Connection window appears.
3. Under Connection Properties, in the Service Name field, enter the service name
of your Oracle ADW instance.
See Configure Oracle Autonomous Data Warehouse.
4. Under the Security section, enter the following details:
• In the Security Policy field, select JDBC Over SSL from the drop-down list.
A-52
Appendix A
Customer Relationship Management (CRM) Recipes
• In the Wallet field, click Upload to upload the credential wallet file that you obtained
earlier.
• Enter the password for your credential wallet file in the Wallet Password field.
• Enter your Oracle ADW account username in the Database Service Username field.
• Enter your Oracle ADW account password in the Database Service Password field.
See Configure Oracle Autonomous Data Warehouse.
5. Click Save on the connection window.
6. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again. You get a confirmation message if your test is successful.
A-53
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
Before activating and running the recipe, ensure that there are some
campaign leads in the Marketo instance.
A-54
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as Oracle IoT Cloud — Oracle Field Service Cloud |
Dispatch Technicians in the Integration Store. Oracle provides this recipe as a
sample only. The recipe is meant only for guidance, and is not warranted to be
error-free. No support is provided for this recipe.
Overview
This recipe enables you to dispatch technicians quickly and increase productivity by having
activities automatically created, without any manual interventions, from Oracle Internet of
Things Intelligent Applications Cloud to Oracle Field Service Cloud. You can also keep better
track of incidents and activities by minimizing human errors.
The capabilities include:
• End-to-end integration between Oracle Field Service Cloud and Oracle Internet of Things
Intelligent Applications Cloud
• Automatic activity creation based on alerts from IoT enabled devices
• Display IoT device details within Oracle Field Service Cloud
Related Documentation
• Oracle Field Service Cloud / IoTCS Integration using OIC
A-55
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
These recipes are available in the REST — ServiceNow | Manage
Incidents package in the Integration Store. Oracle provides these recipes as
samples only. These recipes are meant only for guidance, and are not
warranted to be error-free. No support is provided for these recipes.
Overview
Using the recipes in the REST — ServiceNow | Manage Incidents package, you can:
• Create an Incident in ServiceNow
• Update an Incident in ServiceNow
• Delete an Incident in ServiceNow
To run the ServiceNow recipes, you must configure the Oracle ServiceNow
Connection with the details necessary to access ServiceNow. You can then trigger the
integrations through a REST request and specify the request parameters. This invokes
the ServiceNow adapter to create, update or delete an incident in ServiceNow, as
specified in the request.
• For Oracle REST ServiceNow Create Incident, trigger the integration with the
REST request and specify incidentdescription as request parameter in the
payload. The ServiceNow adapter is subsequently invoked and it creates an
incident in ServiceNow. The response containing the incident number and the
incident Id is returned to you.
• For Oracle REST ServiceNow Update Incident, trigger the integration with the
REST request and specify incidentId, incidentState, and incidentUrgency as
request parameters in the payload. The ServiceNow adapter is subsequently
invoked and it updates the incident details in ServiceNow.
• For Oracle REST ServiceNow Delete Incident, trigger the integration with the
REST request and specify incidentId as request parameter in the payload. The
ServiceNow adapter is subsequently invoked and it deletes the incident details in
ServiceNow.
A-56
Appendix A
Customer Relationship Management (CRM) Recipes
{ "incidentdescription" : "Employee
phone number missing" }
{
"serviceNowNr": "INC0010031",
"serviceNowSysId":
"fe6a74e62f503010f129811df699b6e7"
}
A-57
Appendix A
Customer Relationship Management (CRM) Recipes
{"incidentId":"bec4ce452f603010f12981
1df699b6cc","incidentState":"2","inci
dentUrgency":"2"}
{
"incidentStatus":
"bec4ce452f603010f129811df699b6cc"
}
A-58
Appendix A
Customer Relationship Management (CRM) Recipes
{"incidentId":"fe6a74e62f503010f12981
1df699b6e7"}
Response Payload:
{
"status": "1"
}
A-59
Appendix A
Customer Relationship Management (CRM) Recipes
Related Documentation
• Using the ServiceNow Adapter with Oracle Integration
Note:
This recipe is available as Marketo — Slack | Post Notifications for New
Leads in the Integration Store. Oracle provides this recipe as a sample only.
The recipe is meant only for guidance, and is not warranted to be error-free.
No support is provided for this recipe.
Overview
This recipe posts notification message to a specified Slack channel with details about
new leads that are created in Marketo. It uses the standard Marketo Adapter and the
Slack Adapter.
To use the recipe, you must install the recipe package and configure the connections
and other resources within the recipe package. Subsequently, you can activate and
run the integration flow manually or specify an execution schedule for it. When
triggered, the integration flow queries for list of leads in Marketo. For the first time, it
fetches all leads present in the Marketo instance, creates a message with the lead
details (name and company), and posts the message to the specified Slack channel.
For subsequent executions, it filters out the old leads and fetches only the new leads
created since the last execution of the integration flow, and then posts notification
messages to the specified Slack channel with details about the new leads.
Recipe Schema
This section provides an architectural overview of the recipe.
When the integration flow of the recipe is triggered by an execution schedule or
manual submission, it queries the Marketo instance for a list of leads. It filters out the
old leads, that is, the leads that were already retrieved in the last integration flow;
retrieves the new leads from the list, and then creates a message with details about
the new leads. This message with details about the new leads is then sent to Slack
and posted to the specified Slack channel.
A-60
Appendix A
Customer Relationship Management (CRM) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-61
Appendix A
Customer Relationship Management (CRM) Recipes
Configure Marketo
Complete the following tasks in your Marketo instance to successfully connect to it
from Oracle Integration.
1. Create an API only user role.
2. Create a customer service.
3. Obtain the Client ID and Client Secret.
4. Obtain the Munchkin ID.
For detail information on the above steps, see Prerequisites for Creating a Connection
in Using the Marketo Adapter with Oracle Integration.
Configure Slack
Complete the following tasks in your Slack instance to successfully connect to it using
Oracle Integration and post notification messages.
1. Create and Configure a Slack App
2. Set Up Your Slack WorkSpace and Channel
3. Get the Slack Channel ID
A-62
Appendix A
Customer Relationship Management (CRM) Recipes
These API credentials, that is the client ID and secret, were automatically generated
when you created the app. You'll use these later while configuring connections to
your Slack instance from Oracle Integration.
3. Set permission and scope for your Slack App.
a. In the left menu, under Features, select OAuth & Permissions.
b. In the OAuth & Permissions page, go to the Redirect URLs section.
c. Click Add New Redirect URL and enter the URL of your Oracle Integration instance.
For example, https://your_instance_URL:443/icsapis/agent/oauth/callback,
where your_instance_URL is the Host URL of your Oracle Integration instance.
d. Click Add, and then click Save URLs.
e. Scroll to the Scopes section, and under User Token Scopes click Add an OAuth
Scope.
f. Enter chat:write.
g. Press Enter.
https://slack.com/get-started#/createnew
A-63
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The Marketo Connection window appears.
3. Under the Connection Properties section, enter the munchkin ID that you obtained
earlier in the Munchkin ID field.
A-64
Appendix A
Customer Relationship Management (CRM) Recipes
See Prerequisites for Creating a Connection in Using the Marketo Adapter with Oracle
Integration.
4. Under the Security section, enter the client ID and secret that you obtained earlier in the
Client Id and Client Secret field.
See Prerequisites for Creating a Connection in Using the Marketo Adapter with Oracle
Integration.
5. Click Save.
6. Click Test to ensure that your connection is successfully configured.
You get a confirmation message if your test is successful.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
2. Click Edit .
The Slack Connection window appears.
3. Under the Security section:
• In the Client ID and Client Secret fields, enter the Client ID and Client Secret you
obtained earlier while creating and configuring a Slack app.
• In the Scope field, enter chat:write:bot.
See Create and Configure a Slack App.
4. Click Provide Consent.
A new browser window opens to approve access to Slack.
5. Click Allow.
6. On the Slack Connection window, click Save.
7. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again. You get a confirmation message if your test is successful.
A-65
Appendix A
Customer Relationship Management (CRM) Recipes
5. Click Submit.
You get a confirmation message that the integration property has been updated
successfully.
Note:
Before activating and running the recipe, ensure that there are new leads in
your Marketo instance.
Note:
You can also schedule this integration to run at a date, time, and
frequency of your choosing. See Define the Integration Schedule.
A-66
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as ServiceNow — Slack | Post Activity Notifications in
the Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Overview
This recipe posts notification messages in Slack when certain activities occur in ServiceNow.
The recipe contains the following four integration flows:
• Oracle ServiceNow Slack Asset Creation: This integration flow is triggered when an
asset is created in ServiceNow. It receives the asset details (such as DisplayName,
Category, Created By, Created Date, SerialNumber) from ServiceNow, and posts the
same to the specific channel in Slack.
• Oracle ServiceNow Slack Incident Creation: This integration flow is triggered when an
incident is created in ServiceNow. It receives the incident details (such as
IncidentNumber, Created By, Description, Priority, Assigned To, Creation Date) from
ServiceNow, and posts the same to the specific channel in Slack.
• Oracle ServiceNow Slack Request Creation: This integration flow is triggered when a
request is created in ServiceNow. It receives the request details (such as Request
Number, Description, Priority, Created By, Created Date) from ServiceNow, and posts the
same to the specific channel in Slack.
• Oracle ServiceNow Slack Request Closure: This integration is triggered when a
request is closed in ServiceNow. It receives details (such as Request Number, Priority,
Created By, Created Date, Closed By) of the closed request from ServiceNow, and posts
the same to the specific channel in Slack.
The integrations use the standard ServiceNow Adapter and the standard Slack Adapter. To
use the recipe, you must install the recipe package and configure the connections and other
resources within the package. Then, you can activate and run some or all the integrations in
the package, and invoke the integrations from ServiceNow.
A-67
Appendix A
Customer Relationship Management (CRM) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure ServiceNow
You can use admin account credentials or custom account credentials while
configuring the ServiceNow connection in Oracle Integration.
If you do not want to use an admin account, then create a custom integration user and
assign the required role and permissions to the user. For information about creating a
custom user, see Prerequisites for Creating a Connection in Using the ServiceNow
Adapter with Oracle Integration.
Configure Slack
You must perform certain tasks in your Slack instance to successfully connect to it
using Oracle Integration and post notification messages.
1. Set Up Your Slack WorkSpace and Channel
2. Get the Slack Channel ID
3. Create and Configure a Slack App
https://slack.com/get-started#/createnew
A-68
Appendix A
Customer Relationship Management (CRM) Recipes
c. In the Create a channel dialog, enter your channel’s name in the Name field. For
example, #incident-creation.
d. Optionally, enter a suitable description in the Description field to let others know
what the channel is about. For example: This channel notifies whenever an incident
is created in ServiceNow.
e. Click Create.
Repeat the steps above to create four channels.
• A channel to post ServiceNow asset creation notications ( #asset-creation).
• A channel to post ServiceNow incident creation notications (#incident-creation).
• A channel to post ServiceNow request creation notications (#request-creation).
• A channel to post ServiceNow request closure notications (#request-closure).
3. Add people to your channel.
a. On your Slack workspace, select the channel from the left navigation pane to open it.
A-69
Appendix A
Customer Relationship Management (CRM) Recipes
A-70
Appendix A
Customer Relationship Management (CRM) Recipes
3. Find and select the recipe package that you want to install, then click Install .
A confirmation message informing that the recipe was successfully installed appears, and
the recipe now displays the Installed tag.
4. Click Configure on the recipe card to configure the following resources using the
Configuration Editor.
• Configure the Oracle ServiceNow Connection
• Configure the Oracle Slack Connection
• Configure Integration Properties
2. Click Edit .
The ServiceNow Connection window appears.
3. In the Connection Properties section, enter your ServiceNow instance URL in the
ServiceNow Instance Name field. For example, https://<instance_name>.service-
now.com
4. In the Security section, enter your ServiceNow username in the Username field, and
your ServiceNow password in the Password field.
5. Click Save.
6. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again. You get a confirmation message if your test is successful.
A-71
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The Slack Connection window appears.
3. Under the Security section:
• In the Client ID and Client Secret fields, enter the Client ID and Client Secret
you obtained earlier while creating and configuring a Slack app.
• In the Scope field, enter the permission scopes you configured while creating
and configuring a Slack app.
See Create and Configure a Slack App.
4. Click Provide Consent.
A new browser window opens to approve access to Slack.
5. Click Allow.
6. On the Slack Connection window, click Save.
7. Click Test to ensure that your connection is successfully configured. In the dialog
that displays, click Test again. You get a confirmation message if your test is
successful.
2. Click Actions , and then select Update Property Values from the menu.
3. In the Update Property Values dialog, note the two properties that have been
configured - SlackChannelID and EmailNotification.
4. Click SlackChannelID and in the New Value field enter the channel ID of your
Slack channel.
For example, if you're configuring the properties for Oracle ServiceNow Slack
Asset Creation integration, then enter the channel ID of the Slack channel you
created to post notifications for ServiceNow asset creation (#asset-creation).
A-72
Appendix A
Customer Relationship Management (CRM) Recipes
A-73
Appendix A
Customer Relationship Management (CRM) Recipes
b. On the left navigation pane, enter Asset in the Filter navigator field.
The Self-Service menu displays all modules related to Asset.
c. In the Self-Service menu, under Portfolios click All Assets.
d. In the Assets window, click New.
e. In the resulting window, select the asset type.
f. Fill the fields as required in the asset creation form.
g. Click Submit.
The new asset is created and displayed in the Assets window.
2. Monitor the execution of the integration flow in Oracle Integration.
a. In the Oracle Integration home page, click Monitoring, then Integrations, and
then Tracking.
b. In the Track instances page, you can see the integration flow being triggered
and executed successfully. The recipe now sends a notification message to
the Slack channel created for asset creation notifications.
3. Check if the notification is posted in the Slack channel.
a. In Slack, navigate to the channel (#asset creation) created for posting asset
creation notifications.
b. Check if the notification message for the asset that you created in ServiceNow
is posted in the channel.
A-74
Appendix A
Customer Relationship Management (CRM) Recipes
A-75
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as ServiceNow — DocuSign | Send IT Compliance
Documents in the Integration Store. Oracle provides this recipe as a sample
only. The recipe is meant only for guidance, and is not warranted to be error-
free. No support is provided for this recipe.
Overview
This recipe sends an IT compliance document from DocuSign to the email address of
a new IT service management user, when the user is created in ServiceNow. The
integration uses the standard ServiceNow Adapter and the standard DocuSign
Adapter.
To use the recipe, you must install the recipe and configure the connections and other
resources within the recipe package. Then you can activate and run the recipe
manually. When a new user is created in ServiceNow, the integration flow gets
triggered, and it sends the IT compliance document from DocuSign to the user's email
address specified in the new user record form in ServiceNow. The user electronically
signs the compliance document received in email and completes the process.
A-76
Appendix A
Customer Relationship Management (CRM) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure ServiceNow
You can use admin account credentials or custom account credentials while configuring the
ServiceNow connection in Oracle Integration.
If you do not want to use an admin account, then create a custom integration user and assign
the required role and permissions to the user. For information about creating a custom user,
see Prerequisites for Creating a Connection in Using the ServiceNow Adapter with Oracle
Integration.
Configure DocuSign
You must complete the following prerequisite tasks to connect to DocuSign from Oracle
Integration, and send compliance documents for new ServiceNow users.
1. Create an App and Integration Key
2. Create a Template
3. Get the Template ID
A-77
Appendix A
Customer Relationship Management (CRM) Recipes
4. On the Apps and Keys page, click ADD APP AND INTEGRATION KEY.
5. In the Add Integration Key dialog, enter a name for the app in the App Name field,
and click CREATE APP.
6. On your app's page, under General Info, note the Integration Key. Click the Copy
to clipboard icon to copy the integration key value.
You'll need the integration key (client ID) value while configuring the DocuSign
connection from Oracle Integration.
7. In the Authentication section:
a. Under User Application, select Authorization Code Grant.
b. Under Secret Keys, click ADD SECRET KEY
c. Click the Copy to clipboard icon to copy the secret key value.
d. Note the secret key value. You'll need it later while configuring the DocuSign
connection from Oracle Integration.
8. In the Additional settings section, under Redirect URIs, click ADD URI and enter
your redirect URI.
https://{OIC_HOST}:{OIC_SSL_PORT}/icsapis/agent/oauth/callback
a. Under My Account Information of the Apps and Keys page, copy the API
Account ID. Click the Copy to clipboard icon.
b. Note the value of the API Account ID. You'll need it later while configuring the
DocuSign connection from Oracle Integration.
11. Get the DocuSign Account ID.
Create a Template
The compliance document that is sent to new ServiceNow users from DocuSign must
be based on a pre-defined template. You have to create and set up this template in
DocuSign.
1. Log in to your DocuSign account at https://account.docusign.com.
2. On the DocuSign home page, click Templates on the title bar.
3. In the left navigation pane, click New, and from the drop-down menu click Create
Template.
4. In the resulting window, enter a name and description for the template.
A-78
Appendix A
Customer Relationship Management (CRM) Recipes
Tip: To quickly access a topic in the DocuSign eSignature User Guide, you can search for the
topic in the DocuSign | Support page (https://support.docusign.com/en/home).
A-79
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The ServiceNow Connection window appears.
3. In the Connection Properties section, enter your ServiceNow instance URL in the
ServiceNow Instance Name field. For example, https://
<instance_name>.service-now.com/.
4. In the Security section, enter your ServiceNow username in the Username field,
and your ServiceNow password in the Password field.
5. Click Save.
6. Click Test to ensure that your connection is successfully configured. In the dialog
that displays, click Test again. You get a confirmation message if your test is
successful.
A-80
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The DocuSign Connection window appears.
3. In the Client ID (Integrator Key) and Client Secret fields, enter the client ID (integration
key) and secret that you obtained earlier while creating an app and integration key in
DocuSign.
See Create an App and Integration Key.
4. Enter signature extended in the Scope field.
5. Enter sandbox in the Instance Type field.
6. In the Account ID field, enter the DocuSign Account ID followed by the API Account ID.
You obtained the DocuSign Account ID and the API Account ID while creating an app
and integration key in DocuSign. See Create an App and Integration Key.
7. Click Provide Consent.
8. In the resulting Sign in dialog, enter your Oracle Integration username and password in
the Username and Password fields, and click Sign in.
A browser window to grant access to DocuSign appears.
9. Enter your DocuSign account credentials, then click Authorize and grant access.
10. On the DocuSign Connection window, click Save.
11. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again. You get a confirmation message if your test is successful.
A-81
Appendix A
Customer Relationship Management (CRM) Recipes
You get a confirmation message that the integration properties have been updated
successfully.
A-82
Appendix A
Customer Relationship Management (CRM) Recipes
f. Click Submit.
The new user record appears at the top of the list in the Users page.
2. Monitor the execution of the integration in Oracle Integration.
a. In the Oracle Integration home page, click Monitoring, then Integrations, and then
Tracking.
b. In the Track instances page, you can see the integration flow being triggered and
executed successfully. The recipe now sends the compliance document to the new
user's email address that was specified in the new user record form in ServiceNow.
3. Check if you received the compliance document from DocuSign in the specified email
address, and you're able to access and sign it.
a. Sign in to the email account that you specified in the ServiceNow new user form in
step 1e.
b. Check if you received an email to review and sign the compliance document.
c. Open the email, and click REVIEW DOCUMENT.
d. Select the I agree to use Electronic Records and Signatures check box.
e. Select Continue to access the compliance document.
f. On the compliance document, click the START tag on the left. You're taken to the
Signature field of the document. Optionally, drag the START tag to the part of the
document where you want to sign.
g. Click the SIGN tag.
h. In the resulting Adopt Your Signature dialog, verify if your name and signature is
correct, and then click ADOPT AND SIGN.
If needed, you can change the information.
• Enter your name in the Full Name field.
• Enter your initials in the Initials field.
i. On the compliance document, click FINISH.
j. In the dialog that lets you know that a copy of the signed document will be sent to
your email address, click Continue.
You get an email with the signed compliance document.
Related Documentation
• Using the ServiceNow Adapter with Oracle Integration
A-83
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as Salesforce — DocuSign | Send Opportunity
Documents in the Integration Store. Oracle provides this recipe as a sample
only. The recipe is meant only for guidance, and is not warranted to be error-
free. No support is provided for this recipe.
Overview
This recipe sends all the documents attached to a Salesforce opportunity to DocuSign
when the opportunity is moved to the Closed Won status in Salesforce. It uses the
standard Salesforce Adapter and the DocuSign Adapter. To use the recipe, you must
install the recipe package and configure the connections and other resources within
the package.
When an opportunity record closes with the status Closed Won in Salesforce, the
integration flow of the recipe is triggered. It receives the opportunity ID from Salesforce
and checks if the opportunity record contains any document attachments. If there are
attachments, the integration flow retrieves those documents and sends them to
DocuSign. In DocuSign, these documents are available within a new draft envelope.
Note:
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
A-84
Appendix A
Customer Relationship Management (CRM) Recipes
Configure Salesforce
To access Salesforce using Oracle Integration and retrieve documents attached to
opportunities, you must perform certain configuration tasks on your Salesforce instance.
Create a user account on Salesforce for Oracle Integration. You'll use the credentials of this
user account while configuring the Salesforce connection in Oracle Integration.
Also, identify your Salesforce instance type and your current Salesforce API version. In
addition, create an outbound message to trigger the recipe in Oracle Integration, and create a
workflow rule to send the outbound message when a Salesforce opportunity is moved to the
status Closed Won. Finally, enable uploading attachments to records as Salesforce Files.
Log in to your Salesforce instance as an Administrator and execute the following tasks.
Note:
The steps provided here apply to the Salesforce Classic UI. If you're using the
Lightning Experience UI on your Salesforce instance, switch to the Classic UI. See
Toggle or switch between Lightning Experience and Salesforce Classic.
1. Create an API-enabled custom role. You'll assign this role to the user account you'll
subsequently create for Oracle Integration.
a. On the Salesforce Setup page:
i. Expand Manage Users under the Administer section in the left navigation pane.
ii. Click Profiles.
b. On the Profiles page, click New Profile.
c. On the resulting page:
i. Select Standard User in the Existing Profile field.
ii. Enter a name for the new profile, for example, API Enabled, and click Save.
The new profile is now saved, and the Profile Detail page of the new profile is
displayed.
d. Click Edit on the Profile Detail page.
e. On the Profile Edit page:
i. Scroll to the Administrative Permissions section and ensure that the API
Enabled check box is selected.
A-85
Appendix A
Customer Relationship Management (CRM) Recipes
ii. Scroll to the Standard Object Permissions section and perform the
following actions.
• In the Accounts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Contacts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Price Books row, leave the Read box checked. Additionally,
select the Create, Edit, and Delete check boxes.
• In the Products row, leave the Read box checked. Additionally, select
the Create, Edit, and Delete check boxes.
iii. Scroll to the end of the page and click Save.
2. Create a user account for Oracle Integration and assign the custom role created
previously to this account.
Note:
If you have already created a user account for Oracle Integration, you
can assign the API-enabled custom role to the existing account.
a. On the Profile Detail page of the API Enabled profile, click View Users.
b. Click New User in the resulting page.
c. On the New User page:
i. Enter a first name and last name for the user, for example, Integration
User05.
ii. In the Email field, enter a valid email address.
The email address you enter is automatically populated in the Username
field. Note down this user name.
iii. In the User License field, select Salesforce.
iv. In the Profile field, select the profile you created previously, that is, API
Enabled.
v. Scroll to the end of the page, ensure that the Generate new password
and notify user immediately check box is selected, and click Save.
The user account is now created, and a verification email is sent to the
email address you provided for the account.
d. Log in to the corresponding email account and click the Verify Account button
in the email message from Salesforce.
You're redirected to the Salesforce instance to set a password for the new
user account.
e. Set a password and note down the same.
Subsequently, you're signed in to the Salesforce instance with the new
account.
A-86
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce Classic
UI. See Toggle or switch between Lightning Experience and Salesforce
Classic.
f. Generate a security token for the new user account. You'll need this security token
along with the password to access Salesforce using Oracle Integration.
i. Stay signed in as the new user, and click the user name at the top of the page to
open a menu.
ii. Click My Settings in the menu.
iii. On the My Settings page, in the Quick Links section, click Edit my personal
information.
iv. On the resulting page, click Reset My Security Token in the left navigation
pane.
v. Click the Reset Security Token button.
A new security token is sent to the email address associated with the account.
Note down the security token.
vi. On the Salesforce instance, click the user name again and select Logout from
the menu. Log back in as the Administrator.
3. Identify your current Salesforce API version.
a. On the Salesforce Setup page:
i. Scroll to the Build section in the left navigation pane.
ii. Expand Develop, and then click API.
b. On the API WSDL page, click the Generate Enterprise WSDL link.
The WSDL is displayed in a new browser tab, and your current API version is present
in the second line. For example:
A-87
Appendix A
Customer Relationship Management (CRM) Recipes
A-88
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
You must enable this feature only if you upload documents in the Classic UI
through the Notes & Attachments section. In the Lightning UI, the documents
you upload in the Notes & Attachments section of records are added as
Salesforce Files by default.
Configure DocuSign
To connect to DocuSign from Oracle Integration and send documents to it, you must create
an OAuth application on your DocuSign instance and obtain access keys for the application.
1. Log in to your DocuSign Developer account at https://appdemo.docusign.com/home.
2. Click the Settings tab on the title bar.
3. On the resulting page, scroll to the INTEGRATIONS section in the left navigation menu,
and click Apps and Keys.
4. On the Apps and Keys page, click ADD APP AND INTEGRATION KEY.
5. In the Add Integration Key dialog, enter a name for the app and click CREATE APP.
6. On the app's page:
a. Under the General Info section, copy the Integration Key displayed using the Copy
to clipboard icon.
b. In the Authentication section:
i. Under User Application, select Authorization Code Grant.
ii. Under Secret Keys, click ADD SECRET KEY. After the secret key is added,
copy its value using the Copy to clipboard icon.
c. In the Additional settings section, under Redirect URIs, click ADD URI and enter the
following redirect URI.
https://{OIC_HOST}:{OIC_SSL_PORT}/icsapis/agent/oauth/callback
Replace OIC_HOST and OIC_SSL_PORT with values specific to your Oracle Integration
instance.
A-89
Appendix A
Customer Relationship Management (CRM) Recipes
d. Click Save.
You're redirected back to the Apps and Keys page. The newly created app is
displayed under the Apps and Integration Keys section.
7. Optionally, on the Apps and Keys page, get the API account ID of your DocuSign
account. You'll require this ID if you want to log in to multiple accounts for a given
user.
Under the My Account Information section, copy the API Account ID displayed
using the corresponding Copy to clipboard icon.
8. Get the DocuSign account ID.
a. Click the profile image in the upper-right corner of the page.
b. In the menu that displays, note the account ID under your name.
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe
package. Configure the following resources before you activate and run the recipe.
• Configure the Oracle Salesforce Connection
• Configure the Oracle DocuSign Connection
• Update Integration Properties
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-90
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
To the password, you must also append the
security token generated for the same account.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Security section, enter the following details.
A-91
Appendix A
Customer Relationship Management (CRM) Recipes
You're informed that access to DocuSign is allowed. You can now switch back to
the DocuSign Connection window of Oracle Integration to test your connection.
9. In the Oracle DocuSign Connection window, click Test to ensure that your
connection is successfully configured.
A confirmation message is displayed if your test is successful.
10. Click Back to return to the Configuration Editor page. Click Save if prompted.
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce
Classic UI. See Toggle or switch between Lightning Experience and
Salesforce Classic.
Note:
If you don't see the Opportunities tab on the page, click the Plus
icon to the right of your current tabs, and then click Opportunities.
c. On the Opportunities Home page, select All Opportunities in the View field
and click Go!.
A-92
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as Salesforce — Twilio | Send Notifications to Lead
Owners in the Integration Store. Oracle provides this recipe as a sample only. The
recipe is meant only for guidance, and is not warranted to be error-free. No support
is provided for this recipe.
Overview
This recipe sends a notification message to the newly-assigned owner of a Salesforce lead
using Twilio's short message service (SMS). It uses the standard Salesforce Adapter and the
Twilio Adapter. To use the recipe, you must install the recipe package and configure the
connections and other resources within the package.
A-93
Appendix A
Customer Relationship Management (CRM) Recipes
When a lead's owner changes in Salesforce, the integration flow of the recipe is
triggered. The integration receives the information about the lead along with the new
owner's mobile number from Salesforce, creates a text message, and invokes Twilio to
send the message to the mobile number.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure Salesforce
To access Salesforce using Oracle Integration and retrieve information about
Salesforce leads, you must perform certain configuration tasks on your Salesforce
instance.
Create a user account on Salesforce for Oracle Integration. You'll use the credentials
of this user account while configuring the Salesforce connection in Oracle Integration.
Also, identify your Salesforce instance type and your current Salesforce API version.
In addition, create an outbound message to trigger the recipe in Oracle Integration,
and create a workflow rule to send the outbound message when the owner of a
Salesforce lead is changed.
Log in to your Salesforce instance as an Administrator and execute the following
tasks.
Note:
The steps provided here apply to the Salesforce Classic UI. If you're using
the Lightning Experience UI on your Salesforce instance, switch to the
Classic UI. See Toggle or switch between Lightning Experience and
Salesforce Classic.
A-94
Appendix A
Customer Relationship Management (CRM) Recipes
1. Create an API-enabled custom role. You'll assign this role to the user account you'll
subsequently create for Oracle Integration.
a. On the Salesforce Setup page:
i. Expand Manage Users under the Administer section in the left navigation pane.
ii. Click Profiles.
b. On the Profiles page, click New Profile.
c. On the resulting page:
i. Select Standard User in the Existing Profile field.
ii. Enter a name for the new profile, for example, API Enabled, and click Save.
The new profile is now saved, and the Profile Detail page of the new profile is
displayed.
d. Click Edit on the Profile Detail page.
e. On the Profile Edit page:
i. Scroll to the Administrative Permissions section and ensure that the API
Enabled check box is selected.
ii. Scroll to the Standard Object Permissions section and perform the following
actions.
• In the Accounts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Contacts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Price Books row, leave the Read box checked. Additionally, select the
Create, Edit, and Delete check boxes.
• In the Products row, leave the Read box checked. Additionally, select the
Create, Edit, and Delete check boxes.
iii. Scroll to the end of the page and click Save.
2. Create a user account for Oracle Integration and assign the custom role created
previously to this account.
Note:
If you have already created a user account for Oracle Integration, you can
assign the API-enabled custom role to the existing account.
a. On the Profile Detail page of the API Enabled profile, click View Users.
b. Click New User in the resulting page.
c. On the New User page:
i. Enter a first name and last name for the user, for example, Integration User05.
ii. In the Email field, enter a valid email address.
The email address you enter is automatically populated in the Username field.
Note down this user name.
A-95
Appendix A
Customer Relationship Management (CRM) Recipes
iv. In the Profile field, select the profile you created previously, that is, API
Enabled.
v. Scroll to the end of the page, ensure that the Generate new password
and notify user immediately check box is selected, and click Save.
The user account is now created, and a verification email is sent to the
email address you provided for the account.
d. Log in to the corresponding email account and click the Verify Account button
in the email message from Salesforce.
You're redirected to the Salesforce instance to set a password for the new
user account.
e. Set a password and note down the same.
Subsequently, you're signed in to the Salesforce instance with the new
account.
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce
Classic UI. See Toggle or switch between Lightning Experience and
Salesforce Classic.
f. Generate a security token for the new user account. You'll need this security
token along with the password to access Salesforce using Oracle Integration.
i. Stay signed in as the new user, and click the user name at the top of the
page to open a menu.
ii. Click My Settings in the menu.
iii. On the My Settings page, in the Quick Links section, click Edit my
personal information.
iv. On the resulting page, click Reset My Security Token in the left
navigation pane.
v. Click the Reset Security Token button.
A new security token is sent to the email address associated with the
account. Note down the security token.
vi. On the Salesforce instance, click the user name again and select Logout
from the menu. Log back in as the Administrator.
3. Identify your current Salesforce API version.
a. On the Salesforce Setup page:
i. Scroll to the Build section in the left navigation pane.
ii. Expand Develop, and then click API.
b. On the API WSDL page, click the Generate Enterprise WSDL link.
The WSDL is displayed in a new browser tab, and your current API version is
present in the second line. For example:
A-96
Appendix A
Customer Relationship Management (CRM) Recipes
A-97
Appendix A
Customer Relationship Management (CRM) Recipes
ii. Enter the following details for the new workflow rule:
• Enter LeadTwilio as the rule's name.
• Optionally, enter a description for the rule.
• In the Evaluation Criteria section, select the created, and every time
it's edited radio button.
• In the Rule Criteria section, select the formula evaluates to true
option, and add the following expression into the expression field:
ISCHANGED( OwnerId ).
• Click Save & Next.
iii. On the next page, click the Add Workflow Action button and choose
Select Existing Action.
iv. On the Select Existing Actions page:
Configure Twilio
To connect to Twilio from Oracle Integration and send messages through it, you must
obtain the credentials associated with your Twilio account.
1. Log in to the Twilio console at https://console.twilio.com/.
2. Under the Project Info section on the home page:
a. Note the phone number associated with your account. Twilio uses this phone
number to send messages.
b. Note the values in the ACCOUNT SID and AUTH TOKEN fields. You'll need
these values to configure the Twilio connection in Oracle Integration. Click
Show to reveal the AUTH TOKEN number.
A-98
Appendix A
Customer Relationship Management (CRM) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle Salesforce Connection
• Configure the Oracle Twilio Connection
• Update Integration Properties
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
Note:
To the password, you must also append the
security token generated for the same account.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
A-99
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The connection configuration page appears.
3. In the Security section, enter the following details.
6. Click Back to return to the Configuration Editor page. Click Save if prompted.
A-100
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce Classic
UI. See Toggle or switch between Lightning Experience and Salesforce
Classic.
Note:
If you don't see the Leads tab on the page, click the Plus icon to the right
of your current tabs, and then click Leads.
c. On the Leads Home page, select All Open Leads in the View field and click Go!.
All open leads on your Salesforce instance are displayed.
d. Click on a lead record's name to open it.
e. On the lead's page, click Change in the Lead Owner field.
f. On the resulting Change Lead Owner page, with User selected as the owner type,
select an existing user using the lookup. Click Save.
Ensure that the Salesforce user you select has a mobile number associated with it.
This recipe requires the mobile phone number of the lead owner to send an SMS
message. If you don't find the required user in the lookup, create a new user record
(with a mobile phone number).
You've now successfully triggered the recipe.
3. Monitor the execution of the integration flow in Oracle Integration.
a. On the Configuration Editor page of the recipe, select the integration flow.
A-101
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
This recipe is available as Salesforce — SurveyMonkey | Send Surveys to
Case Contacts in the Integration Store. Oracle provides this recipe as a
sample only. The recipe is meant only for guidance, and is not warranted to
be error-free. No support is provided for this recipe.
Overview
This recipe sends a link to a survey created with SurveyMonkey to the contact's email
address specified in a Salesforce case when the case is closed. It uses the standard
Salesforce Adapter and the SurveyMonkey Adapter. To use the recipe, you must
install the recipe package and configure the connections and other resources within
the package.
When a case is closed in Salesforce, the integration flow of the recipe is triggered. It
receives the contact email address specified in the case from Salesforce, fetches a
survey link from SurveyMonkey, and sends the link to the email address.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-102
Appendix A
Customer Relationship Management (CRM) Recipes
Configure Salesforce
To access Salesforce using Oracle Integration and retrieve contact email addresses from
Salesforce cases, you must perform certain configuration tasks on your Salesforce instance.
Create a user account on Salesforce for Oracle Integration. You'll use the credentials of this
user account while configuring the Salesforce connection in Oracle Integration.
Also, identify your Salesforce instance type and your current Salesforce API version. In
addition, create an outbound message to trigger the recipe in Oracle Integration, and create a
workflow rule to send the outbound message when a Salesforce case is closed.
Log in to your Salesforce instance as an Administrator and execute the following tasks.
Note:
The steps provided here apply to the Salesforce Classic UI. If you're using the
Lightning Experience UI on your Salesforce instance, switch to the Classic UI. See
Toggle or switch between Lightning Experience and Salesforce Classic.
1. Create an API-enabled custom role. You'll assign this role to the user account you'll
subsequently create for Oracle Integration.
a. On the Salesforce Setup page:
i. Expand Manage Users under the Administer section in the left navigation pane.
ii. Click Profiles.
b. On the Profiles page, click New Profile.
c. On the resulting page:
i. Select Standard User in the Existing Profile field.
ii. Enter a name for the new profile, for example, API Enabled, and click Save.
The new profile is now saved, and the Profile Detail page of the new profile is
displayed.
d. Click Edit on the Profile Detail page.
e. On the Profile Edit page:
i. Scroll to the Administrative Permissions section and ensure that the API
Enabled check box is selected.
ii. Scroll to the Standard Object Permissions section and perform the following
actions.
• In the Accounts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Contacts row, leave the Read, Create, Edit, and Delete boxes
checked. Additionally, select the ViewAll check box.
• In the Price Books row, leave the Read box checked. Additionally, select the
Create, Edit, and Delete check boxes.
• In the Products row, leave the Read box checked. Additionally, select the
Create, Edit, and Delete check boxes.
A-103
Appendix A
Customer Relationship Management (CRM) Recipes
2. Create a user account for Oracle Integration and assign the custom role created
previously to this account.
Note:
If you have already created a user account for Oracle Integration, you
can assign the API-enabled custom role to the existing account.
a. On the Profile Detail page of the API Enabled profile, click View Users.
b. Click New User in the resulting page.
c. On the New User page:
i. Enter a first name and last name for the user, for example, Integration
User05.
ii. In the Email field, enter a valid email address.
The email address you enter is automatically populated in the Username
field. Note down this user name.
iii. In the User License field, select Salesforce .
iv. In the Profile field, select the profile you created previously, that is, API
Enabled.
v. Scroll to the end of the page, ensure that the Generate new password
and notify user immediately check box is selected, and click Save.
The user account is now created, and a verification email is sent to the
email address you provided for the account.
d. Log in to the corresponding email account and click the Verify Account button
in the email message from Salesforce.
You're redirected to the Salesforce instance to set a password for the new
user account.
e. Set a password and note down the same.
Subsequently, you're signed in to the Salesforce instance with the new
account.
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce
Classic UI. See Toggle or switch between Lightning Experience and
Salesforce Classic.
f. Generate a security token for the new user account. You'll need this security
token along with the password to access Salesforce using Oracle Integration.
i. Stay signed in as the new user, and click the user name at the top of the
page to open a menu.
ii. Click My Settings in the menu.
A-104
Appendix A
Customer Relationship Management (CRM) Recipes
iii. On the My Settings page, in the Quick Links section, click Edit my personal
information.
iv. On the resulting page, click Reset My Security Token in the left navigation
pane.
v. Click the Reset Security Token button.
A new security token is sent to the email address associated with the account.
Note down the security token.
vi. On the Salesforce instance, click the user name again and select Logout from
the menu. Log back in as the Administrator.
3. Identify your current Salesforce API version.
a. On the Salesforce Setup page:
i. Scroll to the Build section in the left navigation pane.
ii. Expand Develop, and then click API.
b. On the API WSDL page, click the Generate Enterprise WSDL link.
The WSDL is displayed in a new browser tab, and your current API version is present
in the second line. For example:
A-105
Appendix A
Customer Relationship Management (CRM) Recipes
A-106
Appendix A
Customer Relationship Management (CRM) Recipes
Configure SurveyMonkey
You must perform the following prerequisite tasks in your SurveyMonkey instance.
1. Create and Configure a SurveyMonkey App
2. Create a Survey
A-107
Appendix A
Customer Relationship Management (CRM) Recipes
Create a Survey
You have to create a survey in SurveyMonkey for which you want to receive
responses.
1. Log in to your SurveyMonkey account at https://www.surveymonkey.com/user/
sign-in/.
2. On the SurveyMonkey Dashboard, click CREATE SURVEY on the title bar.
3. Create a survey using one of the following options in the Create a new survey
pane on the left:
• Start from scratch
• Copy a past survey
• Buy Targeted Response
• Import Questions
• Start from template
• Build it for me
Find information related to creating and managing surveys under the Design and
Manage topic in the SurveyMonkey Help Center (https://help.surveymonkey.com/).
Note down the name of the survey that you have created.
4. Click Next to preview your survey.
5. Click Next to view the COLLECT RESPONSES section.
6. Click Send surveys your way.
The COLLECT RESPONSES section displays the different ways in which you can
collect the responses.
7. Click Share a survey link.
The COLLECT RESPONSES section displays the details of the web link collector.
Note down the name of the collector. For example, Web Link 1.
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe
package. Configure the following resources before you activate and run the recipe.
A-108
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
Note:
To the password, you must also append the
security token generated for the same account.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Security section, enter the following details.
A-109
Appendix A
Customer Relationship Management (CRM) Recipes
10. Click Back to return to the Configuration Editor page. Click Save if prompted.
A-110
Appendix A
Customer Relationship Management (CRM) Recipes
A confirmation message is displayed informing that the integration has been submitted
for activation. Refresh the page to view the updated status of the integration.
2. Run the recipe.
a. Log in to your Salesforce instance.
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce Classic
UI. See Toggle or switch between Lightning Experience and Salesforce
Classic.
Note:
If you don't see the Cases tab on the page, click the Plus icon to the right
of your current tabs, and then click Cases.
Note:
If you don't find the required contact in the lookup, create a new contact
record (with an email address) using the Contacts tab.
iv. Select the required value in the Case Currency drop-down list.
v. Click Save.
The new case is created and displayed on your browser.
e. On the summary page of the case, click the Details tab and then click Close Case.
f. On the resulting page, select Closed in the Status field, select a suitable value in the
Case Reason field, and click Save.
You've now successfully triggered the recipe.
3. Monitor the execution of the integration flow in Oracle Integration.
a. On the Configuration Editor page of the recipe, select the integration flow.
A-111
Appendix A
Customer Relationship Management (CRM) Recipes
c. On the Track Instances page, you'll see the integration flow of the recipe being
triggered and executing successfully.
The recipe now fetches the link to the specified survey from SurveyMonkey
and sends it to the contact email address of the Salesforce case you just
closed.
4. Log in to the email account specified in the Salesforce case you closed, and check
for the email message from Oracle Integration.
The email contains the URL of the SurveyMonkey survey.
Related Documentation
• Using the SurveyMonkey Adapter with Oracle Integration
• Using the Salesforce Adapter with Oracle Integration
Note:
This recipe is available as Oracle Loyalty Cloud — Oracle Responsys |
Manage Membership in the Integration Store. Oracle provides this recipe as
a sample only. The recipe is meant only for guidance, and is not warranted to
be error-free. No support is provided for this recipe.
Overview
Oracle Loyalty Cloud enables you to manage the complete loyalty program life cycle.
Oracle Responsys provides your B2C marketing teams with a centralized canvas to
build consumer profiles and tailor interactions for consumers across email, mobile,
display, and social channels.
With this recipe, you can promote member engagement and sync customer profile
data from Oracle Loyalty Cloud into Oracle Responsys. For example, you can sync the
following member attributes:
• First name
• Last name
• Address
• Email address
• Mobile phone number
You can change the attributes used in this recipe by editing the integration mapping
within Oracle Integration.
A-112
Appendix A
Customer Relationship Management (CRM) Recipes
With this integration, you can use customer data in Oracle Loyalty Cloud for targeting and
personalization in Oracle Responsys Marketing Platform Cloud Service (Oracle Responsys)
in the following scenarios:
• Sync customer profile data from Oracle Loyalty Cloud into Oracle Responsys. This
synchronization would apply for any customer becoming a new loyalty member or for any
changes to the profile of an existing loyalty member.
• Real-time triggering of Oracle Responsys marketing orchestration programs for specific
events in Oracle Loyalty Cloud, such as joining a loyalty program, cashing out points, or
moving to a new tier. The auto-trigger requires pre-creating orchestration programs in
Oracle Responsys that correspond to Oracle Loyalty Cloud events.
• Life cycle marketing for campaigns like birthdays, newsletters, and special promotions for
members with specific characteristics. In Oracle Responsys, you define the specific
campaign, targeting criteria, and personalization rules, as well as the recurring schedule
to run the campaign.
Related Documentation
• Oracle Loyalty Cloud Integrating Loyalty with Oracle Responsys Marketing Platform
Cloud Service
Note:
This recipe is available as Oracle CPQ — Salesforce | Synchronize Data in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is meant
only for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
Overview
This recipe performs bidirectional synchronization of data between transactions in Oracle
CPQ and quotes in Salesforce. The recipe contains two integration flows - one for
synchronizing Salesforce quotes with corresponding Oracle CPQ transactions, and another
for synchronizing Oracle CPQ transactions with corresponding Salesforce quotes. The
integrations use the standard Oracle CPQ Adapter and the Salesforce Adapter.
A-113
Appendix A
Customer Relationship Management (CRM) Recipes
To use the recipe, you must install the recipe package and configure the connections
and other resources within the package. Subsequently, you can activate the
integrations. When a transaction is created, updated (for example, a new line item is
added), or canceled in Oracle CPQ, the Oracle CPQ Salesforce Transaction2Quote
Sync integration is triggered and it creates, updates, or sets to denied status the
corresponding Salesforce quote. Similarly, when a quote is created, updated (for
example, the value of a quote line item is changed), or set to denied status in
Salesforce, the Oracle Salesforce CPQ Quote2Transaction Sync integration is
triggered and it creates, updates, or cancels the corresponding transaction in Oracle
CPQ.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-114
Appendix A
Customer Relationship Management (CRM) Recipes
This URL is used to access the Oracle CPQ application’s business resources for
outbound connections. It is formatted as http(s)://site_URL/rest/v3/metadata-
catalog where site_URL is the base URL of the Oracle CPQ site.
For details, see Prerequisites for Creating a Connection in Using the Oracle CPQ
Adapter with Oracle Integration.
3. Create a user account for Oracle Integration with the Web Services Only permissions.
a. On the Oracle CPQ home page, click Admin Drawer on the top left of the title bar.
b. In the Admin navigation pane, expand Users and click Internal Users.
The User Administration List page appears.
c. Add the user from the User Administration List page.
For detail information, see Setting Up Users in the Oracle CPQ online help.
4. Create a connection from Oracle CPQ to Oracle Integration by creating an integration.
a. On the Oracle CPQ home page, click Admin Drawer on the top left of the title bar.
b. In the Admin navigation pane, expand Integration Platform and click Integration
Center.
c. On the Integration Center page, click Create Integration.
d. From the Type drop-down list, select Integration Cloud Service.
e. In the resulting page enter the following details, and click Test to verify if your
connection works.
A-115
Appendix A
Customer Relationship Management (CRM) Recipes
A-116
Appendix A
Customer Relationship Management (CRM) Recipes
a. On the Processes page, select the process linked to the integration. Select
Deployment Center from the Navigation drop-down list, and click List.
b. On the Deployment Center page, select Deploy under Event Type, and click Add
Event.
c. Click Refresh.
Once the deployment completes, the Last Deployed time will be updated.
Configure Salesforce
To access Salesforce using Oracle Integration and ensure that the opportunity quote data is
synchronized, you must perform certain configuration tasks on your Salesforce instance.
Log in to your Salesforce instance as an Administrator and execute the following tasks.
Note:
The steps provided here apply to the Salesforce Classic UI. If you're using the
Lightning Experience UI on your Salesforce instance, switch to the Classic UI. See
Toggle or switch between Lightning Experience and Salesforce Classic.
c. On the Profile Detail page, click Edit, and on the resulting Profile Edit page complete
the following:
i. Scroll to the Administrative Permissions section and ensure that the API
Enabled check box is selected.
ii. Scroll to the Standard Object Permissions section and complete the following:
• In the Accounts row, leave Read, Create, Edit, and Delete selected.
Additionally, select ViewAll.
• In the Contacts row, leave Read, Create, Edit, and Delete selected.
Additionally, select ViewAll.
• In the Price Books row, leave Read selected. Additionally, select Create,
Edit, and Delete.
• In the Products row, leave Read selected. Additionally, select Create, Edit,
and Delete.
iii. Scroll down to the end of the page and click Save.
A-117
Appendix A
Customer Relationship Management (CRM) Recipes
2. Create a user account for Oracle Integration and assign the custom role created in
step 1 to this account.
You'll use the credentials of this user account while configuring the Salesforce
connection in Oracle Integration.
Note:
If you have already created a user account for Oracle Integration, you
can assign the API-enabled custom role to the existing account.
a. On the Profile Detail page of the API Enabled profile, click View Users.
b. In the resulting page, click New User.
c. Create a username and password.
i. On the New User page, enter the first and last name of the user. For
example, Integration User05.
ii. In the Email field, enter a valid email address.
Note that the email address you enter is automatically populated in the
Username field. Note the username.
iii. In the User License field, select Salesforce.
iv. In the Profile field, select the profile you created previously, that is, API
Enabled.
v. Scroll to the end of the page, ensure that the Generate new password
and notify user immediately check box is selected, and click Save.
The user account is now created, and a verification email is sent.
vi. Click the Verify Account button in the email message from Salesforce.
You're redirected to the Salesforce instance to set a password for the new
user account.
vii. Set a password and note down the same.
Note:
If you're shown the Lighting Experience UI, switch to the Salesforce
Classic UI. See Toggle or switch between Lightning Experience and
Salesforce Classic.
d. Generate a security token for the new user account. You'll need this security
token along with the password to access Salesforce using Oracle Integration.
i. Stay signed in as the new user, and click the user name at the top of the
page to open a menu.
ii. Click My Settings from the menu.
iii. On the My Settings page, under the Quick Links section, click Edit my
personal information.
A-118
Appendix A
Customer Relationship Management (CRM) Recipes
iv. On the left navigation pane of the resulting page, click Reset My Security
Token.
v. Select the Reset Security Token button.
A new security token is sent to the email address associated with the account.
Note down the security token.
vi. On the Salesforce instance, click the user name again and select Logout from
the menu. Log back in as the Administrator.
3. Identify your current Salesforce API version.
a. On the Salesforce Setup page:
i. Scroll to the Build section in the left navigation pane.
ii. Expand Develop, and then click API.
b. On the API WSDL page, click the Generate Enterprise WSDL link.
The WSDL is displayed in a new browser tab, and your current API version is present
in the second line. For example:
A-119
Appendix A
Customer Relationship Management (CRM) Recipes
e. On the Establish field-level security page, select Visible and click Next.
f. Leave all check boxes selected in the next page, and click Save.
On the Quote Fields page, you can see the new custom field added under the
Quote Custom Fields & Relationships section.
7. Configure the Salesforce platform event. The platform event notifies external
systems about changes to the Salesforce opportunity quote.
a. In the left navigation pane of the Salesforce Setup page, scroll to the Build
section, expand Develop, and then click Platform Events.
b. On the Platform Events page, click New Platform Event.
c. On the New Platform Event page, enter the following information:
A-120
Appendix A
Customer Relationship Management (CRM) Recipes
ii. On the resultant New Custom Field page, select the Text radio button, and click
Next.
iii. Enter the following details:
g. Create another custom field by repeating the steps a - f, but enter a different label
name, for example TransactionId_CPQ.
8. Create and activate a process that triggers the platform event.
a. On the left navigation pane of the Salesforce Setup page, scroll to the Build section.
Expand Create and then Workflow and Approvals, and click Process Builder.
b. Create a process.
i. On the Process Builder page, click New.
ii. Enter the following details in the New Process dialog:
c. Configure the process trigger. After you have created the process in the previous
step, you have to configure the rules required for the process to trigger the platform
event.
i. Click the Add Object box in the process flowchart.
ii. From the Choose Object and Specify When to Start the Process pane that
opens, select the following and click Save.
A-121
Appendix A
Customer Relationship Management (CRM) Recipes
d. Add the process criteria. You can specify the criteria that must be true for the
process to execute associated actions.
i. Click Add Criteria in the decision box.
ii. In the Define Criteria for this Action Group pane that opens, provide the
following information.
iii. Create a condition to restrict the user from triggering the process.
In the Set Conditions table, configure the following:
iv. Create another condition to ensure that the process gets triggered when
line items are available.
Click Add Row and configure the following:
v. From the Conditions options list, select All of the conditions are met
(AND).
vi. Expand the Advanced drop-down list, and for Do you want to execute
the actions only when specified changes are made to the record?
select Yes.
vii. Click Save.
A-122
Appendix A
Customer Relationship Management (CRM) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle CPQ REST Connection
• Configure the Oracle CPQ SOAP Connection
• Configure the Oracle Salesforce Connection
• Configure the Lookup Table
• Configure the Integration
A-123
Appendix A
Customer Relationship Management (CRM) Recipes
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-124
Appendix A
Customer Relationship Management (CRM) Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-125
Appendix A
Customer Relationship Management (CRM) Recipes
Note:
To the password, you must also append the
security token generated for the same account.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
1. On the Configuration Editor page, select the lookup table and click Edit .
The ORCL-BRT-SFDC_CPQ_CONSTANTS lookup table appears. The lookup
table contains a mapping of constant values used internally by the system, and
names that you can associate with these constants. Additionally, it contains a
default value (Salesforce ID) that is mapped to the Standard Price Book of
Salesforce.
2. Replace the default Salesforce ID in the SFDC_ID column with your Salesforce
instance's Standard Price Book Salesforce ID.
For more information on how to identify the Salesforce ID of your Salesforce
instance, see step 5 in Configure Salesforce.
3. Click Save. If prompted, click Save for a second time.
2. Click Edit .
A-126
Appendix A
Customer Relationship Management (CRM) Recipes
Oracle Integration displays a message indicating that the save operation is successful.
11. Click Close.
v. In the Quick Add dialog, search for an item with the product code.
vi. Select the product and click OK.
A-127
Appendix A
Customer Relationship Management (CRM) Recipes
On the Track Instances page, you'll see the integration flow of the recipe
being triggered and executing successfully. The recipe fetches the new
transaction related information from Oracle CPQ Cloud and triggers the
creation of a quote in Salesforce.
c. Check if a corresponding quote is created in Salesforce.
i. Log in to your Salesforce instance.
Note:
If you're shown the Lighting Experience UI, switch to the
Salesforce Classic UI. See Toggle or switch between Lightning
Experience and Salesforce Classic.
Note:
If you don't see the Opportunities tab on the page, click the
Plus icon to the right of your current tabs, and then click
Opportunities.
Note:
If you're shown the Lighting Experience UI, switch to the
Salesforce Classic UI. See Toggle or switch between Lightning
Experience and Salesforce Classic.
• On the Quote details page, scroll to the Quote Line Items section and
click Add Line Item.
• In the Choose Price Book dialog, select Standard Price Book from
the Price Book drop-down list, and click Save.
iv. On the Product Selection for Quote page, select the required product and
click Select.
A-128
Appendix A
Customer Relationship Management (CRM) Recipes
Related Documentation
• Using the Oracle CPQ Adapter with Oracle Integration
• Using the Salesforce Adapter with Oracle Integration
Sync Incidents and Resources Between Oracle Field Service Cloud and
Oracle B2C Service
Use this recipe to synchronize incidents and resources between Oracle Field Service Cloud
and Oracle B2C Service.
Note:
This recipe is available as Oracle Field Service Cloud — Oracle B2C Service |
Sync Incidents and Resources in the Integration Store. Oracle provides this
recipe as a sample only. The recipe is meant only for guidance, and is not
warranted to be error-free. No support is provided for this recipe.
Overview
This recipe supports bi-directional, data synchronization of incidents and resources between
Oracle Field Service Cloud and Oracle B2C Service. It includes out-of-the-box data mapping
of salient attributes.
Oracle Field Service Cloud manages the most intimate customer service channel: field
service appointments. These interactions may be the only time your customer engages with
your organization face-to-face, and thus have a significant impact on customer relationships.
Oracle B2C Service helps you serve your customers at their point of need, whether that
customer is searching for assistance via your corporate social channels, an email inquiry, a
voice call to a support agent, or a website chat.
This recipe includes the following features:
A-129
Appendix A
Customer Relationship Management (CRM) Recipes
• End-to-end integration between Oracle Field Service Cloud and Oracle B2C
Service as an out-of-the-box solution using Oracle Integration
• Automatic creation of activities in Oracle Field Service Cloud when an incident is
created in Oracle B2C Service
• Synchronize modified fields between incidents and activities
• Create and update resources in Oracle B2C Service when created or updated in
Oracle Field Service Cloud
Related Documentation
• Oracle Field Service Cloud / Oracle Service Cloud Integration using ICS
Sync Orgs and Contacts Between Oracle B2C Service and Oracle
Marketing Cloud
Use this recipe to synchronize the organization and contact information between
Oracle B2C Service and Oracle Marketing Cloud.
Note:
This recipe is available as Oracle B2C Service — Oracle Marketing Cloud
| Sync Orgs and Contacts
in the Integration Store. Oracle provides this recipe as a sample only. The
recipe is meant only for guidance, and is not warranted to be error-free. No
support is provided for this recipe.
Overview
Oracle B2C Service makes it possible for you to better understand your customers and
quickly deliver the right answers at the right time through preferred service channels
and devices. Oracle Marketing Cloud provides lead and campaign management tools
that help you engage the right audience at the right time in the buyer’s journey.
This recipe synchronizes the organization and contact information between the Oracle
service and marketing applications. The integration provides the following features:
• Create or update contacts in Oracle B2C Service based on contact events in
Oracle CX Marketing
A-130
Appendix A
Enterprise Messaging Recipes
• Create or update contacts in Oracle Marketing Cloud based on contact creation or update
in Oracle B2C Service
• Create or update accounts in Oracle Marketing Cloud based on organization creation or
update in Oracle B2C Service
Related Documentation
• Integrating Oracle Marketing Cloud (Eloqua) with Oracle Service Cloud (RightNow)
Topics:
• Publish and Subscribe to the Oracle Cloud Infrastructure Streaming Service
Note:
This recipe is available as Oracle Cloud Infrastructure Streaming - Publish and
Subscribe in the Integration Store. Oracle provides this recipe as a sample only.
The recipe is meant only for guidance, and is not warranted to be error-free. No
support is provided for this recipe.
A-131
Appendix A
Enterprise Messaging Recipes
Overview
{
"Id" : “123”, [ ns2:getFlowId () ]
"Country":"US",
"State": "MA" ,
"County": "Worcester"
}
A-132
Appendix A
Enterprise Messaging Recipes
A-133
Appendix A
Enterprise Resource Planning (ERP) Recipes
Related Documentation
• Using the Oracle Cloud Infrastructure Streaming Service Adapter with Oracle
Integration
• Overview of Streaming
Topics:
• Automate File Transfer an FTP server to Oracle EPM Cloud
• Create Customer Records in Oracle NetSuite
• Export Purchase Orders from Oracle ERP Cloud to an FTP Server
• Extract Bulk Data from Oracle ERP Cloud to an FTP server
• Import Files from an FTP Server to Oracle NetSuite
• Import Financial Journal Entries from Amazon S3 to Oracle ERP Cloud
• Import Financial Journal Entries from an FTP server to Oracle ERP Cloud
• Process Inventory, Order, and Shipping Info Between Oracle ERP/SCM Cloud and
Oracle WMS Cloud
• Send Order Fulfillment Notifications from Oracle ERP Cloud Using Microsoft Office
365 Outlook
• Synchronize Inventory Items Between Oracle Product Hub Cloud and Oracle E-
Business Suite
• Synchronize Opportunities in Oracle CX Sales and B2B Service with Oracle
NetSuite Orders
• Synchronize Supplier Updates Between Oracle Procurement Cloud and Oracle
ATP
A-134
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
This recipe is available as Oracle EPM Cloud — FTP Server | Automate File
Transfer in the Integration Store. Oracle provides this recipe as a sample only. The
recipe is meant only for guidance, and is not warranted to be error-free. No support
is provided for this recipe.
Overview
This recipe demonstrates how easily you can transfer a file from any FTP/sFTP location to
Oracle EPM Cloud using Oracle Integration.
The integration uses a scheduled orchestration pattern to automatically transfer the file on a
regular basis. It uses the standard FTP and REST adapters available in Oracle Integration to
read the file from the source location (FTP server) and then transfer it to the destination
(Oracle EPM Cloud).
You store the file to be transferred on File Server, an embedded sFTP server within Oracle
Integration. To use File Server, you must enable it for your Oracle Integration instance. See
Enable File Server in Using File Server in Oracle Integration Generation 2.
Related Documentation
• File Transfer EPM-FTP Using Integration Cloud Sample OIC Integration Flow (File
transfer to EPM Cloud from FTP location) Implementation Guide
• Using File Server in Oracle Integration Generation 2
A-135
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
This recipe is available as REST — Oracle NetSuite | Create Customer
Records in the Integration Store. Oracle provides this recipe as a sample
only. The recipe is meant only for guidance, and is not warranted to be error-
free. No support is provided for this recipe.
Overview
This recipe creates a new customer record in Oracle NetSuite when it receives a
REST request with the customer data from an external application or from another
integration flow in Oracle Integration. It contains an app-driven orchestration
integration, which uses the standard REST Adapter and the Oracle NetSuite Adapter.
To use the recipe, you must install the recipe package and configure the connections
and other resources within the package. Subsequently, you can activate the integration
in the package and send a REST request with the customer data to the integration's
endpoint URL from an external application. When triggered, the integration flow
creates the customer record in Oracle NetSuite using the data it receives and returns
the NetSuite internal ID of the newly-created record as a response.
Note:
You can create only one customer record at a time with this recipe.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-136
Appendix A
Enterprise Resource Planning (ERP) Recipes
and some configurations specific to the security policy you'll use to connect. In this recipe,
you'll use the token-based authentication (TBA) security policy.
Log in to your NetSuite instance as an Administrator and execute the following tasks.
1. Perform the general configurations necessary to connect to NetSuite. See Enable
Features on Oracle NetSuite and Assemble the Oracle NetSuite WSDL URL.
2. Perform the TBA-related configuration tasks. See Prerequisites for the Token-Based
Authentication Security Policy.
Grant the following permissions to the role you'll create in this step.
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST NetSuite Connection
• Configure the Oracle NetSuite Connection
A-137
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
Optionally, you can configure the following lookup table in the package.
• ORCL-BRT-EC_NS_SETTINGS: This lookup table contains a
sample mapping of country codes. Map the country codes of your
application to the NetSuite country codes. Additionally, this lookup
table contains a default value for the internal ID of the NetSuite
subsidiary to which the new customer records will belong. To
associate the new customer records with the correct subsidiary on
your NetSuite instance, enter the internal ID of the preferred
subsidiary against the subsidiary field in the table. Also, against the
ToEmailID field, you can enter an email ID on which you'd like to
receive notifications related to the integration's execution.
2. Click Edit .
3. On the Oracle REST NetSuite Connection page, click Test to ensure that your
connection is correctly configured.
A confirmation message is displayed if your test is successful.
4. Click Save. If prompted, click Save for a second time.
5. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-138
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
You must enter this information in capital
letters.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
a. On the Configuration Editor page, select the integration and click Run .
b. On the resulting pop-up dialog, click the Metadata URL link.
c. From the new tab that opens, copy the Endpoint URL value. This is the integration
flow's endpoint URL.
d. From the external application, send a POST request to this endpoint URL along with
the customer data. Provide the customer data in the POST request's Body field. See
the following step for sample customer data.
The integration creates the customer record in Oracle NetSuite and returns the
internal ID of the newly-created record as a response.
3. Test the recipe in Oracle Integration.
a. On the Configuration Editor page, select the integration.
A-139
Appendix A
Enterprise Resource Planning (ERP) Recipes
{
"zip": "5",
"country": "Ireland",
"address2": "addr2",
"city": "Dublin",
"address1": "addr1",
"last_name": "London",
"company": " Acme Corporation",
"first_name": "James",
"email": "[email protected]"
}
d. Click Test.
The integration now creates the customer record in Oracle NetSuite. The
Activity Stream pane appears displaying the status of the integration
instance's execution.
e. In the Response section of the test page, under the Body tab, you'll find the
internal ID of the newly-created customer record in NetSuite.
4. Log in to your NetSuite instance as an Administrator and check for the new
customer record.
a. On the NetSuite home page, select Lists, then Relationships, and then
Customers.
b. On the Customers page, select Recently Created in the QUICK SORT field to
list the recently-created customer records first.
c. Use the internal ID value you obtained as a response to verify if the required
customer record has been created.
Related Documentation
• Using the Oracle NetSuite Adapter with Oracle Integration
• Using the REST Adapter with Oracle Integration
Note:
This recipe is available as ERP Cloud - FTP Server | Business Event in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
A-140
Appendix A
Enterprise Resource Planning (ERP) Recipes
Overview
This recipe registers with Oracle ERP Cloud Business Event services. When a purchase
order is created, Oracle ERP Cloud Business Event services invokes the integration that in
turn, adds the purchase order data to a file on an FTP file server.
You can store the file in File Server, an SFTP server embedded in Oracle Integration.
A purchase event in Oracle ERP Cloud triggers the integration. The integration reads from
the lookup values where to store the CSV file in the FTP file server, then maps the values of
the purchase order to the fields in the CSV file, and finally appends a line with the purchase
order values to the file. If the file doesn't exist, it creates a new file.
The CSV file contains the following fields:
• Creation Date
• Order Number
• Supplier
• Buyer Name
• Currency
• Total Amount
The Order Number field is mandatory. The rest of the fields are optional.
If there is an issue while running the integration, the fault handler adds the issue and its
cause to the logs. You can use these logs to troubleshoot the issue.
The integration that results from installing this recipe is named: Oracle ERP Cloud FTP
Server Business Event.
A-141
Appendix A
Enterprise Resource Planning (ERP) Recipes
1. Create a Fusion Applications user to use in the Oracle ERP Cloud connection, and
assign it the following roles:
• Integration Specialist
• AttachmentsUser
• FND_MANAGE_CATALOG_SERVICE_PRIV
Notice that you can only add this role to a custom role. For more information
about creating custom roles, see Custom Roles in Securing ERP.
This is the user you will specify in the ERP connection to connect to Oracle ERP
Cloud.
For more information about these roles, see Assign Required Roles to an
Integration User in Using the Oracle ERP Cloud Adapter with Oracle Integration.
2. Create a CSF (Credential Set Framework) key for Oracle ERP Cloud to use when
calling the integration:
• Use an Oracle Integration user with the ServiceInvoker role to create the CSF
key.
• Follow steps 1 to 5 in Configure Oracle ERP Cloud for Event Subscriptions.
The purchase order event is enabled by default in Oracle ERP Cloud.
For information on how to enable other events, see Supported SCM and Procurement
Business Events in Using the Oracle ERP Cloud Adapter with Oracle Integration.
A-142
Appendix A
Enterprise Resource Planning (ERP) Recipes
If you are using File Server, enter the path that you wrote down when you enabled File
Server for your user.
4. In the Property_Value column for the filename property name, replace CVS with the
name you want to use for the file that stores the purchase order data. For example:
PurchaseOrders.csv
A-143
Appendix A
Enterprise Resource Planning (ERP) Recipes
Related Documentation
To learn more about the Oracle ERP Cloud adapter, the Oracle FTP adapter, and File
Server see:
• Using the Oracle ERP Cloud Adapter with Oracle Integration
• Using the FTP Adapter with Oracle Integration
• Using File Server in Oracle Integration Generation 2
Note:
This recipe is available as Oracle ERP Cloud — FTP Server | Extract Bulk
Data in the Integration Store. Oracle provides this recipe as a sample only.
The recipe is meant only for guidance, and is not warranted to be error-free.
No support is provided for this recipe.
Overview
This recipe extracts BI Publisher (BIP) report data from Oracle ERP Cloud in an
asynchronous manner. The integration uses a scheduled orchestration pattern so that
you can schedule when to extract the data extract and how often. The extracted
A-144
Appendix A
Enterprise Resource Planning (ERP) Recipes
reports are then transferred and uploaded to an FTP server. The reports are now available to
users and applications directly from the FTP location. If required, you can enrich or edit the
extracted report data within the integration.
The sample integration performs these actions:
• Query bulk data from Oracle ERP Cloud.
• Receive the data via the ERP trigger.
• Invoke it through the SOAP Adapter and get the data from a business event.
• Complete the process. If the import completes successfully as per the Oracle ERP Cloud
callback, then upload the file received in the callback to the FTP server. If the import fails,
then send an email notification.
You can upload the extracted reports to File Server, an embedded sFTP server within Oracle
Integration. To use File Server, you must enable it for your Oracle Integration instance. See
Enable File Server in Using File Server in Oracle Integration Generation 2.
Related Documentation
• Overview | Extract Bulk Data from ERP Cloud_Async
• Use Cases | Extract Bulk Data from ERP Cloud _Async
• User Guide | Extract Bulk Data from ERP Cloud_Async
• Using File Server in Oracle Integration Generation 2
Note:
This recipe is available as FTP Server — Oracle NetSuite | Import Files in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is meant
only for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
A-145
Appendix A
Enterprise Resource Planning (ERP) Recipes
Overview
This recipe loads files from an FTP server to the NetSuite File Cabinet according to a
schedule specified in Oracle Integration. It uses the standard FTP Adapter and the
Oracle NetSuite Adapter.
To use the recipe, you must install the recipe package and configure the connections
and other resources within the package. Subsequently, you can activate and run the
integration flow of the package manually or specify an execution schedule for it. When
triggered, the integration flow reads the files from the FTP server and copies them to
your NetSuite File Cabinet. After successfully copying the files, the integration flow
deletes the files from the FTP server to avoid copying the same files in each
scheduled execution.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-146
Appendix A
Enterprise Resource Planning (ERP) Recipes
Configure NetSuite
To access NetSuite using Oracle Integration and copy files, you must perform certain
configuration tasks on your NetSuite instance.
To successfully connect to NetSuite, you must perform certain general configurations on your
NetSuite instance and some configurations specific to the security policy you'll use to
connect. In this recipe, you'll use the token-based authentication (TBA) security policy.
In addition, you must create a directory in the NetSuite File Cabinet into which you'll copy the
files from the FTP server.
Log in to your NetSuite instance as an Administrator and execute the following tasks.
1. Perform the general configurations necessary to connect to NetSuite. See Enable
Features on Oracle NetSuite and Assemble the Oracle NetSuite WSDL URL.
2. Perform the TBA-related configuration tasks. See Prerequisites for the Token-Based
Authentication Security Policy.
Grant the following permissions to the role you'll create in this step.
3. Create a directory in the NetSuite File Cabinet to hold the imported files.
a. On the NetSuite home page, select Documents, then Files, and then File Cabinet.
b. On the File Cabinet page, click New Folder.
c. On the Document Folder page:
i. Enter a name for the folder, for example, ftp-ns.
ii. Click Save.
The folder is created, and the folder's page is displayed.
d. Return to the File Cabinet page. Select Documents, then Files, and then File
Cabinet from the ribbon.
e. Note down the INTERNAL ID value displayed next to your directory. If the INTERNAL
ID column is not displayed in your File Cabinet, you must enable it. See Setting the
Internal ID Preference in Oracle NetSuite.
A-147
Appendix A
Enterprise Resource Planning (ERP) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe
package. Configure the following resources before you activate and run the recipe.
• Configure the Oracle FTP Read-Write Connection
• Configure the Oracle NetSuite Connection
• Configure the Integration
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-148
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
You must enter this information in capital
letters.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
A-149
Appendix A
Enterprise Resource Planning (ERP) Recipes
You've now created a schedule that runs the integration every six hours. Similarly,
you can schedule the integration to run on particular days or weeks.
5. Additionally, you can specify the start and end dates for this schedule. In the This
schedule is effective section, click the From field and select Modify start date to
specify a date and time from when this schedule should run. Similarly, specify an
expiry date and time in the Until field. In addition, you can also specify your
preferred timezone.
6. Click Save, and then click Back twice to return to the Configuration Editor
page. To create advanced schedules, see Define the Integration Schedule.
A-150
Appendix A
Enterprise Resource Planning (ERP) Recipes
The recipe is now ready to use. Run it to import your files from the FTP server to the
NetSuite instance.
a. On the Configuration Editor page, select the integration flow.
Note:
This recipe is available as Oracle ERP Cloud — Amazon S3 | Import Financial
Journal Entries in the Integration Store. Oracle provides this recipe as a sample
only. The recipe is meant only for guidance, and is not warranted to be error-free.
No support is provided for this recipe.
Overview
This recipe reads a file from an Amazon S3 location, does a simple transformation, and then
imports the financial journal entries into Oracle ERP Cloud.
The message flow of business data goes from Amazon S3 through Oracle Integration to
Oracle ERP Cloud, and then back to the Amazon S3 location.
The integration uses a scheduled orchestration pattern to download the file from the Amazon
S3 location, process it, and import it into Oracle ERP Cloud. In a scheduled orchestration,
you can configure when and how often the download occurs.
The import process records the results in a log file. To send this log file back to the Amazon
S3 location, the integration uses an app-driven orchestration. The trigger to start an app-
driven orchestration is based on an event happening. In this case, the log file is ready for
export.
The integration uses the standard REST and Oracle ERP Cloud Adapters available in Oracle
Integration.
A-151
Appendix A
Enterprise Resource Planning (ERP) Recipes
• Amazon S3
Related Documentation
• Overview | V0 Import Journal Entries | Amazon S3/Oracle Financials Cloud (ERP
Cloud)
• Use Case | V0 Import Journal Entries | Amazon S3/Oracle Financials Cloud (ERP
Cloud)
• User Guide | V0 Import Journal Entries | Amazon S3/Oracle Financials Cloud
(ERP Cloud)
Note:
This recipe is available as Oracle ERP Cloud — FTP Server | Import
Financial Journal Entries in the Integration Store. Oracle provides this
recipe as a sample only. The recipe is meant only for guidance, and is not
warranted to be error-free. No support is provided for this recipe.
Overview
This recipe reads a file from an FTP location, does a simple transformation, and then
imports the financial journal entries into Oracle ERP Cloud. The integration flow can be
invoked explicitly either as a web service or as a scheduled orchestration.
The sample integration performs the following actions:
• Read the ledger-entries file from the FTP location.
• Unzip the file.
• Stage the file in Oracle Integration and read each entry.
• Transform the data as required. For example, this sample integration changes the
value in the currency column.
• Use the Oracle ERP Cloud Adapter to send the file to Oracle ERP Cloud,
configure a callback, and invoke the import process with the required parameters.
• Report the results. After the import is completed, Oracle Integration receives the
result of the import from Oracle ERP Cloud. If the import completes successfully,
then upload the log file to the FTP server. If the import fails, then send an email
notification.
A-152
Appendix A
Enterprise Resource Planning (ERP) Recipes
You can store the ledger-entries file on File Server, an embedded sFTP server within Oracle
Integration. To use File Server, you must enable it for your Oracle Integration instance. See
Enable File Server in Using File Server in Oracle Integration Generation 2.
Related Documentation
• Overview | V0 Import Journal Entries | Cloud FTP Location/Oracle Financials Cloud
(ERP Cloud)
• Use Case | V0 Import Journal Entries | Cloud FTP Location/Oracle Financials Cloud
(ERP Cloud)
• User Guide | V0 Import Journal Entries | Cloud FTP Location/Oracle Financials Cloud
(ERP Cloud)
• Using File Server in Oracle Integration Generation 2
Note:
This recipe is available as Oracle ERP/SCM Cloud — Oracle WMS Cloud |
Process Inventory, Order, and Shipping Info in the Integration Store. Oracle
provides this recipe as a sample only. The recipe is meant only for guidance, and is
not warranted to be error-free. No support is provided for this recipe.
Overview
This recipe syncs inventory, and maps receipts to purchase orders, receipts to receiving, and
shipments to orders.
It includes the following individual integrations in one package:
• OCWMS_INVENTORY_ADJUSTMENT: Makes inventory adjustments from Oracle WMS Cloud to
Fusion inventory.
A-153
Appendix A
Enterprise Resource Planning (ERP) Recipes
Related Documentation
• Oracle Warehouse Management Cloud Integrating with Integration Cloud Services
• Using the Oracle ERP Cloud Adapter with Oracle Integration
• Using the REST Adapter with Oracle Integration
Note:
This recipe is available as Oracle ERP Cloud — Microsoft Office 365
Outlook | Send Order Fulfillment Notifications in the Integration Store.
Oracle provides this recipe as a sample only. The recipe is meant only for
guidance, and is not warranted to be error-free. No support is provided for
this recipe.
A-154
Appendix A
Enterprise Resource Planning (ERP) Recipes
Overview
This recipe sends email notifications to order contacts when sales orders are fulfilled in
Oracle ERP Cloud. The recipe uses the standard Oracle ERP Cloud Adapter and the
standard Microsoft Office 365 Outlook Adapter.
To use the recipe, you must install the recipe package and configure the connections and
other resources within the package. Subsequently, you can activate the integration flow of the
package. When a sales order is fulfilled in Oracle ERP Cloud, it triggers the integration flow.
The integration fetches the necessary details of the sales order and sends a notification email
with the order fulfillment details. By default, it sends the notification email to the email
address specified in the toEmail integration property. In addition, if the buyer's email address
is present in the order, and the DoNotEmailFlag is set to "false", the notification email is also
sent to the buyer.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-155
Appendix A
Enterprise Resource Planning (ERP) Recipes
2. Assign the following roles to the user account. For more information, see Assign
Required Roles to an Integration User in Using the Oracle ERP Cloud Adapter
with Oracle Integration.
• Integration Specialist
• Oracle ERP Cloud-specific data access to the integration user
https://instance_URL/icsapis/agent/oauth/callback
8. Click Register.
9. Get the Client ID.
a. In the left navigation pane, click Overview.
b. Copy the value in the Application (client) ID field.
Note down the value as it will be required while configuring the Microsoft Email
connection from Oracle Integration.
10. Get the Client secret.
d. In the resulting page, under the Client secrets section, copy the client secret
value in the Value column.
A-156
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note down the value as it will be required while configuring the Microsoft Email
connection from Oracle Integration.
11. Set the permissions and scopes for the application.
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle ERP Cloud Connection
• Configure the Oracle Microsoft Email Connection
• Update Integration Properties
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the Oracle ERP Cloud host name. For
example: https://your_domain_name.fa.DC.oraclecloud.com.
4. In the Security section, enter the following details.
A-157
Appendix A
Enterprise Resource Planning (ERP) Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Security section, enter the following details.
https://outlook.office.com/mail.send
https://outlook.office.com/
mail.readwrite offline_access
A-158
Appendix A
Enterprise Resource Planning (ERP) Recipes
9. In the Microsoft Email Connection window, click Test to ensure that your connection is
successfully configured.
A confirmation message is displayed if your test is successful.
10. Click Back to return to the Configuration Editor page. Click Save if prompted.
Note:
To fulfill an order, you must have a sales order created and released in
Oracle ERP Cloud, and obtained its order number.
b. Click the Supply Chain Execution tab from the navigator in the home page, and
then select Inventory Management.
c. Search for your order in the Inventory Management page.
i. Click the Quick Search icon on the right side of the page.
ii. In the resulting Search dialog:
A-159
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
This recipe is available as Oracle Product Hub Cloud — Oracle E-
Business Suite | Synchronize Inventory Items in the Integration Store.
Oracle provides this recipe as a sample only. The recipe is meant only for
guidance, and is not warranted to be error-free. No support is provided for
this recipe.
A-160
Appendix A
Enterprise Resource Planning (ERP) Recipes
Overview
This recipe synchronizes inventory item records from Oracle Product Hub Cloud to Oracle E-
Business Suite in real time. It uses the standard Oracle ERP Cloud Adapter and the Oracle
E-Business Suite Adapter. To use the recipe, you must install the recipe package and
configure the connections and other resources within the package.
When an inventory item is created in Oracle Product Hub Cloud (which is part of Oracle ERP
Cloud), the integration flow of the recipe is triggered. The integration flow receives the
inventory item details from Oracle Product Hub Cloud and creates a corresponding item in
the PLM module of Oracle E-Business Suite, thereby synchronizing item records between the
two systems.
Note:
• You can run this recipe for one inventory item at a time.
• Updating an item in Oracle Product Hub Cloud doesn't trigger the recipe.
Recipe Schema
This section provides an architectural overview of the recipe.
The integration flow of the recipe is triggered when an inventory item is created in Oracle
Product Hub Cloud. It receives the inventory item data, transforms the data to the format
supported by Oracle E-Business Suite, and finally creates a corresponding inventory item in
Oracle E-Business Suite.
A-161
Appendix A
Enterprise Resource Planning (ERP) Recipes
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-162
Appendix A
Enterprise Resource Planning (ERP) Recipes
1. Create a user account for Oracle Integration. Make a note of the user name and
password you set for the account. You'll use the credentials of this account to connect to
Oracle ERP Cloud from Oracle Integration.
2. Assign the following roles to the user account. For more information, see Assign
Required Roles to an Integration User in Using the Oracle ERP Cloud Adapter with
Oracle Integration.
• Integration Specialist
• Oracle ERP Cloud-specific data access to the integration user
A-163
Appendix A
Enterprise Resource Planning (ERP) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe
package. Configure the following resources before you activate and run the recipe.
• Configure the Oracle ERP Cloud Connection
• Configure the Oracle E-Business Suite Connection
• Configure the Lookup Table
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the Oracle ERP Cloud host name. For
example: https://your_domain_name.fa.DC.oraclecloud.com.
4. In the Security section, enter the following details.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the URL of your Oracle E-Business
Suite instance.
4. In the Security section, enter the following details.
A-164
Appendix A
Enterprise Resource Planning (ERP) Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
1. On the Configuration Editor page, select the lookup table and click Edit .
2. Against the toEmail field, enter the email address to which run-time exception emails are
to be sent.
3. Against the fromEmail field, enter the email address from which run-time exception
emails are to be sent.
4. Against the p_organization_code field, enter the code of the organization in Oracle E-
Business Suite with which to associate the new items created by this recipe.
5. Click Save. If prompted, click Save for a second time.
A-165
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
For successful execution of the recipe, you must create a single
item.
v. Click OK.
If you're shown a warning message, click Yes.
e. On the Create Item page:
i. Enter a name and description for the item.
ii. From the Save drop-down list, click Save and Close.
You've now successfully created an item and triggered the recipe.
3. Monitor the execution of the integration flow in Oracle Integration.
a. On the Configuration Editor page of the recipe, select the integration flow.
A-166
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
This recipe is available as Oracle CX Sales and B2B Service — Oracle NetSuite |
Synchronize Opportunities and Orders in the Integration Store. Oracle provides
this recipe as a sample only. The recipe is meant only for guidance, and is not
warranted to be error-free. No support is provided for this recipe.
Overview
This recipe synchronizes opportunities in Oracle CX Sales and B2B Service with NetSuite
sales orders in real time. It uses the standard Oracle CX Sales and B2B Service Adapter and
the Oracle NetSuite Adapter. To use the recipe, you must install the recipe package and
configure the connections and other resources within the package.
When an opportunity closes with the status Won in Oracle CX Sales and B2B Service, the
main integration flow of the recipe is triggered. From Oracle CX Sales and B2B Service, this
integration flow receives the customer and inventory item details associated with the
opportunity won. Subsequently, the main flow calls two subsidiary integration flows to fetch
the corresponding customer and inventory item details from NetSuite. The subsidiary flows
check if the particular customer and inventory item records exist in NetSuite. If the records
exist, the subsidiary flows return the internal IDs of the records to the main flow. If records
don't exist (that is, if it's a new customer or a new inventory item), the subsidiary flows create
a new customer record and/or a new inventory item record in NetSuite and return the internal
IDs of these records to the main flow. After it receives the necessary details, the main flow
creates a new sales order in NetSuite, thereby synchronizing the data between Oracle CX
Sales and B2B Service and Oracle NetSuite.
Note:
• You can run this recipe for one Oracle CX Sales and B2B Service product
group at a time.
• For successful execution of the recipe, you must add only one product group to
the opportunity in Oracle CX Sales and B2B Service, and you must not add a
product item to the opportunity.
A-167
Appendix A
Enterprise Resource Planning (ERP) Recipes
Integration Schemas
This section describes the integration flows present in the recipe package.
Main Integration Flow - Create Sales Order in NetSuite
This integration flow is triggered when an opportunity is closed with the status Won in
Oracle CX Sales and B2B Service. It receives the customer and inventory item details
associated with the opportunity won, and it calls the subsidiary integration flows to
fetch the corresponding customer and inventory item details from NetSuite. After it
receives the details, the main flow creates a new sales order in NetSuite.
A-168
Appendix A
Enterprise Resource Planning (ERP) Recipes
Topics:
• Before You Install the Recipe
A-169
Appendix A
Enterprise Resource Planning (ERP) Recipes
A-170
Appendix A
Enterprise Resource Planning (ERP) Recipes
Configure NetSuite
To access NetSuite from Oracle Integration, you must perform certain general configurations
on your NetSuite instance and some configurations specific to the security policy you'll use to
access. In this recipe, you'll use the token-based authentication (TBA) security policy.
Log in to your NetSuite instance as an Administrator and execute the following tasks.
1. Perform the general configurations necessary to connect to NetSuite. See Enable
Features on Oracle NetSuite and Assemble the Oracle NetSuite WSDL URL.
2. Perform the TBA-related configuration tasks. See Prerequisites for the Token-Based
Authentication Security Policy.
Grant the following permissions to the role you'll create in this step.
A-171
Appendix A
Enterprise Resource Planning (ERP) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe
package. Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST Connection
• Configure the Oracle NetSuite Connection
• Configure the Oracle CX Sales and B2B Service Connection
Note:
Optionally, you can configure the following lookup table in the package.
• ORCL-BRT-EC_NS_SETTINGS: This lookup table contains a
mapping of Oracle CX Sales and B2B Service country codes to
NetSuite country codes. On your Oracle CX Sales and B2B Service
instance, if you have an opportunity record associated with a country
that isn't listed in the lookup table, add the mapping for that country
code in the table. Additionally, this lookup table contains a default
value for the internal ID of the NetSuite subsidiary to which the new
sales orders will belong. To associate the new sales orders with the
correct subsidiary on your NetSuite instance, enter the internal ID of
the preferred subsidiary against the subsidiary field in the table.
Also, against the ToEmailID field, you can enter an email ID on
which you'd like to receive notifications related to the integration's
execution.
2. Click Edit .
3. On the Oracle REST Connection page, click Test to ensure that your connection is
correctly configured.
A confirmation message is displayed if your test is successful.
A-172
Appendix A
Enterprise Resource Planning (ERP) Recipes
5. Click Back to return to the Configuration Editor page. Click Save again if prompted.
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
Note:
You must enter this information in capital
letters.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
A-173
Appendix A
Enterprise Resource Planning (ERP) Recipes
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the Oracle CX Sales and B2B Service
host name. For example: https://
customer_chosen_domain_name.fa.DC.oraclecloud.com.
4. In the Security section, enter the following details.
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
A-174
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
For successful execution of the recipe, you must assign only one
product group to the opportunity, and you must not add a product item
to the opportunity.
A-175
Appendix A
Enterprise Resource Planning (ERP) Recipes
Note:
This recipe is available as Oracle Procurement Cloud — Oracle ATP |
Synchronize Supplier Updates in the Integration Store. Oracle provides
this recipe as a sample only. The recipe is meant only for guidance, and is
not warranted to be error-free. No support is provided for this recipe.
Overview
This recipe updates the Oracle ATP database in real time when supplier data (for
example, products and services, transaction taxes, payments, addresses, sites,
contacts) is updated in Oracle Procurement Cloud. The recipe contains two integration
flows, one for receiving the supplier data updates from Oracle Procurement Cloud and
then updating the same into an Apache Kafka topic, and another for writing the
supplier data updates from the Apache Kafka topic into the Oracle ATP database
table. The integrations use app-driven orchestration, and the standard Oracle ERP
Cloud Adapter, Apache Kafka Adapter, and Oracle Autonomous Transaction
Processing Adapter.
To use the recipe, you must install the recipe package and configure the connections
and other resources within the package. Subsequently, you can activate the
integrations. When supplier data is updated in Oracle Procurement Cloud, the first
integration (Oracle ERP Kafka Supplier Sync Producer) is triggered. The integration
flow receives the updates from Oracle Procurement Cloud and writes the updates into
an Apache Kafka topic. This in turn triggers the second integration (Oracle Kafka ATP
Supplier Sync Consumer) which consumes the updates from the Apache Kafka topic
and writes the updates to the Oracle ATP database table, thereby synchronizing the
supplier data updates between the systems.
A-176
Appendix A
Enterprise Resource Planning (ERP) Recipes
Recipe Schema
This section provides an architectural overview of the recipe.
An event is raised in Oracle ERP Cloud (Oracle Procurement Cloud) when supplier data is
updated. This triggers the first integration flow in Oracle Integration. The integration flow uses
the Oracle ERP Cloud Adapter and the Apache Kafka Adapter (Producer) to get and write the
updates to an Apache Kafka topic. This in turn triggers the second integration flow which
uses the Apache Kafka Adapter (Consumer) and Oracle Autonomous Transaction Processing
Adapter to write the supplier data updates from the Apache Kafka topic to an Oracle ATP
database table.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-177
Appendix A
Enterprise Resource Planning (ERP) Recipes
A-178
Appendix A
Enterprise Resource Planning (ERP) Recipes
1. From the command prompt execute the following command to create a topic named
supplier_topic:
A-179
Appendix A
Enterprise Resource Planning (ERP) Recipes
A-180
Appendix A
Enterprise Resource Planning (ERP) Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle ERP Cloud Connection
• Configure the Oracle Apache Kafka Connection
• Configure the Oracle ATP Connection
• Configure the Lookup Table
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the Oracle ERP Cloud host name. For
example: https://your_domain_name.fa.DC.oraclecloud.com.
4. In the Security section, enter the following details.
A-181
Appendix A
Enterprise Resource Planning (ERP) Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
2. Click Edit .
The Oracle Apache Kafka Connection window appears.
3. In the Bootstrap Servers field, enter the Bootstrap Server URL you obtained
earlier while configuring Apache Kafka.
See Configure Apache Kafka.
4. In the Security Policy field, select No Security Policy.
5. Select the agent group under the Agent Group section.
a. Click Configure Agents.
b. On the Select an Agent Group dialog, select the agent group that you had
configured while installing the connectivity agent.
See Install the Connectivity Agent.
c. Click Use.
6. On the Oracle Apache Kafka Connection window, click Save.
7. Click Test to ensure that your connection is successfully configured. In the dialog
that displays, click Test again. You get a confirmation message if your test is
successful.
2. Click Edit .
The Oracle ATP Connection window appears.
3. Under Connection Properties, in the Service Name field, enter the service name
of your Oracle ATP instance.
See Configure Oracle Autonomous Transaction Processing (ATP).
4. Under the Security section, enter the following details:
• In the Security Policy field, select JDBC Over SSL from the drop-down list.
• In the Wallet field, click Upload to upload the credential wallet file that you
obtained earlier.
• Enter the password for your credential wallet file in the Wallet Password field.
A-182
Appendix A
Enterprise Resource Planning (ERP) Recipes
• Enter your Oracle ATP account username in the Database Service Username field.
• Enter your Oracle ATP account password in the Database Service Password field.
See Configure Oracle Autonomous Transaction Processing (ATP).
5. Click Save on the connection window.
6. Click Test to ensure that your connection is successfully configured. In the dialog that
displays, click Test again. You get a confirmation message if your test is successful.
1. On the Configuration Editor page, select the lookup table and click Edit .
2. Edit a lookup. For example, against the toEmail field, enter the email address to which
run time exception emails are to be sent.
You can update and modify the lookups as per your requirement.
3. Click Save. If prompted, click Save for a second time.
A-183
Appendix A
Human Capital Management (HCM) Recipes
The recipe now updates the corresponding supplier's D-U-N-S Number in the
Oracle ATP database table.
4. Log in to the Oracle ATP instance and check for the updated supplier data.
a. Open the V_SUPPLIER SQL worksheet and execute the following query:
b. In the query result, verify that the value in the supplier's v_dunsnumber column
matches the value that was updated in Oracle Procurement Cloud.
If the value matches, then synchronization is achieved successfully.
Related Documentation
• Using the Oracle ERP Cloud Adapter with Oracle Integration
• Using the Apache Kafka Adapter with Oracle Integration
• Using the Oracle Autonomous Transaction Processing Adapter with Oracle
Integration
Topics:
• Export Employee Data from Oracle HCM Cloud to an Identity Management
System
• Import Users from Oracle HCM Cloud to Okta
• Import Worker Records from an FTP Server to Oracle HCM Cloud
• Transform an Oracle HCM Cloud Extract File to an ANSI 834 Benefits File
Note:
This recipe is available as Oracle HCM Cloud — Identity Management |
Sync Directories in the Integration Store. Oracle provides this recipe as a
sample only. The recipe is meant only for guidance, and is not warranted to
be error-free. No support is provided for this recipe.
Overview
This recipe demonstrates how to build an outbound integration to a customer identity
management system when a new hire is created in Oracle HCM Cloud
A-184
Appendix A
Human Capital Management (HCM) Recipes
Using the ATOM feed within the Oracle HCM Cloud Adapter, this recipe illustrates the ability
to subscribe to New Hire notifications, build a full data set of profile data using additional
REST calls, and then write the results in a different format to a third-party system.
Related Documentation
• PDF documentation and supporting files
Note:
This recipe is available as Oracle HCM Cloud — Okta | Generate Okta Users in
the Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Overview
This recipe demonstrates how to use Oracle Integration to create users in Okta based on the
information for newly hired employees in Oracle HCM Cloud.
The integration performs the following actions:
• Retrieves the information for newly hired employees via the HCM Cloud ATOM feed.
• Enriches and transforms the data using additional REST calls.
• Generates the new users in the Okta access management system.
A-185
Appendix A
Human Capital Management (HCM) Recipes
Related Documentation
• PDF documentation and supporting files
Note:
This recipe is available as Oracle HCM Cloud — FTP Server | Create
Workers in the Integration Store. Oracle provides this recipe as a sample
only. The recipe is meant only for guidance, and is not warranted to be error-
free. No support is provided for this recipe.
Overview
This recipe demonstrates how to use Oracle Integration to create workers in Oracle
HCM Cloud. The integration handles different types of workers including permanent
employees, contingent workers, and pending workers.
The integration performs the following actions:
• Reads a file from an external FTP server that contains data for new workers.
• Transforms and formats the file to generate the REST payload.
• Create the appropriate individuals with worker types within Oracle HCM Cloud.
Related Documentation
• PDF documentation and supporting files
A-186
Appendix A
Human Capital Management (HCM) Recipes
Transform an Oracle HCM Cloud Extract File to an ANSI 834 Benefits File
Use this recipe to generate and format an ANSI 834 benefits provider input file, based on an
Oracle HCM Cloud Extract file loaded from an FTP server.
Note:
This recipe is available as Oracle HCM Cloud — FTP Server | Export Benefits
ANSI 834 in the Integration Store. Oracle provides this recipe as a sample only. The
recipe is meant only for guidance, and is not warranted to be error-free. No support
is provided for this recipe.
Overview
HCM users require the ability to synchronize HCM benefits data with third-party benefits
providers. These providers often expect data to be published using the ANSI 834 EDI
Enrollment Implementation Format, which is the standard file format in the United States for
electronically exchanging health plan enrollment data between employers and health
insurance carriers.
This recipe uses the data mapper capabilities of Oracle Integration to demonstrate how to
transform a standard data extract from Oracle HCM Cloud into a Benefit Providers ANSI 834
data structure.
The integration uses Oracle Integration with an FTP server to complete the following actions:
• Reads the HCM exported data.
• Transforms and formats the file in Oracle Integration mapper.
• Produces a valid ANSI 834 file.
• Uploads the file to the FTP server.
For ease of setup, this recipe uses an FTP server to replicate the Oracle Fusion Cloud
Human Capital Management instance. See the related documentation for details about how
to use the Oracle HCM Cloud Adapter to retrieve files from an Oracle HCM Cloud instance
via the HCM Extract tool.
Also, this recipe uses no encryption. In a production environment, it is critical that you encrypt
data at every stage.
Related Documentation
• PDF documents and supporting files
A-187
Appendix A
Industries Recipes
Industries Recipes
The Industries recipes help you quickly integrate various industry-specific applications.
Topics:
• Generate Oracle Hospitality Access Tokens
Note:
This recipe is available as Oracle Integration — Oracle Hospitality |
Generate Access Tokens in the Integration Store. Oracle provides this
recipe as a sample only. The recipe is meant only for guidance, and is not
warranted to be error-free. No support is provided for this recipe.
Overview
You require an OHIP access token to call any Oracle Hospitality API. In addition, the
tokens you obtain expire after sixty minutes. Using this recipe, you can automatically
generate these tokens at a frequency of your choosing (for example, every thirty or
sixty minutes), and use the tokens to seamlessly call the required Oracle Hospitality
APIs.
To use the recipe, you must install the recipe package and configure the connection
and other resources within the package. Subsequently, you can activate and run the
integration flow of the package manually or specify an execution schedule for it. When
triggered, the integration flow queries OHIP for an access token (using the credentials
configured in the recipe's resources) and returns the token details in a log message.
After an integration instance successfully executes, you can view the log message
containing the token through the Activity Stream.
System Requirements
• Oracle Integration, Version 21.2.1.0.0 or higher
Assumptions
• You have created an integration user account on the Oracle Hospitality Shared
Security Domain (SSD) for the required hotel's tenant/chain, and possess a valid
Integration ID and Integration Key for the account. See Partner Self-Registration
Guide on the Oracle Hospitality Shared Security Domain (SSD) for OPERA
documentation page.
• You have added a new environment in the Oracle Hospitality Developer Portal to
access the hotel’s environment, and obtained the Gateway URL, Client ID, and
Client Secret of the environment added. See Adding an Environment and Viewing
Environment Details in Oracle Hospitality Integration Platform User Guide.
A-188
Appendix A
Industries Recipes
• You have registered an application in the Oracle Hospitality Developer Portal (by
selecting the right environment and subscribing to the required group of Oracle
Hospitality APIs), and obtained the Application Key. See Registering an Application and
Viewing the Application Key in Oracle Hospitality Integration Platform User Guide.
Topics:
• Install and Configure the Recipe
• Activate and Run the Recipe
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST Hospitality Connection
• Configure the Lookup Table
2. Click Edit .
The connection configuration page appears.
3. In the Connection Properties section, enter the following details.
A-189
Appendix A
Industries Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
1. On the Configuration Editor page, select the lookup table and click Edit .
2. Against the X-App-Key field, enter the Application Key obtained from the Oracle
Hospitality Developer Portal. See Assumptions.
3. Against the ToEmailID field, enter the email address to which run-time exception
emails are to be sent.
4. Against the FromEmailID field, enter the email address from which run-time
exception emails are to be sent.
5. Click Save. If prompted, click Save for a second time.
A-190
Appendix A
Oracle Integration Starter Recipes
Topics:
• Calculate Total Balance
• Concatenate Messages
• Echo Request
• Get Incident Details
• Get Weather Data
• Increment the Sequence Variable within a Loop Integration
• Perform Mathematical Operations
• Get Stocks Data
• Say Hello World
• Say Hello World Invoke
A-191
Appendix A
Oracle Integration Starter Recipes
Note:
This recipe is available as Oracle Soap Library Calculator ForLoop in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Overview
The integration in this recipe iterates through an array of credit cards using the for
each action, and calculates the total balance.
The integration receives an array of credit cards in the SOAP request, and then
calculates and logs the total balance for all the credit cards in the array.
It uses the JavaScript library Oracle-Library-Calculator to add up the total balance,
and the logger action to log the result.
The integration that results from installing this recipe is named: Oracle Soap Library
Calculator ForLoop.
To run this integration the input you provide must use WS-Security UsernameToken
authentication and specify a user, a password, a token, and a time stamp. Use the
user and password that you use to access your Oracle Integration instance.
Input Example
<soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-
open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://
docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Timestamp wsu:Id="TS-A0B5B6EE369353695016143639393465">
<wsu:Created>2021-02-26T18:25:39.346Z</wsu:Created>
<wsu:Expires>2021-02-26T18:26:39.346Z</wsu:Expires>
</wsu:Timestamp>
<wsse:UsernameToken wsu:Id="UsernameToken-A0B5B6EE369353695016143635403723">
<wsse:Username>your_user_name</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-
wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
A-192
Appendix A
Oracle Integration Starter Recipes
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-
wss-soap-message-security-1.0#Base64Binary">lyzXqn9Ai17AyC/n+5pDpA==</wsse:Nonce>
<wsu:Created>2021-02-26T18:19:00.372Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<aut:creditCards>
<!--1 or more repetitions:-->
<aut:CreditCard>
<aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER>
<aut:BALANCE>151</aut:BALANCE>
<aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT>
<aut:CREDIT_RATE>4</aut:CREDIT_RATE>
</aut:CreditCard>
<aut:CreditCard>
<aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER>
<aut:BALANCE>94</aut:BALANCE>
<aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT>
<aut:CREDIT_RATE>4</aut:CREDIT_RATE>
</aut:CreditCard>
<aut:CreditCard>
<aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER>
<aut:BALANCE>37</aut:BALANCE>
<aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT>
<aut:CREDIT_RATE>4</aut:CREDIT_RATE>
</aut:CreditCard>
</aut:creditCards>
</soapenv:Body>
</soapenv:Envelope>
Output Example
This image shows the logged message in the activity stream. The total balance for this
example is 282.
A-193
Appendix A
Oracle Integration Starter Recipes
Related Documentation
To learn more about the adapters used in this recipe, see Using the SOAP Adapter
with Oracle Integration.
Concatenate Messages
Use this recipe to create and invoke a JavaScript callout activity to concatenate
messages. This recipe uses the REST Adapter in an orchestrated integration.
Note:
This recipe is available as Oracle Integration — REST | Concatenate
Messages in the Integration Store. Oracle provides this recipe as a sample
only. The recipe is meant only for guidance, and is not warranted to be error-
free. No support is provided for this recipe.
A-194
Appendix A
Oracle Integration Starter Recipes
Description
This recipe demonstrates how to use a simple callout activity with a REST Adapter in an
orchestrated integration. The REST Adapter is triggered when you specify a URL with two
string query parameters. The JavaScript Callout function then concatenates these
parameters and returns a string message as a response.
A logging message is created and logged to the activity stream for viewing.
You can also track the integration and monitor message status.
System Requirements
• Oracle Integration
Related Documentation
• Run the ConcatMessages Sample
Echo Request
Use this recipe to see a simple log and REST request-response trigger.
Note:
This recipe is available as Oracle Integration — REST | Echo Request in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is meant
only for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
Description
This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger
in a request-response orchestrated integration.
The REST Adapter gets triggered when you specify a URL. A browser response is sent to
you. A logging message is created and logged to the activity stream for viewing.
You can also track the integration and monitor message status.
System Requirements
• Oracle Integration
Related Documentation
• Run the Echo Sample
A-195
Appendix A
Oracle Integration Starter Recipes
Note:
This recipe is available as Oracle Service Cloud — REST | Get Incident
Details in the Integration Store. Oracle provides this recipe as a sample only.
The recipe is meant only for guidance, and is not warranted to be error-free.
No support is provided for this recipe.
Description
This recipe demonstrates how to get incident details from Oracle B2C Service for an
incident ID and send the incident details to the caller as a response.
The REST Adapter is triggered when you specify a URL. The Oracle Service Cloud
(RightNow) Adapter is invoked in the integration, and is configured to get incident
details from Oracle B2C Service. The incident response is returned to you.
A logging message is created and logged to the activity stream for viewing.
You can also track the integration and monitor message status.
System Requirements
• Oracle B2C Service
• Oracle Integration
Related Documentation
• Run the Incident Details from Service Cloud Sample
Note:
This recipe is available as Oracle REST Get Weather DataService in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Overview
This recipe demonstrates how to get the weather data from an external source for a
particular zip code and send the weather details to the caller as a response.
A-196
Appendix A
Oracle Integration Starter Recipes
To use the recipe, you must configure the Oracle REST Weather Connection by specifying
the connection URL of a weather application (for example, https://
api.openweathermap.org/data/2.5/weather). Subsequently, you can trigger the first REST
Adapter of the recipe by specifying a zip code and the API key for the connection URL. The
second REST Adapter (which uses the REST connection you configured) is then invoked in
the integration, and it fetches the weather details from the specified connection URL. The
response containing the weather data is returned to you.
A logging message is created and logged to the activity stream for viewing.
You can also track the integration and monitor the message status.
You can invoke the REST API using the following command to get the weather data through
the recipe:
GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R-
REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key}
{
"coord": {
"lon": -96.9905,
"lat": 32.8653
},
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "overcast clouds",
"icon": "04d"
}
],
"base": "stations",
"main": {
"temp": 269.41,
"feels_like": 262.04,
"temp_min": 269.15,
"temp_max": 269.82,
"pressure": 1024,
"humidity": 86
},
"visibility": 10000,
"wind": {
"speed": 6.69,
"deg": 350
},
"clouds": {
"all": 90
},
"dt": 1613058731,
"sys": {
"type": 1,
"id": 3807,
"country": "US",
A-197
Appendix A
Oracle Integration Starter Recipes
"sunrise": 1613049292,
"sunset": 1613088582
},
"timezone": -21600,
"id": 0,
"name": "Irving",
"cod": 200
}
Related Documentation
• Using the REST Adapter with Oracle Integration
Note:
This recipe is available as Oracle Increment Variable Inside Loop in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
A-198
Appendix A
Oracle Integration Starter Recipes
Overview
The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in
batches from an external application. This recipe enables you to increment the sequence or
counter variable within a data mapper, using the position( ) function, for each batch of data
that's processed.
You can invoke the REST API using the following command to post data to the recipe:
POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R-
INCREM_VARIAB_INSIDE_LOOP/1.0/ITER
{
"Accounting": [
{
"Seq": "1",
"Employee": {
"firstName": "John1",
"lastName": "Doe1",
"age": 23
}
},
{
"Seq": "2",
"Employee": {
"firstName": "John2",
"lastName": "Doe2",
"age": 33
}
},
{
"Seq": "3",
"Employee": {
"firstName": "John3",
"lastName": "Doe3",
"age": 44
}
},
{
"Seq": "4",
"Employee": {
"firstName": "John4",
"lastName": "Doe4",
A-199
Appendix A
Oracle Integration Starter Recipes
"age": 53
}
},
{
"Seq": "5",
"Employee": {
"firstName": "John5",
"lastName": "Doe5",
"age": 63
}
}
],
"errorOccurred": "false"
}
Related Documentation
• Using the REST Adapter with Oracle Integration
• Using the Oracle Mapper with Oracle Integration.
Note:
These recipes are available in the Oracle Integration — SOAP | Calculator
Operations package in the Integration Store. Oracle provides these recipes
as samples only. These recipes are meant only for guidance, and are not
warranted to be error-free. No support is provided for these recipes.
Overview
Using these recipes, you can:
• Perform a specific arithmetic operation (such as, addition, subtraction,
multiplication, and division) on the input data using a Switch action. To enable you
to perform these operations, a JavaScript library (Oracle-Library-Calculator) is
included in the package.
• Perform a division operation on the input data, and catch or handle faults
encountered during the operation.
A-200
Appendix A
Oracle Integration Starter Recipes
<exam:AnyWithOption>
<exam:option>mul</exam:option>
<exam:a>4</exam:a>
<exam:b>12</exam:b>
</exam:AnyWithOption>
<env:Body>
<AnyWithOptionResponse xmlns:wsa="http://
schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsa10="http://www.w3.org/2005/08/addressing"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/
wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/
2004/09/policy" xmlns:wsu="http://docs.oasis-
open.org/wss/2004/01/oasis-200401-wss-wssecurity-
utility-1.0.xsd" xmlns:msc="http://
schemas.microsoft.com/ws/2005/12/wsdl/contract"
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/
addressing/policy" xmlns:nstrgmpr="http://Example.org"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://Example.org">
<nstrgmpr:result>48.0</nstrgmpr:result>
</AnyWithOptionResponse>
</env:Body>
A-201
Appendix A
Oracle Integration Starter Recipes
<exam:Divide>
<!--Optional:-->
<exam:a>200</exam:a>
<!--Optional:-->
<exam:b>10</exam:b>
</exam:Divide>
<DivideResponse xmlns:wsa="http://
schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:ns0="http://www.oracle.com/XSL/Transform/java/
oracle.tip.dvm.LookupValue" xmlns:ns1="http://
www.oracle.com/XSL/Transform/java/
com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT
rackingFunctions" xmlns:soapenc="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://
schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://
schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/
oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/
integration/metadata" xmlns:dvm="http://
www.oracle.com/XSL/Transform/java/
com.bea.wli.sb.functions.dvm.DVMFunctions"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:orajs10="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath428770
522" xmlns:orajs11="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath151171
120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/
wsdl" xmlns:wsa10="http://www.w3.org/2005/08/
addressing" xmlns:orajs16="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath126454
0111" xmlns:orajs17="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath908143
547" xmlns:orajs18="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath889320
555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/
soap12/" xmlns:orajs19="http://www.oracle.com/XSL/
A-202
Appendix A
Oracle Integration Starter Recipes
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath226366
833" xmlns:orajs12="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath754435
699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath137275
3807" xmlns:orajs13="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath248742
258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath591907
397" xmlns:orajs14="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath213040
8426" xmlns:orajs15="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath178652
5844" xmlns:orajs8="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath263876
15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath132287
2458" xmlns:orajs6="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath917958
894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath86288"
xmlns:orajs4="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath199629
1323" xmlns:orajs1="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath729152
639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath161156
5945" xmlns:orajs0="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath503065
307" xmlns:msc="http://schemas.microsoft.com/ws/
2005/12/wsdl/contract" xmlns:wsap="http://
schemas.xmlsoap.org/ws/2004/08/addressing/policy"
xmlns:nstrgmpr="http://Example.org" xmlns:soap="http://
schemas.xmlsoap.org/wsdl/soap/" xmlns="http://
Example.org">
A-203
Appendix A
Oracle Integration Starter Recipes
<nstrgmpr:result>20.0</nstrgmpr:result>
</DivideResponse>
A-204
Appendix A
Oracle Integration Starter Recipes
<exam:Divide>
<!--Optional:-->
<exam:a>60</exam:a>
<!--Optional:-->
<exam:b>0</exam:b>
</exam:Divide>
<DivideResponse xmlns:wsa="http://
schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:ns0="http://www.oracle.com/XSL/Transform/java/
oracle.tip.dvm.LookupValue" xmlns:plnk="http://
schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:ns1="http://www.oracle.com/XSL/Transform/java/
com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT
rackingFunctions" xmlns:soapenc="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://
schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/
oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault"
xmlns:dvm="http://www.oracle.com/XSL/Transform/java/
com.bea.wli.sb.functions.dvm.DVMFunctions"
xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/
integration/metadata" xmlns:wsx="http://
schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:orajs30="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath908143
547" xmlns:orajs31="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath889320
555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/
wsdl" xmlns:wsa10="http://www.w3.org/2005/08/
addressing" xmlns:orajs9="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath119774
4749" xmlns:orajs7="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath605343
A-205
Appendix A
Oracle Integration Starter Recipes
633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath185128
3090" xmlns:orajs5="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath188653
5281" xmlns:orajs6="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath640595
824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath107305
9868" xmlns:orajs4="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath102406
8758" xmlns:orajs1="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath729152
639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath149642
6531" xmlns:orajs0="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath503065
307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/
addressing/policy" xmlns:soap="http://
schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http://
www.oracle.com/XSL/Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath591907
397" xmlns:orajs21="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath263876
15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath137275
3807" xmlns:orajs27="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath213040
8426" xmlns:orajs28="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath178652
5844" xmlns:orajs29="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath126454
0111" xmlns:orajs23="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath428770
522" xmlns:orajs24="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath151171
A-206
Appendix A
Oracle Integration Starter Recipes
120" xmlns:orajs25="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath754435
699" xmlns:orajs26="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath248742
258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:orajs10="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath481947
08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath206724
5588" xmlns:orajs16="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath114692
5263" xmlns:orajs17="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath199629
1323" xmlns:orajs18="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath132287
2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/
soap12/" xmlns:orajs19="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath917958
894" xmlns:orajs12="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath161156
5945" xmlns:orajs13="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath182264
4184" xmlns:orajs14="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath133935
528" xmlns:orajs15="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath86288"
xmlns:nstrgdfl="http://xmlns.oracle.com/procmon"
xmlns:ns28="http://xmlns.oracle.com/ics/tracking/
ics_tracking_context.xsd" xmlns:msc="http://
schemas.microsoft.com/ws/2005/12/wsdl/contract"
xmlns:nstrgmpr="http://Example.org" xmlns="http://
Example.org">
<nstrgmpr:result>Review JavaScript error(s)
and fix them:
error: null@18 -> DivideByZeroError
at: function=divide, loc=js/TestAPILibrary_1.0/
calc.js, line=18</nstrgmpr:result>
</DivideResponse>
A-207
Appendix A
Oracle Integration Starter Recipes
<exam:Divide>
<!--Optional:-->
<exam:a>10</exam:a>
<!--Optional:-->
<exam:b>0</exam:b>
</exam:Divide>
<DivideResponse xmlns:wsa="http://
schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:ns0="http://www.oracle.com/XSL/Transform/java/
oracle.tip.dvm.LookupValue" xmlns:ns1="http://
www.oracle.com/XSL/Transform/java/
com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT
rackingFunctions" xmlns:soapenc="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://
schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://
schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/
oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/
integration/metadata" xmlns:dvm="http://
www.oracle.com/XSL/Transform/java/
com.bea.wli.sb.functions.dvm.DVMFunctions"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:orajs10="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath428770
522" xmlns:orajs11="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath151171
120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/
wsdl" xmlns:wsa10="http://www.w3.org/2005/08/
addressing" xmlns:orajs16="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath126454
0111" xmlns:orajs17="http://www.oracle.com/XSL/
A-208
Appendix A
Oracle Integration Starter Recipes
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath908143
547" xmlns:orajs18="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath889320
555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/
soap12/" xmlns:orajs19="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath226366
833" xmlns:orajs12="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath754435
699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath137275
3807" xmlns:orajs13="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath248742
258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath591907
397" xmlns:orajs14="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath213040
8426" xmlns:orajs15="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath178652
5844" xmlns:orajs8="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath263876
15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath132287
2458" xmlns:orajs6="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath917958
894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath86288"
xmlns:orajs4="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath199629
1323" xmlns:orajs1="http://www.oracle.com/XSL/
Transform/java/
oracle.tip.pc.services.functions.JsExecutor_xpath729152
639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/
java/
oracle.tip.pc.services.functions.JsExecutor_xpath161156
5945" xmlns:orajs0="http://www.oracle.com/XSL/
Transform/java/
A-209
Appendix A
Oracle Integration Starter Recipes
oracle.tip.pc.services.functions.JsExecutor_xpath503065
307" xmlns:msc="http://schemas.microsoft.com/ws/
2005/12/wsdl/contract" xmlns:wsap="http://
schemas.xmlsoap.org/ws/2004/08/addressing/policy"
xmlns:nstrgmpr="http://Example.org" xmlns:soap="http://
schemas.xmlsoap.org/wsdl/soap/" xmlns="http://
Example.org">
<nstrgmpr:result>0</nstrgmpr:result>
</DivideResponse>
Related Documentation
• Using the SOAP Adapter with Oracle Integration
Note:
This recipe is available as Oracle REST Stock Service in the Integration
Store. Oracle provides this recipe as a sample only. The recipe is meant only
for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
A-210
Appendix A
Oracle Integration Starter Recipes
Overview
This recipe demonstrates how to get the stock-related data of a particular company on a
certain date from an external source and send the stock details to the caller as a response.
To use the recipe, you must configure the Oracle REST Get Stock Quote Connection by
specifying the connection URL of a stocks application (for example, https://
api.polygon.io/v1/open-close). Subsequently, you can trigger the first REST Adapter of
the recipe by specifying a company symbol, date, and the API key for the connection URL.
The second REST Adapter (which uses the REST connection you configured) is then invoked
in the integration, and it fetches the stock details from the specified connection URL. The
response containing the stock-related data is returned to you.
A logging message is created and logged to the activity stream for viewing.
You can also track the integration and monitor the message status.
You can invoke the REST API using the following command to get the stock-related data
through the recipe:
GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R-
REST_STOCK_SERVICE/1.0/v1/open-close?
symbol={company_symbol}&date={date}&apiKey={api_key}
{
"status": "OK",
"from": "2020-09-09",
"symbol": "IBM",
"open": 122.13,
"high": 123.7,
"low": 121.29,
"close": 122.26,
"volume": 3875357,
"afterHours": 122.7,
"preMarket": 121.95
}
A-211
Appendix A
Oracle Integration Starter Recipes
Related Documentation
• Using the REST Adapter with Oracle Integration
Note:
This recipe is available as Oracle Integration — REST | Say Hello World in
the Integration Store. Oracle provides this recipe as a sample only. The
recipe is meant only for guidance, and is not warranted to be error-free. No
support is provided for this recipe.
Description
This recipe demonstrates how to use simple log and email notification actions with a
REST Adapter in an orchestrated integration. The REST Adapter gets triggered when
you specify a URL.
The integration has a switch activity with two rules is defined.
• If you provide both an email address and a name when triggering the REST
Adapter, then a browser response and email response are sent to you.
• If you provide only a name when triggering the REST Adapter, then only a browser
response is sent to you.
With either switch rule, a logging message is created and logged to the activity stream
for viewing.
You can also track the integration and monitor message status.
System Requirements
• Oracle Integration
Related Documentation
• Run the Hello World Sample
A-212
Appendix A
Oracle Integration Starter Recipes
Note:
This recipe is available as Oracle Integration — REST | Say Hello World Invoke
in the Integration Store. Oracle provides this recipe as a sample only. The recipe is
meant only for guidance, and is not warranted to be error-free. No support is
provided for this recipe.
Description
This recipe demonstrates how to call and invoke a simple REST web service in an
orchestrated integration. The REST Adapter is triggered when you specify a URL. The Hello
World REST Adapter that you previously used in the Say Hello World recipe is invoked in the
integration. The name and email address response are sent to you in JSON format.
A logging message is created and logged to the activity stream for viewing.
You can also track the integration and monitor message status.
System Requirements
• Oracle Integration
Related Documentation
• Run the Hello World Invoke Sample
Note:
This recipe is available as Oracle Integration — REST | Say Hello World Map
Data Invoke in the Integration Store. Oracle provides this recipe as a sample only.
The recipe is meant only for guidance, and is not warranted to be error-free. No
support is provided for this recipe.
Description
This recipe demonstrates how to call and invoke a simple REST web service using the Map
Data integration pattern. The REST Adapter is triggered when you specify a URL. The Hello
World Invoke REST Adapter is invoked in the integration. The name and email address
response are sent to you in JSON format.
A-213
Appendix A
Oracle Integration Starter Recipes
A logging message is created and logged to the activity stream for viewing.
You can also track the integration and monitor message status.
System Requirements
• Oracle Integration
Related Documentation
• Run the Hello World Map Data Invoke Sample
Note:
This recipe is available as REST — Oracle Integration | Send Files by
Email in the Integration Store. Oracle provides this recipe as a sample only.
The recipe is meant only for guidance, and is not warranted to be error-free.
No support is provided for this recipe.
Overview
When this recipe receives a REST request containing a file from an external
application or from another integration flow in Oracle Integration, it sends the file as an
email attachment to a specified email address. The recipe contains an app-driven
orchestration integration, which uses the standard REST Adapter.
To use the recipe, you must install the recipe package and configure the connection
and other resources within the package. Subsequently, you can activate the integration
flow of the package and send a REST request containing a file to the integration's
endpoint URL from an external application. When triggered, the integration flow sends
the file received to the specified email address as an attachment. If your REST request
doesn't contain a file, the integration flow isn't triggered and the email message isn't
sent.
Note:
You can send only one file at a time with this recipe.
Topics:
• Install and Configure the Recipe
• Activate and Run the Recipe
A-214
Appendix A
Oracle Integration Starter Recipes
5. After the package is installed, click the Configure icon on the recipe card to
configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package.
Configure the following resources before you activate and run the recipe.
• Configure the Oracle REST Trigger Connection
• Configure the Lookup Table
2. Click Edit .
3. On the Oracle REST Trigger Connection page, click Test to ensure that your connection
is correctly configured.
A confirmation message is displayed if your test is successful.
4. Click Save. If prompted, click Save for a second time.
5. Click Back to return to the Configuration Editor page. Click Save again if prompted.
1. On the Configuration Editor page, select the lookup table and click Edit .
2. Against the SenderEmail and RecipientEmail fields, enter the corresponding email
addresses.
3. Click Save. If prompted, click Save for a second time.
A-215
Appendix A
Oracle Integration Starter Recipes
1. On the Configuration Editor page, click Activate in the title bar. In the Activate
Package dialog, click Activate again.
A confirmation message is displayed informing that the integration has been
submitted for activation. Refresh the page to view the updated status of the
integration.
2. Run the recipe from an external application.
a. On the Configuration Editor page, select the integration and click Run .
b. On the resulting pop-up dialog, click the Metadata URL link.
c. From the new tab that opens, copy the Endpoint URL value. This is the
integration flow's endpoint URL.
d. From the external application, send a POST request to this endpoint URL along
with the required file. Upload the file in the POST request's Body field.
You'll receive the status code 202 as a response in your application, which
indicates that Oracle Integration has accepted your request. When the
integration flow receives the request, it sends the file to the recipient email
address specified in the lookup table.
3. Test the recipe in Oracle Integration.
a. On the Configuration Editor page, select the integration.
Transfer a File
Use this recipe to read an opaque file from a "/" directory and write the file to an "/
upload" directory in a simple scheduled orchestration. After activating the integration,
A-216
Appendix A
Oracle Integration Starter Recipes
you go to the Actions menu and select Submit now or Add Schedule to run the scheduled
integration.
Note:
This recipe is available as Oracle Integration — FTP | Transfer File in the
Integration Store. Oracle provides this recipe as a sample only. The recipe is meant
only for guidance, and is not warranted to be error-free. No support is provided for
this recipe.
Description
This recipe demonstrates how to read an opaque file from a
/upload
directory in a scheduled orchestrated integration. An FTP Adapter reads the file from the
/upload
directory. An assign action is configured to assign variables for the file name and file size.
A logging message is created to indicate that the file name has been read. The message is
logged to the activity stream for viewing.
You can also track the integration and monitor message status.
System Requirements
• Oracle Integration
Related Documentation
• Run the File Transfer Sample
A-217
Appendix A
Oracle Integration Starter Recipes
Note:
This recipe is available as Oracle Integration — REST | Use Multiple
Verbs and Resources Invoke in the Integration Store. Oracle provides this
recipe as a sample only. The recipe is meant only for guidance, and is not
warranted to be error-free. No support is provided for this recipe.
Description
This recipe demonstrates how to use multiple HTTP verbs and resources configured
for the REST trigger (also called an invoke) of an integration. A single REST trigger
can be configured to have multiple HTTP verbs such as GET, PUT, POST, PATCH,
and DELETE.
A single REST trigger can also be configured to have multiple resources. However,
this recipe configures the REST Adapter with a single resource endpoint of /emp and a
sub-resource /emp/loc.
System Requirements
• Oracle Integration
Related Documentation
• Run the Multiple Verbs and Resources Invoke sample
A-218
Appendix A
Oracle Integration Starter Recipes
Note:
These recipes are available as FTP Bulk Import and FTP Read-Write Files List in
the Integration Store. Oracle provides these recipes as samples only. These recipes
are meant only for guidance, and are not warranted to be error-free. No support is
provided for these recipes.
Overview
The FTP recipes use the FTP Adapter to read and write files to an FTP server. These recipes
enable you to import bulk files and modify their content in Oracle Integration, or copy a list of
files from one directory to another on an FTP server.
You can store the set of files to import or work with on File Server, an embedded sFTP server
within Oracle Integration. To use File Server, you must enable it for your Oracle Integration
instance. See Enable File Server in Using File Server in Oracle Integration Generation 2.
Note:
For the files to be successfully read and
transformed, you must provide the schema
files (comma-separated value (CSV) or .txt
files) that contain the required data
structures in the Stage File actions for
reading and writing files.
FTP Read-Write Files List Copies a list of files from one directory to another on an FTP server.
A-219
Appendix A
Social and Productivity Recipes
To use the collection of FTP recipes, you must configure the Oracle FTP Connection.
You only need to configure this connection once. All the FTP recipes listed above use
the same connection.
For prerequisites to configure the connection, see Prerequisites for Creating a
Connection.
For details on configuring the FTP connection, see Create an FTP Connection.
Related Documentation
• Create an Integration to Import and Process Bulk Files
• Using File Server in Oracle Integration Generation 2
Topics:
• Export Google Gmail Attachments to an FTP Server
• Integrate with DocuSign
• Interact with Facebook
• Interact with LinkedIn
• Interact with Slack
• Interact with Twitter
• Post Slack Notifications for Completed SurveyMonkey Surveys
• Synchronize SurveyMonkey with Oracle NetSuite
Note:
This recipe is available as Google Gmail — FTP | Export Attachments in
the Integration Store. Oracle provides this recipe as a sample only. The
recipe is meant only for guidance, and is not warranted to be error-free. No
support is provided for this recipe.
Overview
This recipe exports attachments that you receive in Google Gmail to an FTP server,
according to a schedule specified in Oracle Integration. The recipe uses the standard
Google Gmail Adapter and the standard FTP Adapter.
A-220
Appendix A
Social and Productivity Recipes
To use the recipe you must install the recipe package and configure the connections and
other resources within the package. After you activate and run the recipe, the integration
uses a schedule parameter to filter out already exported attachments, fetches the latest
attachments from Google Gmail, and writes them to the specified location on the FTP server.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
Configure Gmail
You must obtain the Gmail API credentials, that is the Client ID and Secret, for connecting to
Gmail from Oracle Integration.
1. Log in to your Google account and access the Google Developer console at https://
console.developers.google.com.
2. On the Title bar of the Google Cloud Platform page, click the Select a project drop-down
list.
3. Select an existing project to use or create a new project.
Note that if you create a new project, ensure that the project is selected from the drop-
down list after saving the new project. You’ll be able to view the project’s dashboard only
if you select the project.
4. Click ENABLE APIS AND SERVICES. Alternatively, click Library in the left navigation
pane.
The API Library page opens.
5. In the Search field enter Gmail API, and then select Gmail API from the search results.
6. On the Gmail API window, click MANAGE.
7. In the left navigation pane, click Credentials.
8. At the top of the Credentials window, click CREATE CREDENTIALS and then choose
OAuth client ID.
9. In the Application type field, select Web Application from the drop-down list.
10. Enter a name for the OAuth Client ID in the Name field.
A-221
Appendix A
Social and Productivity Recipes
11. Scroll to the Authorized redirect URIs section and click ADD URI.
https://OIC_HOST:OIC_SSL_PORT/icsapis/agent/oauth/callback
Where
• OIC_HOST is the Oracle Integration instance host name.
• OIC_SSL_PORT is the Oracle Integration SSL port.
13. Click CREATE.
Note the Client ID and Secret. You’ll need these later while configuring the Google
mail connection from Oracle Integration.
15. Click OK.
You return to the Credentials window, and the OAuth Client ID that you created is
listed under the OAuth 2.0 Client ID section.
Note:
Before creating a Gmail connection, you must upload the trusted Gmail
public certificate to Oracle Integration. The trusted Gmail public certificate
can be downloaded from https://gmail.com. Rename the
GoogleCertificate.txt file extension to .cer.
See Upload an SSL Certificate and Certificate Errors in Using the Google Gmail
Adapter with Oracle Integration.
A-222
Appendix A
Social and Productivity Recipes
2. Click Edit .
The Google Mail Connection window opens.
3. Under the Security section, enter the following details:
a. In the Client Id and Client Secret fields, enter the client ID and secret that you
obtained while configuring Gmail.
See Configure Gmail.
b. In the Scope field, enter https://www.googleapis.com/auth/gmail.modify.
4. Click Save.
5. Click Provide Consent.
a. In the resulting dialog, enter your Oracle Integration username and password, and
click Sign in.
b. Log in to your Gmail account from the browser window that opens.
c. Follow the prompts till you see the access allowed page.
Switch back to your Google Mail Connection window in Oracle Integration.
6. Click Test to ensure that your connection is successfully configured.
You get a confirmation message if your test is successful.
7. Click Back to return to the Configuration Editor page. Click Save again if prompted.
2. Click Edit .
The FTP Connection window appears.
A-223
Appendix A
Social and Productivity Recipes
7. Click Back to return to the Configuration Editor page. Click Save again if
prompted.
A-224
Appendix A
Social and Productivity Recipes
3. On the Configuration Editor page, click Run on the integration's row, and then select
Submit Now.
The Schedule Parameters window appears.
4. In the Schedule Parameters window, enter the current date (format: YYYY-MM-DD) in the
New Value field. For example, 2021-07-20.
This filters out already exported attachments, and ensures that only the latest
attachments in the Gmail account after the last export gets fetched.
5. Click Submit.
You’ve successfully submitted the integration for a test run.
6. Log in to the FTP server and check if the attachments from Gmail have been exported to
the specified directory.
Related Documentation
• Using the Google Gmail Adapter with Oracle Integration
• Using the FTP Adapter with Oracle Integration
Note:
These recipes are available in the Integration Store as:
• REST — DocuSign | Create Envelope
• REST — DocuSign | Get Envelope Status
Oracle provides these recipes as samples only. These recipes are meant only for
guidance, and are not warranted to be error-free. No support is provided for these
recipes.
Overview
With these recipes, you can:
• Create a draft envelope containing a document (for example, a PDF document) in your
DocuSign account. Subsequently, from your DocuSign account, you can edit this
envelope and send it to the required recipients.
• Retrieve the status of an existing envelope in your DocuSign account.
To run the DocuSign recipes, you must configure the Oracle DocuSign Connection with the
details necessary to access the DocuSign application. You can then trigger the recipes
through a REST request and supply the necessary request payload.
• For the REST — DocuSign | Create Envelope recipe, you must supply the ID of the
document you want to insert within a DocuSign envelope, the name of the document, and
A-225
Appendix A
Social and Productivity Recipes
the Base64 value for the document as the request payload. The DocuSign Adapter
in the recipe is subsequently invoked, and it creates a draft envelope with your
document in your DocuSign account. The response containing the new envelope
ID is returned to you.
• For the REST — DocuSign | Get Envelope Status recipe, you must supply the ID
of the DocuSign envelope of which you want the status as the request payload.
The DocuSign Adapter in the recipe is subsequently invoked, and it fetches the
status of the specified envelope. The response containing the status and the last
status-change date and time is returned to you.
{
"envelopeId": "cdf684b3-b1af-4d2a-
a56e-4d3a146c5c08"
}
A-226
Appendix A
Social and Productivity Recipes
{ "envelopidId":"13e47618-b03f-4fac-
ac4d-3fc0c9477311" }
{
"status": "created",
"statuschangedatetime":
"2021-04-13T13:22:20.1730000Z"
}
A-227
Appendix A
Social and Productivity Recipes
Related Documentation
• Using the DocuSign Adapter with Oracle Integration
Note:
These recipes are available in the REST — Facebook | Get Page Details
package in the Integration Store. Oracle provides these recipes as samples
only. These recipes are meant only for guidance, and are not warranted to be
error-free. No support is provided for these recipes.
Overview
Using the recipes in the REST — Facebook | Get Page Details package, you can:
• Get all the posts published by a Facebook page.
• Get the entire feed of a Facebook page, including posts and links published by the
page or by the visitors to the page.
To run a Facebook recipe, you must configure the Oracle Facebook Connection with
the details necessary to access Facebook. You can then trigger the recipe through a
REST request and supply the page-id of the Facebook page for which you want to
retrieve details. The Facebook Adapter in the recipe is subsequently invoked, and it
fetches the details of the specified page from Facebook. The response containing the
page data is returned to you.
A-228
Appendix A
Social and Productivity Recipes
{
"postResource.definitions.postType":
{
"data": [
{
"created_time":
"2019-10-17T09:41:54+0000",
"story": "",
"id":
"114257499511181_1240634186121094"
}
]
}
}
A-229
Appendix A
Social and Productivity Recipes
{ "postResource.definitions.postType":
{ "data": [ {
"created_time":
"2021-03-12T04:13:57+0000",
"story": "James London wrote on
ExamplePage's timeline — with David
Ryan.",
"id":
"101637441997647_108967031264688" },
{ "created_time":
"2021-03-12T04:13:38+0000", "message":
"Example message1","id":
"101637441997647_108966757931382" },
{ "created_time":
"2021-03-12T04:11:30+0000", "message":
"Example message2","id":
"101637441997647_108965954598129" },
{ "created_time":
"2021-03-12T03:55:31+0000", "message":
"Example message3", "id":
"101637441997647_108955377932520" },
{ "created_time":
"2021-03-11T17:59:11+0000", "message":
"Example message4", "id":
"101637441997647_108577494636975" },
{ "created_time":
"2021-03-11T17:58:26+0000", "message":
"Example message5", "id":
"101637441997647_108577171303674" },
{ "created_time":
"2021-03-10T15:05:16+0000", "message":
"Example message6", "id":
"101637441997647_107388018089256" } ],
"paging": { "cursors": { "before":
"QVFIUmdRR3VaSXJZAM2F1aEt
PeXFNdy1NNk1weENIbG5IVkNaeldCRFo5aWd1Mng2
R0JSZAElWVFBINzBnSmJBYzhTRjNfQl85VHZAvc3E
5RkNYems2ZAzR0R01tN2pYZ
AWdGalZAQblpoeWNaOXN0Skd2WGlOMkZABMVNQZAl
9GemtibU1FcXdE",
"after":
A-230
Appendix A
Social and Productivity Recipes
"QVFIUkwycGp3MG11YnVZAbFNBMzkwd09PanUtbzV
KVHVPVT
VuREwxcDdLNjkzNHRHR013ekl4RVhqbW9iNlJfOW5
QREp
TQVVNVjFqZAGdheGNlMTdtOVowa2xSMHdNSkJQME5
3RzM
4T2ZADQnhyUWpNMEY1Rk1XMDZAxbHd1ZAXpWLXdiU
DNS" } } } }
Related Documentation
• Using the Facebook Adapter with Oracle Integration
A-231
Appendix A
Social and Productivity Recipes
Note:
These recipes are available in the Integration Store as:
• Oracle LinkedIn Get User Lite Profile
• Oracle LinkedIn Share
• Oracle LinkedIn Share User Content
Oracle provides these recipes as samples only. These recipes are meant
only for guidance, and are not warranted to be error-free. No support is
provided for these recipes.
Overview
The LinkedIn recipes use the REST Adapter and the LinkedIn Adapter to create an
integration with a LinkedIn application. These recipes enable you to use basic LinkedIn
services in an integration within Oracle Integration on behalf of an authenticated user.
You can get the user's lite (basic) LinkedIn profile and share content on LinkedIn.
"linkedInDistributionTarget":
{}
},
"owner":
"<your_linkedIn_account_urn>",
"subject": "Test Oracle
LinkedIn - Share 005",
"text": {
"text": "Test Oracle
LinkedIn Share message"
}
}
A-232
Appendix A
Social and Productivity Recipes
"com.linkedin.ugc.ShareContent"
: {
"shareCommentary" : {
"text" : "Test Oracle
LinkedIn Share User Content"
},
"shareMediaCategory" :
"NONE"
}
},
"visibility" : {
"com.linkedin.ugc.MemberNetwork
Visibility" : "PUBLIC"
}
}
Prerequisites
To use the LinkedIn recipes, you must satisfy the following prerequisites for creating a
connection:
• Access the LinkedIn developer console, and then create and register an application.
When you register an application, LinkedIn provides a client ID and a client secret. The
client ID and client secret are application-specific and are different for every application.
You'll need these values when you configure the connection.
• Ensure that you have the credentials required to provide consent for access to the user’s
LinkedIn profile.
• Know the scope of the access request. Scopes enable you to specify which type of
access you need. For example: r_emailaddress r_liteprofile
w_member_social.
See Prerequisites for Creating a Connection in Using the LinkedIn Adapter with Oracle
Integration.
A-233
Appendix A
Social and Productivity Recipes
Related Documentation
• Using the LinkedIn Adapter with Oracle Integration
Note:
These recipes are available in the Integration Store as:
• REST — Slack | Create Channel
• REST — Slack | Post Message
Oracle provides these recipes as samples only. These recipes are meant
only for guidance, and are not warranted to be error-free. No support is
provided for these recipes.
A-234
Appendix A
Social and Productivity Recipes
Overview
Using the Slack recipes, you can:
• Create a public or private channel for communication on the Slack application.
• Post a message to a public or private Slack channel.
To run the Slack recipes, you must configure the Oracle Slack Connection with the details
necessary to access the Slack application. You can then trigger the recipes through a REST
request and supply the necessary request payload.
• For the REST — Slack | Create Channel recipe, you must supply the name and type for
the new channel you want to create as the payload. The Slack Adapter in the recipe is
subsequently invoked, and it creates the channel as specified in your Slack workspace.
The response containing the channel-creation details is returned to you.
• For the REST — Slack | Post Message recipe, you must supply the massage you want to
post and the name of the channel you want to post the message in as payload. The Slack
Adapter in the recipe is subsequently invoked, and it posts the message in the specified
Slack channel. The response containing the message-post details is returned to you.
A-235
Appendix A
Social and Productivity Recipes
{
"channelName": "New-Channel",
"is-private":"true"
}
{
"ok": "true",
"channel": {
"id": "C01SGRKT84E",
"name": "New-Channel",
"is_channel": "true",
"is_group": "false",
"is_im": "false",
"created": "1617017971",
"is_archived": "false",
"is_general": "false",
"unlinked": "0",
"name_normalized": "new-channel",
"is_shared": "false",
"creator": "U01PUKGN6SK",
"is_ext_shared": "false",
"is_org_shared": "false",
"is_pending_ext_shared": "false",
"is_member": "true",
"is_private": "true",
"is_mpim": "false",
"last_read": "0000000000.000000"
}
}
A-236
Appendix A
Social and Productivity Recipes
{
"Message": "Test Message",
"channelName": "new-channel"
}
{
"ok": "true",
"channel": "C01SGRKT84E",
"ts": "1617031570.000300",
"message": {
"bot_id": "B01SC4EJ4JU",
"type": "message",
"text": "Test Message",
"user": "",
"ts": "1617031570.000300",
"team": ""
}
}
A-237
Appendix A
Social and Productivity Recipes
Related Documentation
• Using the Slack Adapter with Oracle Integration
Note:
These recipes are available in the Integration Store as:
• Oracle Twitter Find All Follower IDs
• Oracle Twitter Find All Friend IDs
• Oracle Twitter Find All Twitter IDs Who Retweeted
• Oracle Twitter Find All Retweet My Tweets
• Oracle Twitter Get All Twitter Trending Locations
• Oracle Twitter Get All Twitter Trends Of Place
• Oracle Twitter Lookup Tweet Status
• Oracle Twitter Retweet
• Oracle Twitter Tweet
Oracle provides these recipes as samples only. These recipes are meant
only for guidance, and are not warranted to be error-free. No support is
provided for these recipes.
Overview
Twitter is an online social networking service that enables you to send and read short
messages called tweets. When you sign in to your Twitter account, you can read and
post tweets.
The Twitter recipes use the REST Adapter and the Twitter Adapter to create an
integration with a Twitter application. The recipes let you interact with Twitter including
tweeting messages, finding followers and friends, and getting information about trends.
A-238
Appendix A
Social and Productivity Recipes
A-239
Appendix A
Social and Productivity Recipes
Prerequisites
To use the Twitter recipes, you must have a Twitter account and have access to the
Twitter API for the integration. See Prerequisites for Creating a Connection in Using
the Twitter Adapter with Oracle Integration.
Related Documentation
• Using the Twitter Adapter with Oracle Integration
A-240
Appendix A
Social and Productivity Recipes
Note:
This recipe is available as SurveyMonkey — Slack | Post Notifications for
Completed Surveys in the Integration Store. Oracle provides this recipe as a
sample only. The recipe is meant only for guidance, and is not warranted to be
error-free. No support is provided for this recipe.
Overview
This recipe posts notification messages to a specified Slack channel for completed
SurveyMonkey surveys, according to a specified schedule in Oracle Integration. Using the
recipe you can track survey responses by getting notification messages in Slack with details
about completed survey responses.
The recipe uses the standard SurveyMonkey Adapter and the standard Slack Adapter. To
use the recipe, you must install the recipe package and configure connections and other
resources within the package. Subsequently, you can activate and run the integration flow of
the package manually or specify an execution schedule for it. When triggered the integration
queries for completed surveys in SurveyMonkey, and posts notification messages for the
completed surveys to the specified Slack channel.
Topics:
• Before You Install the Recipe
• Install and Configure the Recipe
• Activate and Run the Recipe
A-241
Appendix A
Social and Productivity Recipes
Configure SurveyMonkey
You must perform the following prerequisite tasks in your SurveyMonkey instance.
1. Create and Configure a SurveyMonkey App
2. Create a Survey
https://{OIC_HOST}:{OIC_SSL_PORT}/icsapis/agent/oauth/callback
• Scroll to the Credentials section, and note the values in the Client ID and
Secret field.
Click the eye icon in the Secret field to view the value. You'll need the
SurveyMonkey API credentials, that is the client ID and secret values while
configuring the SurveyMonkey connection from Oracle Integration.
5. Select the scopes.
a. In the Scopes section, select the following scopes:
• Create/Modify Surveys
• Create/Modify Collectors
• Create/Modify Responses
• View Surveys
• View Collectors
• View Responses
• View Response Details
b. Click Update Scopes.
A-242
Appendix A
Social and Productivity Recipes
You get a confirmation message that the scopes are successfully updated.
Create a Survey
You have to create a survey in SurveyMonkey for which you want to receive responses.
1. Log in to your SurveyMonkey account at https://www.surveymonkey.com/user/sign-in/.
2. On the SurveyMonkey Dashboard, click CREATE SURVEY on the title bar.
3. Create a survey using one of the following options in the Create a new survey pane on
the left:
• Start from scratch
• Copy a past survey
• Buy Targeted Response
• Import Questions
• Start from template
• Build it for me
Find information related to creating and managing surveys under the Design and Manage
topic in the SurveyMonkey Help Center (https://help.surveymonkey.com/).
4. Preview your survey.
Configure Slack
You must perform the following prerequisite tasks in your Slack instance.
1. Create and Configure a Slack App
2. Set Up Your Slack WorkSpace and Channel
A-243
Appendix A
Social and Productivity Recipes
https://slack.com/get-started#/createnew
A-244
Appendix A
Social and Productivity Recipes
2. Click Edit .
The SurveyMonkey Connection window appears.
3. Under the Security section, in the Client Id and Client Secret fields, enter the client ID
and secret you obtained earlier while creating and configuring a SurveyMonkey app.
A-245
Appendix A
Social and Productivity Recipes
2. Click Edit .
The Slack Connection window appears.
3. Under the Security section:
• In the Client ID and Client Secret fields, enter the Client ID and Client Secret
you obtained earlier while creating and configuring a Slack app.
• In the Scope field, enter the permission scopes you configured while creating
and configuring a Slack app.
See Create and Configure a Slack App.
4. Click Provide Consent.
A new browser window opens to approve access to Slack.
5. Click Allow.
6. On the Slack Connection window, click Save.
7. Click Test to ensure that your connection is successfully configured. In the dialog
that displays, click Test again. You get a confirmation message if your test is
successful.
A-246
Appendix A
Social and Productivity Recipes
6. Click Save, and then click Back twice to return to the Configuration Editor page. To
create advanced schedules, see Define the Integration Schedule.
A-247
Appendix A
Social and Productivity Recipes
c. Click Run on the integration's row, and then select Submit Now.
d. In the resulting dialog, click Submit Now.
You've successfully submitted the integration for a test run.
5. Monitor the execution of the integration flow.
a. In the Oracle Integration home page, click Monitoring, then Integrations, and
then Tracking.
b. In the Track instances page, you can see the integration flow being triggered
and executed successfully.
6. Check if a notification is posted in the Slack channel.
a. In Slack, navigate to the channel created for posting completed survey
response notifications.
b. Check if the notification message for the survey that you completed in step 3 is
posted in the channel.
Related Documentation
• Using the SurveyMonkey Adapter with Oracle Integration
• Using the Slack Adapter with Oracle Integration
Note:
This recipe is available as Oracle SurveyMonkey NetSuite Customer
Contact Sync in the Integration Store. Oracle provides this recipe as a
sample only. The recipe is meant only for guidance, and is not warranted to
be error-free. No support is provided for this recipe.
A-248
Appendix A
Other Recipes
Overview
This recipe creates an integration that synchronizes the contacts you add in SurveyMonkey
group to a customer's contact list in Oracle NetSuite. The name of the group in
SurveryMonkey must match the name of the customer in Oracle NetSuite.
You can add the contacts manually or import them from a CSV (comma separated values)
file.
The integration that results from installing this recipe is named: Oracle SurveyMonkey
NetSuite Customer Contact Sync.
Related Documentation
To learn more about the SurveyMonkey and Oracle NetSuite adapters used in this recipe
see:
• Using the SurveyMonkey Adapter with Oracle Integration
• Using the Oracle NetSuite Adapter with Oracle Integration
Other Recipes
Oracle is continually expanding its portfolio of recipes. In addition to the recipe documents
listed here, you can find documentation for the latest recipes on our Recipes page in the Help
Center.
A-249
B
Technical Accelerators Reference
In addition to prebuilt recipes, Oracle Integration includes a set of technical accelerators.
Technical accelerators provide a common technical solution (for example, sending alerts on
failures). They are meant to be called by another integration.
Topics:
• Alert Notification
• Resequence Messages
Alert Notification
Use the Alert Notification technical accelerator to send a message whenever an integration
error or failure occurs. The notification can be sent by email, to a pager, in a JIRA ticket, or
through a custom handler.
Topics:
• Description
• Key Parameters
• Supported Notification Types
• Connections
• Lookups
• Usage
Description
You can use the Alert Notification technical accelerator in all your integrations to customize
the way in which you receive error notifications.
By adding this accelerator to all your integrations, you have a single consistent method for
receiving notifications when an integration error or failure occurs. The turnaround time to
resolve an issue is reduced, the issue gets directed to the right person, and maintenance is
both streamlined and simplified.
You need to configure the REST connection (type, URL, and security policy). You'll also want
to customize the values for the message ID, message subject, and notification type (for
example, email or pager) for your organization,
You can't replace the connections or edit the integration in a technical accelerator developed
by Oracle.
Key Parameters
The Alert Notification technical accelerator has several required fields or key parameters.
B-1
Appendix B
Alert Notification
Connections
The Alert Notification technical accelerator uses two connections:
• Oracle Alerting Service Trigger – This REST connection handles the trigger
operation. The connection details are already configured. The connection is ready
to be used.
• Oracle Alerting Service Invoke – This REST connection handles the invoke
operation. You must configure the following parameters:
– Connection Type: REST API Base URL
– Connection URL: Any valid URL
– Security Policy: No Security Policy
Lookups
The Alert Notification technical accelerator uses three lookups. Edit the lookup values
to customize the notification service for your organization.
The ORCL-T-GENRIC_ENS_NOTIFICATION_SELECTOR_MSGID lookup accepts
these parameters:
• Message_ID
B-2
Appendix B
Alert Notification
• Message_Subject
• Notification_Type
The ORCL-T-GENRIC_ENS_NOTIFICATION_DATA lookup stores the actual parameters for
each notification type.
The ORCL-T-GENRIC_ENS_NOTIFICATION_SELECTOR accepts two parameters that
define the notification type for the calling service.
• IntegrationCode_Version – Specifies the integration code and version combination of
the calling service.
• Notification_Type – Specifies the kind of notification. For example, PAGERDUTY or
Email.
Here are the values required for each notification type.
Usage
Every integration should call the GenericErrorNotification Service from the Global Fault
Handler.
You must configure the following parameters for the GenericErrorNotification Service:
• IntegrationCode_Version: For example, ORCL-BA-
NS2SFDC_INVENITEM_CREATE::01.00.0000.
• InstanceID: Use the mapper function to get the instance ID of the calling service. For
example, fn:format-number(nsmpr2:getFlowId(), "#").
• FaultCode: Map the errorCode from GlobalFaultObject.
• FaultReason: Map the reason from GlobalFaultObject.
• FaultDetails: Map the details from GlobalFaultObject.
B-3
Appendix B
Resequence Messages
Resequence Messages
The Resequence Messages technical accelerator provides a means for you to ensure
that messages entering the system are processed in a specific order.
Note:
Oracle Integration comes with the Resequence Messages technical
accelerator automatically installed. Therefore, this accelerator will already be
listed as INSTALLED on the Accelerators and Recipes page when you sign
in.
Topics:
• Description
• Prerequisite
• Key Parameters
• Connections
• Architecture
• Error Handling
Description
You often need to ensure that messages are processed in a strict order. Let's look at a
pattern that enforces an order using Oracle Integration and the Resequence
Messages technical accelerator. The pattern also deals with the case where you must
limit the concurrency of calls to an endpoint system.
B-4
Appendix B
Resequence Messages
and then be sorted into order. The size of the delay specifies how much time you can accept
a message to be delayed before you go ahead without it.
Prerequisite
The solution uses a database to store the input messages. You can create the required
database tables by using a SQL script.
To create the required database tables:
• Search and download the DDL SQL script provided in this blog.
• Run the script to create the database tables.
Key Parameters
The Resequence Messages technical accelerator uses the following key parameters to
reorder messages.
Field Description
gtype - Group Type The type of stream. Different message types can be sequenced in
parallel, for example, account updates and personnel updates are
different group types.
gid - Message Group A field in the request that identifies a specific stream of messages to be
sequenced.
id - Message Identifier A unique identifier for this message.
sequenceId - Message A field in the request or a timestamp that is used to determine how to
Sequence sequence the messages in a stream.
Parking Time The amount of time that messages may be delayed in order to ensure
messages are processed in the desired order.
Message Concurrency The maximum number of message groups to be processed in parallel.
B-5
Appendix B
Resequence Messages
Connections
The Resequence Messages technical accelerator uses the following connections.
After you install the accelerator, you need to configure each connection.
Architecture
Let's look at the architecture for the Resequence Messages technical accelerator.
B-6
Appendix B
Resequence Messages
Resequencer Integrations
The Resequence Messages technical accelerator includes a set of reseqencer integrations.
These integrations handle the message resequencing and are generic. You can use them to
resequence different types of business integrations. No additional modifications are
necessary.
Resequencer Description
Integrations
Producer Serves as the entry point of the resequencer. The producer integration
receives the resequencing message, creates a new row in the group table if
it's not already there, and sets the status of the group to N. It then creates a
message in the message table.
Sample message payload:
Group Consumer Detects the active groups and invokes the message consumer integration.
The integration is scheduled to run every minute. When scheduling, use this
expression:
FREQ=MINUTELY;INTERVAL=1;
The group consumer integration finds active groups, limiting parallelism to
throttle outgoing calls to prevent overloading the target system. For each
active group, the integration invokes a message consumer.
Message Consumer Processes active messages of the given group. It receives the group ID and
type from the group consumer integration. It loads active messages of the
group ordered by sequenceID. The messages have to be at least as old as
the parking time. This ensures that there's a window for the message to
arrive out of order but be processed in order.
The integration loops through active messages, marks the message status
as P, and invokes the dispatcher. Note that exceptions can occur here. After
the dispatcher returns for a given message it is delete and the group status
may be updated to mark the group status to be C if there are no active
messages, or N if there are new active messages.
Sample message payload:
Manager
The manager integration supervises the resequencer. It supports three operations.
B-7
Appendix B
Resequence Messages
{ "maxConcurrent": 5,
"timeWindow": 11 }
Recover Group Path: /types/{type}/groups/ Deletes stuck messages in the message table
{group}/recover and reactivates the group by setting its status
Method: PUT to 'N'. Example of invocation:
$ curl -X PUT https://
my.integration.cloud/ic/api/
integration/v1/flows/rest/
RSQMANAGER/1.0/types/employee/
groups/eng/recover -v -u
username:password -H "Content-
length: 0"
Dispatcher
The dispatcher is a request/response integration that reconstructs the original
payload and sends it to the real backend integration. Unlike the resequencer
integrations, the dispatcher isn't generic because it needs to invoke specific business
integrations.
The dispatcher receives the message and converts the payload to the original typed
business payload. It uses the group ID to find the business end point and invoke it
synchronously. Exceptions can happen here.
B-8
Appendix B
Resequence Messages
{ "id": "Engineering",
Business Integrations
A business integration is the real integration that processes the business messages. It has
its own typed interface. For each business front-end integration, there should be a
corresponding business integration.
Error Handling
Exceptions can occur when the dispatcher integration invokes the business integration.
Exceptions bubble up to the message consumer integration and cause the message
consumer instance to fail. When this happens, the group status stays at P in the database.
On the Monitoring Integration page, you can see the failed dispatcher instance and the
message consumer instance.
B-9
Appendix B
Resequence Messages
B-10