Check out the following links for help setting up workflows and for further reading:
- Workflow system architecture (https://docs.microsoft.com/en-us/dynamics365/operations/organization-administration/workflow-system-architecture)
- Creating a workflow (https://docs.microsoft.com/en-us/dynamics365/operations/organization-administration/create-workflow )
- Overview of the workflow system (https://docs.microsoft.com/en-us/dynamics365/operations/organization-administration/overview-workflow-system and https://ax.help.dynamics.com/en/wiki/overview-of-the-workflow-system/)