Wednesday, December 21, 2011

Note on changing BPM process outcome

Have you ever wondered how to effect changes performed to the human task definitions on the corresponding ADF task iterator bindings? - particularly at a later stage after generating the ADF forms.

I encountered similar requirement where the outcome of my human task activity was to be changed. One of the ways that I discovered is to right click on the corresponding 'Data Control' and choose 'Edit Definition'. This will prompt a message stating that the bindings would be refreshed as per the latest changes on the human task definition. On confirmation, you are now free to choose the 'modified' bindings in your ADF page.

Friday, December 9, 2011

Oracle BAM ICommand by-pass credential prompts

I came across a requirement where the BAM data object must be updated with new rows recursively. For this, I created the DO XML files containing the valid layout format and data. However, while calling the icommand import script recursively from a shell script, I faced credential issues as the username/password cannot be provided dynamically everytime.

In order to overcome this issue, Oracle BAM provides a feature to configure the default credentials in the config file;

<Oracle_Middleware_Home>/Oracle_SOA1/bam/config/BAMICommandConfig.xml

Open this file and add the following entries;

<ICommand_Default_User_Name>weblogic</ICommand_Default_User_Name>
<ICommand_Default_Password>your password</ICommand_Default_Password>

This would ensure that every time the icommand script is invoked, the default credentials are picked up. Happy scripting :)