Hello everybody. Still struggling to fully understand the use of relevant and visible in different workflows 😪
Many of our forms allow editing of records after submission/addition. Using version 3.18, filling in WebApp, I realized that in edit mode, when a question controlled by relavant is no longer displayed (i.e. relevance is no longer satisfied after editing), it continues to store the manually entered value in the time of adding the record. This video illustrates this situation: https://i.imgur.com/hDVKjez.mp4
As far as I understand (and I could be wrong, because it's still confusing for me), this is an error, because a question controlled by relevant should have its values reset after the condition is no longer satisfied (while the visible would continue to store these values).
Also, I noticed that when trying to do a 2nd edit on that same record that I changed the relevance, I get a 500 error ("message":"Cannot perform operation. Invalid operation parameters."). This error always happens in the 2nd edition (the 1st edition is successful), even in the simplest forms. This video illustrates this situation: https://i.imgur.com/uLdJDj2.mp4
I would like to know if the relevant behavior of not clearing the values is expected and, if so, what is the best practice in cases where I need to edit a record and the relevance may change. Because, today, we have values filled in columns that should be blank, and this is a problem for us.
In addition, I would also like to know the cause of this error from the 2nd edition and how I can solve it.
Thank you all in advance.
Somebody? Any idea?