cancel
Showing results for 
Search instead for 
Did you mean: 

update delay response sql

Former Member
0 Kudos

Hi there experts,

I've got a question for you guys... the thing is that I'm updating via XI a sql table, and that update raises a trigger at sql database that also updates another table. When message comes out from XI it actually updates the first sql table, but since the trigger is updating another table, the first one responses XI with a COUNTER = 0 (as if it hasn't been updated, but it was successfully updated actually). Is there any way of setting a delay or maybe catching up the triggered table COUNTER?

cheers,

Edu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

By using a ccBPM, you will be able to set a delay between the messages sent from PI.

Basically, you will chain :

receiving step --> Send step --> wait step --> Send step.

Eventually, you could wait for the response between the 2 sending steps by replacing the wait step with a receive step.

Hope this helps.

Regards,

Guislain.

Former Member
0 Kudos

Hi Guislain,

It was much easier. DB guys told me that the SQL DB replies with COUNTER backwards, I mean, first the last UPDATE (the last that the triggers does) and last of all the COUNTER that acknowledge the first UPDATE XI is doing, so I've asked them to NOT reply except from the one that I really need to check. And voilà! Now it works fine...

but thanks a lot!

cheers,

Edu