Exit Form Activity Window

Dears,

How to Configure Form Activity to close and stop continue the execution of the rest of workflow, once clicked on “X” sign in the top right :
tugna

Thanks in Advance

Hi @hsendel,

Can you explain your issue in detail!

Regards,
@90s_Developer

Hello @90s_Developer ,

You know, when you create Form activity using “UiPath.Form.Activities”

tugna

Once this will be executed , you’ll end up with the following window :
tugna

My issue is when I click on the “X” sign ( highlighted in Red), the process with continue executing, and I want the process to stop after click.

Hope you understand :slight_smile:

@hsendel,

As the details you have mentioned above, based on my understanding you’re running the process and once the form is filled, the BOT itself need to close the form.

If my understanding is correct, try to use click activity and indicate the ‘X’ button.

If not, brief a little.

Regards,
@90s_Developer

Hi again, You still didn’t get the point, I will share example to understand more …give me some minutes

Hello @90s_Developer

Here’s the example :
Example.zip (36.9 KB)

“What should be done to prevent write line in the workflow to be printed when Closing Form Manually”

@hsendel,

You should either remove the writeline from the workflow or else you need to use a condition and based on that proceed further.

Obviously, once the form is executed, you have connected the write line then after that, the write line will be executed right!

Regards,
@90s_Developer

Hi @90s_Developer , noo, I will not remove write line, I need it in case didn’t close the form, and here I just replace my workflow by write line to explain more :slight_smile:
For that condition you’re stating that I’m looking for.

@hsendel,

You can handle this problem in two different ways, either by timer or dismissed.

If you try to use the timer, create a timer variable, and after form use if condition and set a particular time and if the timer crossed the time in the condition, perform the process to close the form ( close window or close application activity ).

If you try to use dismissed, create a dismissed variable and use condition to check if the value is false, as the dismissed value will be true if the user itself clicks the close button.

I hope this helps to solve your issue.

Regards,
@90s_Developer

1 Like

Thanks a lot @90s_Developer , I think “Dismissed” option will solve my issue … I will check and let you know.

@hsendel

Sure

Unfortunately not working , it’s always continuing the execution even with this condition, can you modify the file I shared with you ?

In all cases I got :

tugna

@hsendel,

This is a default process for Uipaths Forms to perform. I don’t think this can’t able handled as it involves Human in the Loop.

Refer to the below link for a detailed understanding about UiPath Forms

Create Form (uipath.com)

Regards,
@90s_Developer