1
0
-1
Hello,

What are the best practices in Joget for doing an integrity check with a delete.

Example:
- I have an object form and a color form.
- an object has a color and a color can correspond to n object.
- if I remove a color without checking, I will have an inconsistency in my object list.

Is it possible to check before deleting a color that it is not related to objects.
    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1
      Thank you.
      I will follow these ideas.



        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, if you need to enforce additional data integrity, you can manually add constraints in your database tables. Alternatively, perhaps you could create a specific deletion process (with appropriate flow logic) or deletion form (with the appropriate Form Validator) in place. 

          CommentAdd your comment...