Unique Property via Webhook / Real-time property querying
Nov 6, 2020
Hi Yuuvis Team
We are brainstorming on how to get a unique property in Yuuvis Momentum. We tried out the example you provided in your webhook here:
But sadly, when using the search service the values are not immediatly updated and it is still possible that the same value is created multiple times. For example when a user accidentally double clicks, two users create it at the same time, search service is slow updating, etc. We would like to ensure that the value is unique in every case.
We would preferr not directly accessing the database, so that permissions, tenant and other logic does not have to be implemented again by us.
Is there a better way to do this / to query metadata "real-time"?
to answer this question.
Nov 13, 2020
meta-data in real time does not work in Momentum, because the system is based on eventual consistency.
This must be done by an external synchronization mechanism.
What are the exact requirements?
Nov 13, 2020
We have a unique tracking ID from an external system. Of a specific object type only one object may be created per external ID to guarantee traceability. If the external system tries to create the same object twice, we want to return an exception.
to add a comment.
Most popular tags
Welcome to the yuuvis® Community
Welcome to yuuvis® Q&A, where you can ask questions and receive answers from other members of the community.
Legal & Data Privacy