Skip to Content
author's profile photo Former Member
Former Member

Calling Recursive function in a transaction

Hello All

I have a requirement calling Recursive function in Transaction.Means inside a transaction, i want to call the same transaction.Is it possible to do like this?

Because when i am calling like this,transaction is running contineously without stop.

Any help would be highly appreciated.

Thanks,

Manisha

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 19, 2008 at 07:23 AM

    Manisha..

    What is the condition to end the loop?

    You can use a while action block at the start of the transaction and use a break condition there ..

    Is this what u were looking for .. or something else ..

    Thanks,

    Ajay.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 08:56 AM

    Manisha,

    take a look on this thread:

    Does xMII support recursive Business Logic Modules

    Hope Ricks solution can help you.

    Regards

    Pedro

    Edited by: Pedro Iglesias on Dec 19, 2008 9:56 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 19, 2008 at 12:26 PM

    I would also suspect there is a better way to accomplish this without using recursion...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.