This discussion is archived
4 Replies Latest reply: Mar 27, 2013 11:10 PM by Nir RSS

BPM attachments fail to store in UCM:

RajendarRaj Newbie
Currently Being Moderated
I am trying to integrate BPM with UCM.

I installed JDEV 11.1.1.6,UCM,RCU,weblogic & soa.

I created a simple application in BPM with one use case.

and i configured UCM,soa & weblogic.

Below are the steps what i did :

-- Go to EM. Click on SOA node. Click on soa-infra node. On the right panel,
click on the "Soa Infrastructure" dropdown menu. In the dropdown, select "SOA Adminstration". In the
sub-menu, "Workflow Task Service Properties".

-- On this page, click the link at the bottom "More Workflow Taskservice
Configuration Properties...".

-- On this page, select node:

- Application Defined MBeans - oracle.as.soainfra.config
- Server: AdminServer
-
HWFMailerConfig
human-workflow
- WorkflowConfig
human-workflow<== Select this
node
- WorkflowIdentityConfig
-- On the right panel, select "UcmIdcUrl". Set value pointing to UCM server.
(Note: Only idc protocol is supported for now).
For now, you can use the server at
idc://adc6170580.us.oracle.com:4444

Click apply.

-- Now click on following node on the left panel in EM:

FarmFarm_soainfra

-- On this page, click on "Weblogic domain" dropdown. Select "Security" and
then select "Credentials" from the sub-menu.

-- On this page, click on "Create map". Enter "WF-ADMIN-USER" for the map
name.

-- Now click on "Create Key". Make sure, WF-ADMIN-USER is selected for map
in the popup dialog. Enter WF-ADMIN-CREDENTIAL for key name. Enter
username/password of user with admin privilege on UCM server.
The values are weblogic/weblogic1 for the server mentioned above.

Now you are ready to UCM attachments in your task.

Also, if you are using your own UCM server, you need to change config file.

-- Add your SOA server machine ip address, so it can connect to UCM server.
Edit config.cfg and change following entry:
original entry: SocketHostAddressSecurityFilter=127.0.0.1|0:0:0:0:0:0:0:1
SocketHostAddressSecurityFilter=127.0.0.1|0:0:0:0:0:0:0:1|your_soa_server_ip_address

- WebLogic Domain

soainfra<== Click on this node

e.g.
SocketHostAddressSecurityFilter=127.0.0.1|0:0:0:0:0:0:0:1|10.232.129.113

Also add new entry:
IntradocServerPort=4444 ==> or whatever port you want to use.
Based on the above entry, you will add UcmIdcUrl in em. E.g.
idc://your_ucm_machine_name:4444

Also,
Check your $DOMAIN_HOME/config/fmwconfig/system-jazn-data.xml. Search for WF-ADMIN-USER.
Check the jar name at the begining of grant elem. It has a typo in the path. It should oralce.soa.workflow
instead of oralce.bpm.workflow. Make this change and restart the server. This bug was fixed just before
GA release.

The above are the steps i followed.

I deployed the BPM application and i am getting attachment options like :

Upload to UCM

Attcahment from UCM

I am selecting Upload to UCM

but i am getting below errors:

Content item '(null)' was not successfully checked in. Content account is not defined. Unable to validate user security.

Error occurred while inserting a task attachment record.

Error occurred while inserting attachment change in soa file.txt for task 77a010b3-64ec-49f8-b2e2-211c11f3232f.

Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services.

Can you please look into this issue and provide me needful steps to make me succeed in this integration.

Thanks & Regards :

Rajendar
  • 1. Re: BPM attachments fail to store in UCM:
    Nomadus Newbie
    Currently Being Moderated
    Hello,
    I saw you opened new thread. Could you open your human task and in the documents section tell me what you have?
  • 2. Re: BPM attachments fail to store in UCM:
    felipe ieder - oracle Newbie
    Currently Being Moderated
    The current integration between BPM and WCC (WebCenter Content, or UCM) is very easy to configure. Should you have already a VM with BPM, just:

    - install WCC and extend the domain with Content Server. If possible, run new managed server in same machine and leave all ports as default (16200 and 4444) so that you don't even need to setup BPM for UCM as it's already configured OOTB with default IDC port (4444).
    - Enable Folders_g in the new UCM managed server (requires restart of UCM's server).
    - Enable a Human Task with "Use Document Package". If it's a project converted from a pre-PS4FP installation, rebuild the Human Task Form.
    - Redeploy and that should do the trick.

    Thanks Carlos Casares and Sanjay Pradhan for sharing this.
  • 3. Re: BPM attachments fail to store in UCM:
    BillWallen Explorer
    Currently Being Moderated
    There are issues with the BPM/UCM integration in 11.1.1.6. In short, the integration requires UCM accounts to be used when checking in content from BPM. To fix your problem, Rajendra, create a UCM account and grant your users read/write access to it. Then, in the human task, you can either hardcode the account or render a dropdown for a user to select an account. This should fix your problem.
  • 4. Re: BPM attachments fail to store in UCM:
    Nir Newbie
    Currently Being Moderated
    Hi felipe,

    If I want to display that image in the bpm/wokspace interface, will this support for that ??

    What I mean is once the document check in to the WCC trigger the BPM instance in bpm/workspce and show that image in that instance ....


    Thank You,
    Nir

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points