This blog is the 2nd in a serie of 3 blogposts. All regarding the different approaches we tested during our project where we had very content rich (a lot of documents) Oracle BPM processes.
- Using attachment documents with Oracle BPM Human Tasks
- Using a Content Server documents with Oracle BPM Human Tasks
- Integration of Oracle BPM and Oracle WCC/UCM (soon)
After succesfully adding documents in the full payload of our Human Task payload (this blogpost) we decided to help our ADF developers and spare them the huge base64 content. :)
So the next step was trying to store the document in Oracle UCM/WCC.
So how did we end up doing that ? Good question, glad you asked.
First we added a Service Call activity in our Oracle BPM project and used the imported default Oracle UCM CheckIn.wsdl.
We use the following Data Association in our Service Call mapping:
We can then change the data association in our Human Task. Instead of the attachment.content in the former blogpost we now use the attachment.uri field to concat the string:
“http://SERVERNAME:PORT/cs/idcplg?IdcService=GETFILE&dID=” and the CheckInUniversal callout result which contains a documentID (for an example see this blogpost)
The result is the attachment in your ADF page containing an URL reference to your content server.