Activities being cancled/ignored

Hello

I am debugging a flow and have enabled Execution Trail and Log Activities to see what is going on.

The proces runs fine until a certain Keyboard Shortcuts activity which is marked as “Partially executed” and then all the following activities are being cancled without any notification/error or such.
The flow simply runs to an end without performing the intermediate activities.

Take a look at my Output below:

Anyone know what is causing this behaviour?

Regards
Soren

I see you have verify that input run in your keyboard shortcut activity and because the it was not run successfully and the value of that activity is false and verification is false , other activities cancelled.

if you see the activity run successfully remove the verification
I would use any other alternative activity and remove send hot key or add attach app/bowser and indicated the required app and use send hot key inside this scope

Hello @Ehab_Sawars

It does’nt look like the key (F12) is being sent.
It has a selector on an Excel window and pressing F12 should open the “Save as” pop-up.
The verification is looking for the “Filename” input of the “save as” pop-up.

But if either the activity itself or the verification fails, then it should throw an error.
It does’nt throw any error, but simply ignores the rest of the code/activities and runs to an end.

Regards
Soren

yes but send hotkey if fails does not throw error

if verification fails it does not throw an error, you will need to get out the true or false output from the verification properties and use condition to see if it passed successfully.

is it excel file you wan to save as ? I suggest to use any other alternative rather than keyboard shortcuts

Hello @Ehab_Sawars

Where do you get this True/False property that you are refering to?

I am not using Send Hotkey (classic activity).
I am using Keyboard Shortcuts (modern activity).

Regards
Soren

@loginerror @ashokkarale @lakshman

Any suggestions as to why this is happening?

@SorenB,

Try indicating the application window to which you are trying to send the keyboard shortcut.

you can remove verification from the activity no need to use it, if you have to use the keyboard shortcut , use it and then use element exist and the element exist variable to verify a new element appears that prove the keyboard shortcut activity worked.

The problem seemed to have something to do with my dual-monitor setup.
However I am still not sure why activities were cancelled in stead of failing.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.