Setting Up Oracle Content Management Integrated Assets Workflows with Process Cloud Service
![Setting Up Oracle Content Management Integrated Assets Workflows with Process Cloud Service](/content/images/size/w2000/2022/09/assetProcess.png)
In September the OCM team released enhanced integrated workflow capabilities built on-top of PCS. In this post I'm going to setup one of the OCM process samples and connect it to a asset type and show you the newly integrated functionality. You now no longer have to go into OIC My Tasks to review your workflow tasks - all of these features are now integrated within the OCM UI.
This is part 3 of a 4 part series on integration with process cloud.
- Setting Up Oracle Integration Cloud with Content Management for Workflows
- Setting Up Oracle Content Management Documents Workflow with Process Cloud Service
- Setting Up Oracle Content Management Integrated Assets Workflow with Process Cloud Service
- Exploring the new Oracle Content Management integrated Process workflow features with Assets
Download OCM PCS Samples
Launch Oracle Content Management and open up "Content" >> "Content Workflows".
Select the "OCM QuickStartApplication" button to download a zip of prebult processes.
![](https://bitmapbytes.com/content/images/2022/09/image-156.png)
Within the Zip you should find 5 process apps packaged in ".exp" fileType.
![](https://bitmapbytes.com/content/images/2022/09/image-157.png)
If you want you can open and extract this with zip - I used 7Zip to explore the contents within the SOA folder.
![](https://bitmapbytes.com/content/images/2022/09/image-158.png)
Setup Process App in OIC
Now you have some processes to tryout launch OIC and head to "Processes" >> "Process Applications".
Create a Process Template
Select the "Create" button and we will import the Process Template.
![](https://bitmapbytes.com/content/images/2022/09/image-160.png)
Select the "Import an Application" block.
![](https://bitmapbytes.com/content/images/2022/09/image-161.png)
Browse to your 5 flows that you downloaded and select one
- for this example I chose the simple "OCEOneStepApplication.exp"
Enter the "Name" of the flow and select "Import".
![](https://bitmapbytes.com/content/images/2022/09/image-162.png)
Lets go ahead and promote this as a re-usable base template to create our Asset Processes from.
Select the "Promote" button.
![](https://bitmapbytes.com/content/images/2022/09/image-164.png)
Enter a snapshot name and Select the "Promote" button.
![](https://bitmapbytes.com/content/images/2022/09/image-165.png)
Once created select the "Close" button.
![](https://bitmapbytes.com/content/images/2022/09/image-166.png)
Lets exit out of this now we have a template available - Select the "Close" button.
![](https://bitmapbytes.com/content/images/2022/09/image-167.png)
You should now see your process template - lets create the process from it.
Create a new Process from Template
Select the "Create" button.
![](https://bitmapbytes.com/content/images/2022/09/image-169.png)
Select the "Start with a QuickStart" block.
![](https://bitmapbytes.com/content/images/2022/09/image-171.png)
From the Quickstart gallery find and select the template you created.
![](https://bitmapbytes.com/content/images/2022/09/image-173.png)
Update the name of the application you are creating and select the "Create" button.
![](https://bitmapbytes.com/content/images/2022/09/image-174.png)
Lets configure some of the settings by select the "Configure" block.
![](https://bitmapbytes.com/content/images/2022/09/image-175.png)
Make sure anywhere in your configuration that "OCEURL" is replaced with your instance domain. ie.. Select the title "Update your OCE Connection URL here. This is Mandatory".
![](https://bitmapbytes.com/content/images/2022/09/image-177.png)
Something like this - and select the "Cross" icon which will save the configuration.
![](https://bitmapbytes.com/content/images/2022/09/image-179.png)
Now that we have configured the process app lets take a deeper look into the prebuilt process to do this select the "Switch to Application View" link.
![](https://bitmapbytes.com/content/images/2022/09/image-180.png)
Select the application.
![](https://bitmapbytes.com/content/images/2022/09/image-181.png)
Now you can see the whole process flow and modify if needed - you'll need to make sure you validate, publish and Activate if you do update it.
![](https://bitmapbytes.com/content/images/2022/09/image-182.png)
Publish & Activate Process
Select the "Publish" button.
![](https://bitmapbytes.com/content/images/2022/09/image-184.png)
You will need to add a comment and then select the "Publish" button.
![](https://bitmapbytes.com/content/images/2022/09/image-185.png)
Now lets activate the published flow and assign a version.
Select the "Activate" button.
![](https://bitmapbytes.com/content/images/2022/09/image-186.png)
Select the "Activate new version" button.
![](https://bitmapbytes.com/content/images/2022/09/image-187.png)
From the modal select the "Customize" button.
![](https://bitmapbytes.com/content/images/2022/09/image-188.png)
Select a Key if you have one defined in the "Keystore Credential" or create a new one and add your service admin account.
Select the "Validate" button.
![](https://bitmapbytes.com/content/images/2022/09/image-189.png)
You can ignore warnings select the "Options" button.
![](https://bitmapbytes.com/content/images/2022/09/image-190.png)
Enter your version number ie "1.0" and select the "Activate" button.
![](https://bitmapbytes.com/content/images/2022/09/image-191.png)
It will take a minute or so to activate.
![](https://bitmapbytes.com/content/images/2022/09/image-192.png)
When the application has successfully been activated - Select the "Finish" button.
![](https://bitmapbytes.com/content/images/2022/09/image-193.png)
You will see your latest version listed here.
We can now go and configure OCM assets to use this process.
![](https://bitmapbytes.com/content/images/2022/09/image-194.png)
Configure an OCM Asset to use new process workflow.
Launch Oracle Content Management head over to "Content" >> "Content Workflows" and select the "Register" button.
![](https://bitmapbytes.com/content/images/2022/09/image-195.png)
In the modal select the process you created to import it and make it available.
![](https://bitmapbytes.com/content/images/2022/09/image-196.png)
Next go into your repositories and create a new repository or select an existing one you would like to assign workflows against an asset.
"Content" >> "Repositories" select repository.
![](https://bitmapbytes.com/content/images/2022/09/image-197.png)
Select the "Workflows" tab in your repository
![](https://bitmapbytes.com/content/images/2022/09/image-199.png)
Search and add the workflow you registered.
![](https://bitmapbytes.com/content/images/2022/09/image-200.png)
Within the workflow assignments under assets you have the following options.
You can:
- Define a workflow against any asset or target a specific asset type.
- Automatically trigger a workflow when a new asset or revision is created.
- Allow editors to manually trigger the workflow from the OCM Assets.
- With the "Required" flag the editor can only choose the selected workflow - if not required they can select from the list of available workflows that have been added to the repository.
![](https://bitmapbytes.com/content/images/2022/09/image-201.png)
Save the repository and go into assets and open the repository when you have defined your workflows against asset types.
You can now test out your workflow.
![](https://bitmapbytes.com/content/images/2022/09/image-202.png)
In the next post I'll be taking a closer look at the new integrated features that allow you to manage your workflow assets directly within Oracle Content Management.