Reset Button

5
What is the best solution to implement the reset button inside a dataview? I tried to call microflow to change all the attributes and refrences of the metaobject with ' ' or empty (with refresh in client without commit )and then pass it to the same dataview, but because there are some validation rules applied on this metaobject, It shows me the validation error messages without clearing the fields although I didnot commit .
asked
3 answers
3

Hi Mohammad,

You can create a reset button by adding a microflow trigger. In the microflow you need one change activity setting the values to empty. You shouldn't commit this change, but check refresh in client.

Abort on validation errors should be set to no on the microflow trigger (which is the default).

I hope this helps!

answered
1

You should use the rollback object activity. You might need a refresh (empty change with refresh on true) activity afterwards.

answered
1

What you could also do is create a new emtpy object, link all relations of the old one to the new one and then delete the old one. This solution however scales very badly as you will have to add every relation separatly and thus each new relation will have to be added manually.

answered