cancel
Showing results for 
Search instead for 
Did you mean: 

BPM ifexist

Former Member
0 Kudos

Hello BPM experts,

I want build a BPM scenario. First of all it should read a file from a directory 'A', afterwards it should go to directory 'B' and should check if there exists a *.xml file. If in directory 'B' there is *no .xml file then it should insert it. And if there already exists a *.xml file then it should wait untill the file is deleted. In directory 'B' must contain only ONE *.xml file.

Which steps do you need to do that scenario in BPM?

correct solution will be rewarded with full points,

Thanks & Regards,

FK

Accepted Solutions (1)

Accepted Solutions (1)

former_member556603
Active Contributor
0 Kudos

Hi,

A background program should be scheduled to run every 10 minutes to analyse any material records that have been created or changed or deleted that have occurred to the material master records in the last minute.

Description: This BPM collects all Idocs for xxx minutes which are of Message Type (xxxxxxx) according to Receiver Partner Number (Field – xxxxx) and calls N: 1 mapping to bundle the collected Idocs in a One External Definition for that IDOC.

Use

You use a wait step ( ) to incorporate a delay in a process. Usually, you use a delay to define when the next step in the process is to start. You can define a delay as either a point in time or a period of time.

At runtime, the step waits until the specified point in time is reached or the specified period of time has passed. The system then continues the process by proceeding with the next step.

Start-----> Loop--->--


> wait -


loop

Receive message -


Container operation -


Close Loop -


> Transformation> Send> Stop.

Hope this info is useful to you..

Thanks,

Satya

Former Member
0 Kudos

Hi ,


                                                          ... if count !=1 then...read file from directory A...send file (from directory A) to directory B
 read file from directory B .... count... switch                                                                                
... if count  =1 then... send error! 

is this possible to realize?

Former Member
0 Kudos

Hi Fatih,

1) 1st observe for large size of .xml file how much time it required to delete the file.

2) Put WAIT step to stop process for that much time or take some more time.

3) Then put your file directly on ftp or on server.

Regards,

Rohit.

Reward points if helpful.

Answers (1)

Answers (1)

former_member181985
Active Contributor
0 Kudos

Hi,

>>And if there already exists a *.xml file then it should wait untill the file is deleted.

Any application other than XI process and delets message?

Need more information on your requirement like on target system what applications are acting and how you want to make conditions

Thanks

Gujjeti

Edited by: Praveen Gujjeti on May 9, 2008 11:50 AM

Edited by: Praveen Gujjeti on May 9, 2008 11:52 AM