編輯

共用方式為


Sample: Update next birthday using a custom workflow activity

Download the complete sample here: WorkflowActivities.

Prerequisites

Internet connection is required to download the sample project and to restore the NuGet packages used in the sample project.

Requirements

The following custom field must exist for this custom workflow activity to work:

  • Contact.new_nextbirthday

Demonstrates

The following sample workflow activity returns the next birthday. Use this in a workflow that sends a birthday greeting to a customer.

Example

NextBirthday.cs

See also

Workflow extensions
Tutorial: Create workflow extension
Sample: Create a custom workflow activity
Sample: Calculate a credit score with a custom workflow activity