This issue occurs when there are duplicate workflow entries located in the xmldb directory. vRealize Automation will process every file within that directory as xml regardless of file name or extension.
If you are calling a workflow on ExternalWorkflow.BuildingMachine, any files in that directory that contain the following will be processed:
<MasterWFStateCriteria>BuildingMachine</MasterWFStateCriteria>