Wednesday, July 15, 2015

Webcenter Content (UCM) Integration with Oracle BPM


We can integrate Oracle Webcenter Content into Oracle SOA Server for integrating the document services with BPM Human Tasks.

As a first step we need to enable “Use Document Package” in the Human Task Configuration window in the JDeveloper.

1.       Open JDeveloper and open the BPM application.
2.       Go to the “BPM Project Navigator” à<BPM Application>àBusiness Catalog àHuman Tasks, and double click on the Human Task.
3.      In the configuration pane, select the vertical tab “Documents”
4.      Select the check box –“Use Document Package” and it will display the two more options below to it
a.      Security Group – Editable
b.      Document Type – Editable

Once we add this configuration, Human Task is able to communicate with WebCenter Content (UCM). But, we need to configure WebCenter Content in the SOA/BPM server through EM console.

1.       Open em console (http://<soa-host-name>:<port>/em) Eg: http://soa:7001/em
2.       Login with WebLogic credentials.
3.      Click on the Farm_<domain> tree structure in the left pane and it will show the option ”SOA”
4.      Expand SOA folder and click on soa-infra link and we can see the configuration window for SOA server in the right pane.
5.      Top, we can see one drop down “SOA Infrastructure” à “SOA Administration” à “Workflow Properties”
6.      In the page, we can see the link “More Workflow Notification Configuration Properties...” and it will redirect to the page “System MBean Browser”
7.      In the left pane of System MBean Browser, navigate to the human-workflow node – Application Defined MBeans àoracle.as. soainfra.configàServer: soa_server1à WorkflowConfigàhuman-workflow
8.      This will refresh the right pane and see the entry for “UcmIdcUrlhttp://soa:7001/em/adf/images/t.gif
9.      Configure the Webcenter Content URL in the right value section.
URL: idc://<ucm hostname>:<idc port>
Eg:- idc://webcenter:4444
10.   Click on “Apply” button

It is advisable to keep host entries in both the machines for both webcenter and SOA, so that there won’t be any issues in the host communication. Also, edit the Security Host Entry Filter for SOA IP .

SocketHostAddressSecurityFilter=127.0.0.1|0:0:0:0:0:0:0:1|SOA IP

Now we have configured the webcenter content id curl for communication, but we have not provided any user credentials for communicating.

1.       In the same em console left pane,  expand “Weblogic Domain” folder and select the weblogic node and it will open the configuration window in the right pane.
2.       Click on the drop down “Weblogic Domain” à Security à Credentials
3.      Click on “Create Map” and add “WF-ADMIN-USER” for the map name
4.      Click on “Create Key” and select the”WF-ADMIN-USER”, since we are creating the key for this map.
5.      Enter the username and password – It is advisable to keep weblogic user for this configuration.

Restart the SOA and Webcenter Content Server in order to see the changes.

Open the human task form (ADF page) and can see Document Service option  in the Attachments section. Click on the green plus button to add the attachments and select the option “Upload File to Webcenter Content”

1.       Provide the name
2.       Choose the file for uploading by clicking “Choose File” button
3.      Select Document Type
4.      Select “Account”
5.      Select “Security Group”
6.      Click on “OK” to upload the content


We can also see the same uploaded document for other BPM roles for downloading and viewing it.

4 comments:

  1. UcmIdcUrl option not showing. please help

    ReplyDelete
    Replies
    1. Please share more details as UcmIdcUrl is not showing on WorkflowConfig in mBean browser ? Which version you are using ?

      Delete

  2. Thanks for the nice blog here.I was searching this one for a long time.This blog is very helpful for my studies..I got another one site also,which is same as yours Oracle BPM.Check this one also Oracle Fusion HCM Sure it will be helpful for you too..Once more iam thanking you for your creative blog.

    ReplyDelete
  3. Great, thanks for sharing this post.Much thanks again. Awesome.
    salesforce training
    salesforce online training

    ReplyDelete