SysAutoRun.execWorkflowSystemUserAccount Method [AX 2012]

Creates the workflow system user account.


protected boolean execWorkflowSystemUserAccount(XmlNode _command)

Run On



  • _command
    Type: XmlNode Class
    The XML node to get the required input values from.

Return Value

Type: boolean
true if the execution is successful; otherwise, false.


The running of this method is controlled by the SysAutoRun.execComman method. This method is called if the XML tag WorkflowSystemUserAccoun is used in the configuration file when Microsoft Dynamics AX is started. The XML tag WorkflowSystemUserAccount has the following attributes:

  • useDomainUser - Specifies whether to use the domain user who is passed in as the workflow system user.

  • domainUserAlias - The domain user alias.

  • domainName - The domain name for the domain user alias.

  • axUserId - The ID for the user.

See Also


SysAutoRun Class