ystem.Activities.InvalidWorkflowException: The workflow has validation errors. Review and resolve them first. —> System.Activities.ValidationException: Compiler error(s) encountered processing expression “Select…”
If you hover over the blue icon in Execute Query activity you will see the reason it’s not validating. Seems like your query must be surrounded by quotations. Or you can define a String variable containing your query and set is as input.