related to question: Slate - TypeScript - return the required info out of a promise
Edits and Object search
Changes to objects and links are propagated to the Objects.search() APIs after your function has finished executing. This means that Objects.search() APIs will use the old objects, properties and links. As a result, search, filtering, search arounds, and aggregations may not reflect the edits to the Ontology, including creation and deletion. Your function will need to handle this case manually.
In my case: if i receive the largest number, build new one +1 it only works one time.
Any ideas (best WITH code) how to solve this, to get always the newest data (not build)?