Directory Sync workflow observed ExceptionMessage = Internal field is empty for attribute xxxx. Cannot create filter query.
This is caused when the attribute specified in the log was used for stage data filter, but the attribute itself was not part of the workflow template mapping.
Add the mapping for the attribute specified in the error log under template.