This issue occurs when there is an active or scheduled workflow in one of your DEMs even when all the IaaS services are stopped.
Note: To prevent this issue from occurring, check the database table DynamicOps.RepositoryModel.WorkflowSchedules to see if there are any entries which do not show NULL for the WorkflowInstanceId column prior to the VMware vRealize Automation upgrade.