If 2 different machine pools are allocated to a uipath folder which pool would the automation pick

Assume there are 2 machine pool with one machine each & 2 pools are linked a project folder .Consider each machine has a custom user such as ‘Hostname\username’ & passwords are different & when an automation starts which would it pick if the account & machine is kept as any

@Rohit_Nair

it can pick anyone there is no defined rule as such

cheers

Sorry there was a missing context ; there are more than 5 process in one folder with 3 machines assigned that is 1 serverless & 2 VM
1 process requires either of those 2 VM with 2 different usernames/pwds for robot accounts & cannot run on serverless while other use serverless .
If I set the trigger of the automation to use any machine , I believe it is subjected to throwing errors

@Rohit_Nair

if the process is defined as windows and not cross platform then the process will by default pick the machine which is not serverless

cheers