We have a database of issues from multiple sources and we combine al the results into 1 system. This allows us to keep track of issues in multiple systems. At the moment we index al the changes in youtrack every 5 minutes. But we want to switch to the workflows using the http method.
My case at the moment is that i'm doing the following.
- I have a work flow that uses the new http connection
- When something changes i call the remote system with the id of the issue in a GET request
- The remote system gets al the latest info
But my problem is that they workflow is called before the change is stored in the database. So i'm always late to the party and my data is out of sync.
Is there a way to do a onChange after the changes happend?