Thursday Jan 29, 2015

Desktop application for purging SOA instances

You can purge instances with using my desktop application. It is easiest way to delete them from your SOA database. My application connects your database and run "soa.delete_instances" procedure. All of instance states will be ignored. "Check states table" . Before you start purging, your database administrator have to run these command below in your database.

GRANT EXECUTE ON DBMS_LOCK to SOA_USER;
GRANT CREATE ANY JOB TO SOA_USER;

My main referance document is "http://docs.oracle.com/cd/E28280_01/admin.1111/e10226/soaadmin_partition.htm".

And Please back up your database before you start purging!

So, how to use this program?

Database
Driver: Oracle JDBC driver
Connection String(url): Write your connection url like this example "jdbc:oracle:thin:@localhost:1521/orcl"
SOA Username: Something like SOA_INFRA, PROD_SOAINFRA etc.
Password:
Test Connection: It tests your connection, succeed or failed.

Composite
Composite Name: Which composite you want to purge? It is case sensitive
Composite Version: 1.0,1.1 etc.
Date From: Beginning creation date for the composite instances. Purge instances created the date after.
Date To: Ending creation date for the composite instances. Purge instances created the date before. (Not equals this date)

Criterias
Batch Size: Batch size used to loop the purge Maximum Run time: Expiration time at which the purge script exits the loop. Delete with period: Split connections for each period. If you don t check this box, your application runs only "1" time. If you check this box, your application splits your begin and end date with selected day. For example, Date from is "2015-01-10" and date To is "2015-01-20", and you check this box and select 2 days period. Your application will be running 5 times, first delete instances between "2015-01-10" and "2015-01-12", then run again for delete instances between "2015-01-12" and "2015-01-14", then it will be continue like this.

Run
Click "Run" button and wait.

If you want to use this tool, please contact with me via my e-mail (arda.eralp@oracle.com).

And it is not official Oracle Product.

[Read More]

Wednesday Jan 28, 2015

SOA Instance States Table

Oracle SOA Suite 11.1.1.7.x composite instance state ids and descriptions table.[Read More]

Monday Jan 26, 2015

BPM Actionable Email Configuration

Step 1: Create e-mail account with mailbox.It means that account can get e-mail.

Step 2: Update user messaging driver

Step 3: Update Workflow properties

Step 4: Check driver config file (driverconfig.xml) from server. Config file path is "/data/oracle/domains/SOABPM-TEST-DMN/config/fmwconfig/servers/SAOBPM/applications/usermessagingdriver-email/configuration/".

Step 5: Restart SOA servers

Step 6: Create Test Composite

Step 7: Make humantask notification actionable

Step 8: Deploy & Test it.

You can download test application Click!

[Read More]

Tuesday Dec 16, 2014

Close and ReOpen Process as a New Instance

Step 1: Create Main Process

Step 2: Call Sub Process with Send Task

Step 3: Return from Sub Process with Receive Task

Step 4: Call Sub Process for Creating new instance

Step 5: Create Sub Process

Step 6: Sub Process Start activity

Step 7: Sub Process Cancel activity

Step 8: Sub Process End activity for cancel

composite.xml file

[Read More]

Wednesday Nov 19, 2014

Call SubProcess N Times and wait All Of Them are Completed!

Step 1: Create Main Process

Step 2: Create Sub Process

Step 3: Create DB Adapter for getting instance count

You can read my blog post about how to create and use DBAdapter. Click for read.

Step 4: Check your "composite.xml" file.

Step 5: Calling your Sub Process with "Service Task"

Step 6: Call DB Adapter with "Service Task"

Step 7: Check Process Instance Count with "Exclusive Gateway"

If count equals 1, all off subprocesses are completed with/without error. Otherwise there must be a subprocess that is running, because all of subprocesses are generated with same ECID that is as same as main process ECID

[Read More]

Tuesday Nov 18, 2014

