Skip to Content
author's profile photo Former Member
Former Member

update delay response sql

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?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 13, 2012 at 09:59 AM


    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.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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!



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.