Composite instance title:- ora:setCompositeInstanceTitle() method can be used to set the composite instance title.
The composite instance title can be used to search the composite instances from em console but the wildcard search is not applicable on this field.
Problem – There is no method provided to get the composite instance tile.We are only having the option to set the composite instance title using setCompositeInstanceTitle() method but no option to get the title.
Solution:- We can query the COMPOSITE_INSTANCE table under the SOA under SOA_INFRA schema.
We can use set string instanceId using method "ora:getCompositeInstanceId()" under any assign activity as below to query with COMPOSITE_INSTANCE table.
Once we have instanceId available then we can add Database adapter named "DBGetCompositeDeatils".
Define the name database JNDI name define under weblogic deployment :
Select the option "Perform an operation on a table" and "select" query:
Import the COMPOSITE_INSTANCE table from SOA_INFRA schema.
Select "Title" from this table as this filed have title ,saved by ora:setCompositeInstanceTitle() method.
Add the InstanceID as an parameter ,make sure that you set InstanceID before calling the database adapter. The below mention query will get the title from COMPOSITE_INSTANCE table by passing the InstanceID and now set title is available for use.