BeyondERP.Newsletter
Menu

Workflow page · Sales and marketing

Sales and marketing workflows

The list of workflow configurations for the Sales and marketing area, with status, default flag, ID, name, association, type, number of instances and active version for each.

Used by
Sales manager
Business process
Define order management policies for Dynamics 365 Supply Chain Management
Menu item
TAMWorkflowConfigurationSM
Main table
WorkflowTable
Setup steps
1 on this page
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isThe list of workflow configurations for the Sales and marketing area, with status, default flag, ID, name, association, type, number of instances and active version for each.
What you do hereUse it to create, activate and maintain the approval workflows that Sales and marketing documents are submitted to.
ExampleBEAT wants one approval path for Denmark and another for Spain for the same workflow type. It creates two workflows of that type, sets activation conditions country/region = DK and country/region = ES, and marks the DK one as default, so a document from any other country follows the default path.
Sales and marketing workflows page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Set up Sales and marketing workflows

Steps from Microsoft

  1. Go to Sales and marketing > Setup > Sales and marketing workflows.
  2. Select New and choose the workflow type in the list that opens; the workflow editor starts.
  3. Build the approval steps, and on Activation set conditions if more than one workflow uses the same type.
  4. Resolve every message in the Errors and warnings pane, select Save and close and then Activate the new version.
  5. Submit a document of that type and check that the work item reaches the expected approver.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
StatusWhether the workflow configuration is active, so documents can be submitted to it.Microsoft Learn Active
DefaultMarks the workflow used for its type when no activation condition of another workflow of that type is met.Microsoft Learn Yes
IDThe ID of the workflow configuration.Checked in Dynamics 365000123
NameThe name of the workflow configuration.Checked in Dynamics 365BEAT approval
TypeThe workflow type the configuration is built on; several configurations can share a type.Microsoft Learn Approval
InstancesThe number of workflow instances that have run on the configuration, read from the list column.Checked in Dynamics 36512
Active versionThe version of the configuration that documents use; each save creates a new version that you choose whether to activate.Microsoft Learn 2

Common errors and fixes

MessageWhat to do
The new workflow version can't be activatedAll errors and warnings in the Errors and warnings pane must be resolved before a workflow can be made active. Double-click each message to go to the element that raised it. Microsoft Learn
Documents follow the wrong workflow when two workflows share a typeSet activation conditions on each workflow. When no condition is met, the default workflow is used. Microsoft Learn

Test checklist

  1. Select New, pick the workflow type and build it in the workflow editor.
  2. Resolve every item in the Errors and warnings pane, select Save and close and choose Activate the new version.
  3. Submit a document of that type and check that the work item reaches the assigned approver.
  4. If you added a second workflow with activation conditions, submit a document that meets them and one that doesn't, and check which workflow each one uses.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Sales and marketing workflowsOne workflow per workflow type as the default; add a second workflow of the same type only with activation conditions.When several workflows use the same type, activation conditions decide which one runs and the default workflow is used when no condition is met; with only one workflow for a type, it runs regardless of conditions.One workflow per type, or several with activation conditions?A workflow with unresolved errors or warnings in the editor can't be made active, so documents can't be submitted until they are fixed and a version is activated.Test: Activation conditions route documents

Feature management and licence

Licence or add-inOn the live system, Sales manager use this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyEach configuration belongs to one workflow type. When several configurations share a type, activation conditions decide which one a document uses, and the default configuration is used when no condition is met; a single configuration for a type is used regardless of conditions. Microsoft Learn
Can it be undoneReversible: Each save creates a version, and you choose whether to activate it. You can activate the earlier version again or keep the new one inactive. Microsoft Learn
If you change it laterA saved change creates a new version; documents use it only after you activate that version. Activation conditions change which workflow new submissions go to. Microsoft Learn
Technical architect

6Technical

Menu itemTAMWorkflowConfigurationSM Checked in Dynamics 365
FormWorkflowTableListPageRnr Checked in Dynamics 365
TableWorkflowTableShown as “Workflow configurations” in Record infoKey field: SequenceNumberChecked in Dynamics 365
Who can open itPrivilegesMaintain rebate agreements PdsRebateAgreementsMaintainDutiesMaintains customer rebate agreements PdsRebateAgreementMaintain
1 security roleSales manager TradeSalesManager
Checked in Dynamics 365
Roles to set it up and use itTo use itSales manager TradeSalesManagerGive people one of these roles. On this system, 1 role can open this page.Checked in Dynamics 365
Actions on the pageWorkflow: Manage, HierarchyOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=TAMWorkflowConfigurationSM
Data migrationLoad order: Sales and marketing workflows has no data entity in Data management. Create the workflow in the workflow editor in the target environment and activate it there.Checked in Dynamics 365
Table definitionWorkflowTable columns and relations Microsoft data model
Everyone

8Sources