To log exception details and any custom information inside your workflow, you need
- A reference to Microsoft's SqlTrackingParticipant assembly. For the source code of SqlTrackingParticipant component and the schema of the Tracking Database, use the link Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) Samples for .NET Framework 4.
- Develop a Custom Activity using the below code.Use this activity inside your workflow and set the important properties that you want to log into the tracking database.
- Add below Configuration in the Web.Config file of your workflow project.
No comments:
Post a Comment