QAID # 15160 Published
Question / Problem:
Why is the following error logged when a certain Workflow Agent is run?
[ACWFLIB] 12001 Workflow Agent Error "MyWorkflowAgne.Net" (-2146233079) Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOn
Answer / Solution:
This can occur if a Workflow Agent, or a third-party component utilized by the Workfow Agent, attempts to display a modal dialog.
Like Release Scripts / Export Connectors, Workflow Agents should not display any User Interface elements, as they are often called from a module running as a Windows Service.