Main.xaml: c displayed when add Hot key trigger,

I am very new in Ui Path. Started learning the tool.
While trying to copy a string I used Hotkey trigger but in the property section getting an error “Main.xaml: Trigger must be the first activity in the workflow.”

Can anyone please suggest how to resolve this error. I am very new to RPA UiPath so do not have much idea.

A trigger is used to start an automation. You don’t use it to copy strings.

You usually don’t use copy/paste to get things from an app or web page. You need to use activities like Get Text, Get Attribute, etc.

I suggest you do the free training on the UiPath Academy web site. It covers these very basic things.

@Debayan_Deb

Welcome to the community

As the name suggest…the trigger activity you use must be the first activity…its like to trigger the automation but not to trigger a specific activity…so please move trigger as the first activity in the sequence

Cheers

Hi,

If you have to copy a string use Get text or other activites, if that doesnt work in your case use Send HotKey (Not Hotkey trigger).

Names of activites might be confusing sometimes.

Thanks.

Hi @Debayan_Deb

In UiPath, the Trigger activity, such as Hotkey Trigger, should be the first activity in the workflow, as it is responsible for initiating the automation process. It defines the event or condition that triggers the execution of the workflow.

To resolve this, Move the Hotkey Trigger activity to the beginning of your workflow: Click and drag the Hotkey Trigger activity to the top of your workflow so that it becomes the first activity in the sequence and ensure that there are no activities placed before the Trigger activity: Verify that there are no other activities placed above the Hotkey Trigger activity. Only the Trigger activity should be the first one in the sequence.

Thanks!!

Thanks for the input. I rectified the mistake.