Execute Pure SQL With DBAdapter

Step 1: Create DB Adapter

Step 2: Call DB Adapter with Service Task

[Read More]

BPM Set Instance Title

Step 1: Create BPM Application

Step 2: Add "Script" activity called "SetInstanceTitle"

Step 3: Using "ora:setCompositeInstanceTitle()" XPATH function.

Step 4: Check it on EM console

[Read More]

Friday Apr 25, 2014

Deployment failed because of "unrecoverable incompatibilities"

Edit composite.xml and add a new property.

<property name="oracle.bpm.bpmn.force.deploy">true</property> 


[Read More]

Thursday Apr 17, 2014

Change Email Validation For Uniqueness in OIM

Change email validation for uniqueness in OIM. Please follow the steps below.

Step 1:  Login system admin screen and click on "System Configuration"

Step 2: Search and find "Email Uniqueness property" If you do not click on "Create"

Step 3: Research and be sure :)

[Read More]

How To Reuse UserLogin in OIM

After delete a user, you can reuse userlogin in OIM. Please follow the steps below.

Step 1:  Login system admin screen and click on "System Configuration"

Step 2: Search and find "User Id Reuse property" and set value to "TRUE"

Step 3: Connect OIM database and find "UDX_USER_LOGIN" index and copy its sql script.

Step 4: Drop index.

Step 5: Recreate index as nonunique index. 

[Read More]

Tuesday Apr 08, 2014

Custom Flow History Table

Step 1: Create BPM Application

Step 2: Create Business Module

Step 3: Create Business Objects

Step 4: Update Business Objects

Step 5: Create Custom Test Flow

Step 6: Modify Script Tasks in Test Flow

Step 7: Create Custom user interface for task

Step 8: Add table into user interface.

End: Deploy & Run

[Read More]

Thursday Apr 03, 2014

Certification tab in OIM 11g R2 PS2

Step 1: Open Sysadmin Console (http://[hostname]:[port]/sysadmin)

Step 2: System Configuration

Step 3: Search [*Display*]

Step 4: Change Value

Step 5: Save and Restart Server

[Read More]

Sunday Mar 02, 2014

Parallel Approval with using "List of Approvers"

Step 1: Create "Parallel Approval" human task

Step 2: Create Approver List

Step 3: Create approver string (Str_ApproverList) using with approver list.

Use this formula:
ora:createDelimitedString(',',bpmn:getDataObject('ApproverList')/ns:Details/ns:T_APPROVER_LIST[*]/ns:NAME)

[Read More]

Wednesday Feb 26, 2014

How to Find Last Approver of HumanTask

In this workflow you can find last approver of UserTask with using the steps below.

These steps are:

1 - Create and associate "TaskId" attribute.

2 - Use this formula: "hwf:getPreviousTaskApprover(bpmn:getDataObject('TaskId'))"

[Read More]

Monday Jan 27, 2014

Oracle Book: The World of Big Data

This book explores the ways in which big data is changing the world around us and looks at how businesses and consumers are being influenced by the high-speed analysis of the data we create through our everyday lives and transactions. The book delves beneath the hype of big data and looks at tangible examples of how it can work: from anticipating when we might buy an engagement ring to reducing crime, via proving who are the safest drivers on the road, winning the world’s oldest sporting trophy and showing how selling turkeys can be a delicate balancing act for 24 hour supermarkets.

06 Jan 2014

Description

Softcopy of a little book about big data, containing use cases, scenarios and discussion about this issues of big data in the real world.

Usage

You may download and use the images on this site, but please ensure that you attribute them to Oracle when you use them.

[Read More]
About


I am a member of the Fusion Middleware Applications Consultancy team.

I focus on tips and tricks FMW applications consultancy but also have a strong interest in ADF Development & Achitecture, Oracle BPM, Oracle Identity Manager and Oracle SOA Suite.

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.


Search

Archives
« February 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
       
       
Today