cancel
Showing results for 
Search instead for 
Did you mean: 

Introducing a wait after Send step - file write in cc BPM

Former Member
0 Kudos

Hi

We have a cc BPM - in which we have a send step - that writes a to a file system - we have a transport acknowledgement requested in this step - which we receive in runtime - once the message is passed into the Adapter engine ( not after the file is written )

The requirement is that the next step after this send step should not be started until the file is written to the folder. We have an option of introducing a wait - but do not want to delay the BPM by a full minute ( the least wait time is a minute ) .

How do we make sure that the step after send step - file write executes only after the file is written to the folder in the send step ?

Any ideas, solutions, work arounds ?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos
we have a transport acknowledgement requested in this step - which we receive in runtime - once the message is passed 
into the Adapter engine ( not after the file is written )

Transport Ack sends back the ACK when the message is successfully delivered from the Adapter Engine (channel) to the end system.....and not when the message is transferred to Adapter Engine....if there is any error in sending message to AE then the BPM does not need Transport Ack logic to ctach it....only Exception Branch is enough then

is there any other way of introducing a wait - less than a minute

The Wait step of BPM cannot go below the minimum limit of 1 minute......if you want to introduce a delay of some seconds then in a mapping use the Thread.sleep logic and check.....this will slow down (stop) the processing....for more info refer:

Regards,

Abhishek.

Former Member
0 Kudos

Hi Karthik,

Can you please check my reply in this thread:

Regards,

---Satish

Former Member
0 Kudos

Satish - I do understand that application acknowledgement is not valid for - file write scenarios and we are using transport acknowledgement.

But using transport acknowledgement is not working - since the acknowledgement is being sent once the message is passed to the Adapter Engine and not when the file is written.

So, I would like to know - is there any other way of introducing a wait - less than a minute ( wait of a few seconds only ) before going to the next step after send ?