cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:Wait

Former Member
0 Kudos

Hi...

Can you please help for the below requirement...

I am having 2 input files. Inventory and sales.

Each file has to wait for other file for 90mins.

1.if Inventory is cuming first, then it has to wait for sales for 90 mins. then if both inventory ans sales is received we need to

append sales to inventory and send to target directory.

2. If in the first case, sales is not cuming, then it needs to send only inventory file.

3. If in the first case, inventory is not cuming, mail has to be triggerred and no need to send sales file

4.if sales is cuming first, it has to wait for inventory for 90mins and then append sales to inventory and send it to target directory.

Can you please help how to do the above requirement...

Thanks & Regards,

Leela

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Leela,

Do like this:

1. Inside a block (With deadline branch 90 sec) use a fork with two branches.

2. 1 branch will receive inventory and set a container variable as 'I'

2. 2nd branch will receive sales and set a a container variable as 'S'

3. since the block is with deadline branch, after 90 sec the flow will go tot deadline branch...

4. There check for these container variables and if 'I' alone is there then send I, if 'S' alone is there send mail. If both are there then append and send to receiver...

Regards

Suraj

Former Member
0 Kudos

Hi Suraj...

Thanks for your reply...

Please find the below steps which i have configured in BPM...

1. Block step.In that i ahve used deadline branch.

2. Inside the block i have used Fork. In that i used 2 receive stepd for inventory and sales.

after each receive step i have added one container operation step.in that Container step, i have assigned "I" for Inventory and "S" for Sales.

3.then used switrch step.

inside the switch step i ahve used 3 send steps for sending to the target data...

My problem is how to check the container variables? can you please help...

Regards,

Leela

Answers (0)