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.”
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
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.