BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only

Insert/Update BLOB column in IBM BPM/BAW

By Selcuk Colak posted Tue April 02, 2024 06:23 AM

  

In BPM we cannot insert/update blob column directly. We have 2 services in System Data toolkit.

One is “SQL Blob to File” and the other is “SQL File to Blob”.

First we need to select the record without BLOB column and insert it to the target table.

After that we select the BLOB column only with BPM integration below.

Sql statement: select NVL(DATA,EMPTY_BLOB()) DATA from LSW_BPD_INSTANCE_DATA WHERE BPD_INSTANCE_ID = ?

This service is selecting the BLOB column and writing BLOB data as a file in WAS.

After that we update my target column with this BLOB data.

Sql statement: UPDATE ARCHIVE.ARCH_LSW_BPD_INSTANCE_DATA SET DATA = ? WHERE BPD_INSTANCE_ID = ?

1 comment
20 views

Permalink

Comments

Mon February 10, 2025 08:41 AM

Has anyone tried this on CP4BA? What do we pass in filepath parameter?