A cumulative phenomenon in Uipath form

Hi every, I found a cumulative phenomenon in UiPath form when a ‘switch’ activity setted in the ‘do block’ .

In my scenario, I need to click some buttons in the form , and then the ‘do block’ will execute different work after checking the button name by a switch. when I first click a button ‘click’ the process will log once msg “clicked on now”. When I second click the button again, the process will log twice this msg .When I third click the button again, the process will log thrice same msg …and so on when I Nth click the button, the process will log N same msg.

Is this a bug? Andone know how to avoid it? thanks!
The process file was uploaded:
test.xaml (22.1 KB)

HI,

Andone know how to avoid it?

How about to extract FormActivity part to other xaml file then invoke it? It may be necessary to turn on isolated option.

Sample20230530-4L.zip (7.1 KB)

Regards,

1 Like

Thanks for suggestion. :+1:Your solution can solve the problem in studio. But my project is a library. After I published, the end user’s process which used this form component still met the problem.