Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Adapter Designer - How to Loop?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Adapter Designer - How to Loop?
 Login/Join
 
Member
posted
When setting up a process flow in Adapter Designer, is there a way to call a process x amount of times? For example, I'm working on an ordering process where I'll have to call a header process once, then subsequently call a line item process once for each line item in the order.
 
Posts: 2 | Registered: April 19, 2007Report This Post
<GDenayer>
posted
There are a couple of techniques on how to do this. but it depends on the adapter you are using and the release level of iSM you are using.
The latest release -iSM 55 SP 1- has an itteration objects, which allows you to build loops in designer. I guess this would be the easiest way if you have this release.
If not, you should use a technique with EDA_ISLAND. This allows you to build within the transformer a document that will call an adapter as many times that the EDA_ISLAND is found.
You should find a sample document in your documentation of the adapter.
it should look something like this :

 <X>
<eda_island agent="RDBMS_NORTHWIND">
<RDBMS>
 <test1 location="RDBMS/Statements/SELECT_THIS_CUSTOMER"/>
</RDBMS>
</eda_island>
 
<eda_island agent="RDBMS_NORTHWIND">
<RDBMS>
 <test1 location="RDBMS/Statements/SELECT_THIS_CUSTOMER"/>
</RDBMS>
</eda_island>
</record>
</X>
 


Other solution is only applicable when using RDBMS adapter : within the iAE you can build a BATCH of SQL statements. this will generate the correct xsd schema. then within designer you could have 2 treads, in for insertin your header, other to insert the details. when using RDBMS, you need to siwth the listener flag 'transaction manager' this will cause an all or nothing transaction withing this process
hope this helps

This message has been edited. Last edited by: <GDenayer>,
 
Report This Post
Member
posted Hide Post
We've used the batch process extensively when doing transaction updates through the RDBMS adapter. We’ve found it heavy on memory use and that if the input document contains more than a 100 records it’s easier to use a bulk load tool like DataMigrator. You can use Service manage and DataMigrator in the same process.
If you are processing small documents only then the iterate function works best because each submission can be handle as a new process, giving the process more flexibility. If you’ve not upgraded yet the batch process works but you’ll need to split the document through a transformation.
 
Posts: 16 | Location: Cape Town, South Africa | Registered: July 03, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Adapter Designer - How to Loop?

Copyright © 1996-2020 Information Builders