How to do it...

To create the workflow type, follow these steps:

  1. If we are creating a workflow for a new module, or one that currently doesn't have a workflow, we need to create a new workflow category, which means we need to add a module to ModuleAxapta. Locate the ModuleAxapta Base Enum and choose Create extension from the right-click context menu. Rename as usual; change the .extension or add a prefix to make it unique.
  2. To create the workflow category, we need to add a new item to our project and choose Workflow Category from the Business process and Workflow list. Enter the name ConWHSVehicleManagement before clicking on Add.
  3. Complete the Label and HelpText properties; these will be visible to the workflow designer in the user interface. ...

Get Extending Microsoft Dynamics 365 for Operations Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.