Manually cancel Workflows/START_PROCESS_STARTED from client (saga)

Hallo! There is following “bug” i experiencing: on button press in modell the Workflows/START_PROCESS_STARTED is called and then the data get validated by backend. If validation is failed the workflows process stays on “standby”. On next button press another Workflows/START_PROCESS_STARTED get called, so the Workflows/START_PROCESS_STARTED can be fired multiple times until the validation by backend is successfull. As soon as validation is successfull the workflows process is executed thoose multiple times.

So here my question: can i manually cancel workflows processes with failed validation from client (saga on validation error / Activity/ERROR) so only one workflows process get executed? Or maybe someone do know another idea to solve the problem?

Edit: i added a gif that visualizes the problem.

Best regards,
Alexander

WorkflowsSTART_PROCESS_STARTED

Hey Alexander - thanks for your post within A12 discourse! We’ve forwarded your request to our workflows dev team. As they are currently very busy, there may be delays in processing. We apologise for this and hope to be able to provide an answer in a timely manner.

Your discourse team

Hi @alexander-grey-cluster,

We’re really sorry about the late reply!

This is indeed a bug that we will fix and also backport to 2022.06 and 2023.02. We’ll keep you posted here once the fixes are released.

Thanks for your patience!

UPDATE: the fix has been released in 8.1.7, 9.3.0, and 10.0.0.