81060ae Dyn365 Conf Enus 07
81060ae Dyn365 Conf Enus 07
81060ae Dyn365 Conf Enus 07
4
Workflows
• Automated process – similar to a macro
5
Background Workflows
Event or user triggered automated
processes that executes application
actions
Run asynchronously and does not
prevent a user from continuing
Most commonly used type of
workflow
Supports wait conditions
6
Real Time Workflows
Blocks user from moving
forward until completion
Can execute under caller
context or owner context
for flexibility
Separate privilege on
security role to control
activation
May impact system
performance 7
Dialogs
Provides users with a “wizard” or
“script”
Pages allow to prompt and capture
responses
Standard workflow features for
evaluation and action
Query to pull in other Dynamics 365
data
Input Arguments, Variables and Start
child dialogs
8
Custom Actions
Custom Actions are multi-step declarative custom logic that can
be invoked via API calls
9
When to use
10
Workflow Basics
• Each workflow must be associated with a primary
(triggering) entity
• Once set, this cannot be changed
Note: Records must be the same entity type defined as the primary entity in
the workflow
Triggering Workflows
• Workflows can be started:
• Manually
• Automatically:
• When a record is created
• When the record status changes
• When the record is assigned
• When fields within the record change
• When the record is deleted
Actions
• Create Record
• Update Record
• Assign Record
• Send E-mail
• Start Child Workflow
• Perform Action
• Change Status
• Stop Workflow
Dynamic Values
• Dynamic Values can be used populate fields in
actions with data from Dynamics 365 records, or
data stored in processes.
• The Form Assistant provides options for defining the
values to be used.
• Options Include:
• Set to
• Append With
• Clear
• Increment By
• Decrement By
• Multiply By
Workflow Activation
• Workflows need to be activated before they can be used
• Activation will prevent it from being edited
16
Demo
Time
Module Review
• Automation in Dynamics 365 can be created many ways
• Business Process Flows provide guidance to users by
providing different stages and steps that can span a single
or multiple entities.
• Workflows are the most commonly used process in
Dynamics 365 and can be created by non-developers
• Try to find balance of proper automation and great user
experience
18