Login
Remember
Register
yuuvis® Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask
yuuvis RAD
Ask
Unique Property via Webhook / Real-time property querying
0
votes
asked
Nov 6, 2020
in
yuuvis Momentum
by
Nicole
(
740
points)
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:
https://github.com/OPTIMALSYSTEMS/yuuvis-momentum-example-webhook
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"?
Kind regards
Nicole
system-hooks
webhook
search
unique
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 13, 2020
by
dunkel
(
560
points)
Hello, Nicole,
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?
regards
andreas
commented
Nov 13, 2020
by
Nicole
(
740
points)
Hi Andreas
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.
Kind regards
Nicole
Please
log in
or
register
to add a comment.
Most popular tags
documentation
system-hooks
dms-api
folder
search
amqp
custom-microservice
client
icons
viewer
unique
floating-sot
sot
audit-log
tags
hierarchy
nested
schema
listener
rabbitmq
contentstreams
webhook
deployment
general
21
questions
21
answers
14
comments
19
users
Welcome to the yuuvis® Community
Welcome to yuuvis® Q&A, where you can ask questions and receive answers from other members of the community.
...