RSS

Using attachment documents with Oracle BPM Human Tasks

22 Jan

This blog will be the 1st in a serie of (likely 3) blogposts. All regarding the different approaches we tested with during our project in which we had Oracle BPM processes which were very content (a lot of documents) rich.

  1. Using attachment documents with Oracle BPM Human Tasks
  2. Using a Content Server documents with Oracle BPM Human Tasks
  3. Integration of Oracle BPM and Oracle WCC/UCM (soon)

First basic proof we needed is to make sure we can start a Oracle BPM process containing a document which then can be shown on the Human Task as attachment.

Lucky for us Manh-Kiet Yap wrote an excellent blogpost regarding this feature

We start the Oracle BPM instance with a SOAP XML message containing a document in Base64 format:


<soapenv:Body>
<zaak:startCase>
<bo:BO_CaseTrigger>
<bo:caseTrigger>
<v1:CaseType>someInfo</v1:zaakType>
<v1:documentNaam>request.pdf</v1:documentNaam>
<v1:document>JVBERi0xL.......olJUVPRg==</v1:document>
</bo:caseTrigger>
</bo:BO_CaseTrigger>
</zaak:startCase>
 </soapenv:Body>

On the call to the Human Task we use the following mapping:

HumanTask_Mapping_ContentBase64_blog

For the attachmentscope we select BPM, the other option is TASK and I actually think this would be sufficient since the attachment info is already in the process. But just to make sure, we select BPM as mentioned by Kiet in his blogpost.

Note:

  • Attachment file names that use a multibyte character set (MBCS) are not supported
  • Attachments of up to 1998K can be uploaded. You can modify this setting by setting the context parameter in web.xml as follows:
    <context-param>
      <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name>
      <param-value>1998</param-value>
    </context-param>
    

Reference and all credits:

About these ads
 
5 Comments

Posted by on 22-01-2013 in BPM, Oracle

 

Tags: ,

5 responses to “Using attachment documents with Oracle BPM Human Tasks

  1. Nirmani

    05-02-2013 at 11:13

    Hi,
    Thanks for the great post….It helped me a lot.
    I have an question regarding ‘content’ variable.
    If we pass data from the imaging (IPM) via work-flow integration, how do we pass this binary data (document content) to bpm process??
    Is it possible to pass document content as binary from IPM??

    Thanks….

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 355 other followers

%d bloggers like this: