How not to flush entered input values when workflow is fired

Hey everyone,

I feel like I am missing something…but how NOT to flush entered input values when workflow is fired? I have created validations via JS, after running this, all of the input values are flushed. So basically when user has almost everything correct but missed one input, he will need to do it all over again which is kinda annoying. Thanks for any ideas! :slight_smile:

are you sure that you are not resetting the value of the input in your workflow or js code?

Yup, only validation (if (context.parameters[‘age’] === ‘’ || context.parameters[‘age’] === null) {
variables[‘049309ec-47f2-47a6-80da-12c7fe4d3c81’] = true;
}) and showing / hiding error mesages