Oracle Content Management (OCM)and Oracle Integration(OIC) use cases — #1 Send Email Notification when a document is uploaded to a folder in OCM
Oracle Content Management and Oracle Integration are two of the Oracle managed services offered by Oracle Cloud Infrastructure OCI.
Configuring the Oracle Content Management instance to integrate with Oracle Integration instances will enable content workflows to help us achieve several solutions.
I will be listing few of the use cases that can be configured using this.
#1 Send Email Notification when a document is uploaded to a folder
Pre-requisites
- Oracle Integration Instance with Enterprise Edition (OCI)
- Oracle Content Management Instance (OCM)
- Administrator Privileges on both OCI and OCM instances
Configuration requires the user to have Administrator privileges on both Oracle Integration instance and Oracle Content Management instance.
Step 1: Configure OCM to integrate with OCI.
Please follow the steps detailed in this Oracle Content Management official documentation for a step by step process — https://docs.oracle.com/en/cloud/paas/content-cloud/solutions/configure-oracle-integration-settings-oracle-content-management.html
Step 2: Configure OCI to integrate with OCM
Please follow the steps detailed in this Oracle Content Management official documentation https://docs.oracle.com/en/cloud/paas/integration-cloud/user-processes/how-do-i-integrate-oracle-content-management.html#GUID-50C6CDA7-A3BD-4745-AA35-231A90D0DE5F
Step 3: Configure Email notifications in OIC
Navigate to Oracle Integration -> My Tasks -> Administration -> Infrastructure -> Oracle Notification Service
Select Email from the drop-down and click Save
This completes the configuration steps
Step 4: Create the Process Application Process with Document Start Event
In the OIC Instance, navigate to Processes and create a new Process.
Provide a name and description (optional) and click Create.
Select Create a Structured Process -> Start from scratch option
Provide a name and description(optional) to the Process and select None for Pattern.
Once the Process is opened, click on the right side 3 dots to open the General Properties, select the check box against Content and Experience Cloud Integration to enable OCM integration with OCI. Once selected Documents will show up in the left hand side menu.
Document Start event will now show-up under Events.
Drag the event on to the Process and configure.
Note: Do not delete the default Start event before dragging and configuring the Document Start event
Now delete the default Start event.
Add Notify task from the System menu on to the Process and configure.
Click on the Document Start Event — Open Data Association to configure the Output data.
Create a Data Object to store the Document Name value, create the data association from output of start event to the newly created data object variable
Use the Expression Editor of Notification Body to send Document Name value in the Body of notification.
Click on Document Start Event and configure the Incoming Document to listen to events.
Save, Publish and Activate the Process Application.
Once Activated, the Process Application should show up on the OCM Document folder after enabling the Initiate Process on document arrival option.
Step 5: Uploading a document to the folder in OCM, will trigger the Process and Notification will be sent to the configured Email Id.
Email received with the given subject and Document Name in the Body.
If you’ve found this useful, please share, If you have any questions you can reach out to me on LinkedIn