First we need to create a db2 connection like below

Then we need to add SSL setting under“Driver properties” tab.

Properties KeyValue Pair:

sslTrustStorePassword => Password of your trust store
sslTrustStoreLocation => Location of your trust store in your local harddrive
sslConnection => true

In on-Prem we were using terminal (if OS is linux) to connect WAS to execute commands. But in on cloud we don’t have access to WAS.

But still we can execute commands like below inside the process app as a javascript command.

If we need to create folder in specific location (which we already have rights) we can execute the commands below in Javascript integration.

var runtime = java.lang.Runtime.getRuntime();
var proc = runtime.exec(“mkdir -p -m 777 /tenant/home/Selcuk”);

This command basically creates a a folder in specific path.

In BPM on Cloud you can invite user to sign up BPM environment via dashboard. When you invite user, user will be inactive till he/she signs up.

But If you want to create and activate a user without signing up (for SSO) you can call the rest api below.

POST Request:
https://?????.bpm.ibmcloud.com:443/instance/services/bulk/users?activate_automatically=true&skip_email=true

Body:

But before call this api, you need ask IBM and to set “activate_automatically” option to true. If you don’t do that, you will get an error.

Selcuk

IBM BPM/BAW Developer #Java #IBMCloud #IBMBPM #IBMBAW #BPM

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store