First published on MSDN on May 17, 2016
This post is in continuation of the Post Creating a
Workflow Activity Library and Activity Part 3
This post will focus on Defining the activity sequence
Next, you define a sequence of activities that define your activity by using activities from the
. You use the FIM CurrentRequestActivity activity and the Code activity that is defined by Windows Workflow Foundation (WF). You also bind the CurrentRequest property that you added in the code to a property of the ReadCurrentRequestActivity that you will create.
To define the activity sequence
tab on the workspace to open the workflow designer sheet of the RequestLoggingActivity custtom activity. If the tab does not exist, double-click
Drag the activity
tab of the
into the workflow designer sheet.
Drag and drop a Code activity from the
into the workflow designer sheet right below the previous activity. This activity is located under the
Windows Workflow v3.0
tab in the toolbox.The design view of the RequestLoggingActivity should look like the following illustration.