Running ESS Job Set using OIC
Running ESS Job Set using OIC
Page 1 of 19
Table of Contents
1. Objectives..........................................................................................................................................3
2. Use Case............................................................................................................................................4
3. Create an ESS Job Set in Fusion.........................................................................................................5
3.1. Prerequisites to create an ESS Job Set........................................................................................5
3.1.1. Get the Short Names...........................................................................................................5
3.2. Creating an ESS Job Set...............................................................................................................6
4. How to call this ESS Job Set using Oracle Integration Cloud..............................................................9
4.1. Create the SOAP connection.......................................................................................................9
4.2. Get the details needed to do the mapping to submit the ESS Job Set......................................11
4.2.1. Get Name and Package Name...........................................................................................11
4.2.2. Get Application..................................................................................................................11
4.2.3. Get Parameters..................................................................................................................12
4.3. Create the OIC Integration to Call the Job Set..........................................................................12
5. Testing the Integration....................................................................................................................17
5.1. Run the Integration...................................................................................................................17
5.2. Get the Request ID....................................................................................................................17
5.3. Search for the request in the scheduled processes..................................................................18
6. References.......................................................................................................................................19
6.1. For ESS Job Set Creation...........................................................................................................19
6.2. For WSDL creation and ESS Job Set submission from OIC.........................................................19
Page 2 of 19
1. Objectives
This document is expected to give the step-by-step instructions on how to do the below.
2. How to call this ESS Job Set using Oracle Integration Cloud
Note: The normal REST adapter that is used to submit ESS Jobs could not be used for ESS Job Set as
the esswebservice was not available in this.
Page 3 of 19
2. Use Case
For explaining the creation of the ESS Job set I will be creating a Job Set with the below Jobs.
This ESS Job set will then be called from an OIC Integration.
Page 4 of 19
3. Create an ESS Job Set in Fusion
Before creating the ESS Job Set the below steps in collecting the information about the ESS Jobs that
are to be added to the Job Set need to be done.
2. Search for “Manage Enterprise Scheduler Job Definitions and Job Sets for Financial, Supply
Page 5 of 19
3.2. Creating an ESS Job Set
2. Search for “Manage Enterprise Scheduler Job Definitions and Job Sets for Financial, Supply
5. Provide a Name, Display Name and a Custom Package Name (If required)
6. Under Job Set Steps choose serial/parallel depending on how you want your Jobs to run.
8. Provide a Step ID (This will later be the scope name when running from OIC), and search for
Page 6 of 19
9. Add more steps as required
Page 7 of 19
b. Value -> The job application name that was retrieved.
12. Run the ESS Job Set to make sure it is working fine.
Page 8 of 19
4. How to call this ESS Job Set using Oracle Integration
Cloud
a. For the WSDL instead of giving a WSDL URL a WSDL file will need to be created.
WSDL.
namespace="http://xmlns.oracle.com/scheduler"
location="https://<host_name>/ess/esswebservice?
content of the second WSDL starting from <types> to end of the file
iv. Save this file and upload this file to the adapter.
Page 9 of 19
b. Now provide the security that you want to use.
d. Save
Page 10 of 19
Note: The normal REST adapter that is used to submit ESS Jobs could not be used for ESS Job Set as
the esswebservice was not available in this.
4.2. Get the details needed to do the mapping to submit the ESS Job
Set
3. Search for “Manage Enterprise Scheduler Job Definitions and Job Sets for Financial, Supply
Page 11 of 19
2. Run the below query for the request ID of the Job set that was previously submitted.
SELECT requestid,
application,
definition
FROM fusion.ess_request_history
2. Run the below query for the request ID of the Job set that was previously submitted.
SELECT *
FROM fusion.ess_request_property
ORDER BY scope
4. These details will be mapped for the values that are not to be null.
Page 12 of 19
3. Provide the name and click on create.
Page 13 of 19
5. Add the ESS Job Set connection that was created. And do the below configurations.
Page 14 of 19
c. Enable configure Custom SOAP Headers
d. Use the below xsd to create the MessageID and Actions SOAP Headers. You will
need to choose the file multiple times to add both the headers.
Page 15 of 19
e. Continue and Finish.
6. Do the mapping using the data that was collected in the previous step.
a. For the Header give the MessageID as the instance ID and the action as
“submitRequest”.
b. Under Body -> jobDefinitionId give the name, package and application that was
number of parameters to pass. Use the datatype, name, value and scope that was
Page 16 of 19
5. Testing the Integration
Page 17 of 19
5.3. Search for the request in the scheduled processes
Page 18 of 19
6. References
1. https://medium.com/@amodjjoshi/how-to-create-ess-job-set-in-oracle-fusion-
ea5a1779f93e
2. https://docs.oracle.com/en/cloud/saas/financials/24d/fafcf/create-job-sets.html
6.2. For WSDL creation and ESS Job Set submission from OIC
1. https://support.oracle.com/epmos/faces/DocumentDisplay?
_afrLoop=330728318936792&id=2730653.1&_afrWindowMode=0&_adf.ctrl-
state=oefhwdtol_53
2. https://soavijaya.blogspot.com/2020/07/oic-invoke-oracle-fusion-ess-
scheduler.html#google_vignette
3. https://www.w3.org/2005/08/addressing/ -> To get the latest xsd file for the SOAP custom
Headers.
Page 19 of 19