Parent Child transaction


#1

Hi All,

I have a Parent table. For e.p., it has two items and a child table in which 10 items where first 5 are for the first of parent item and other 5 items are for the second parent item.
So if I am giving transaction of the parent items.
Then do I have to create a for loop of Child Table in Process.xaml based on Parent? Or any way to do it via transaction ?

Thanks in advance
Hemal


#2

Help me please !!


#3

Hi,
You can use extra State machine in process transaction state where you can loop against each child record/task. In that you can keep 1. select child, 2. process child and 3. end child states to track.


#4

Can you please explain in detail with an example ? @pravink9 or anyone else please

Thanks in advance


#5

Actually i want to know that how would I proceed with that second Transaction Number


#6

You can use your first parent loop as Get transaction data–>Process Transaction–>Get Transaction data.

And in Process Transaction you need separate short RE framework, there you can loop your child in different state(Than I have already mentioned above like you can keep 1. select child, 2. process child and 3. end child states to track.)

Total there are two RE framework, one is main and another one is in Process Transaction state only.

Hope it will help…