Invoking a workflow activity from a code activity
Is there a way to call a custom made workflo开发者_StackOverfloww activity from within a CodeActivity? I have created some helpful activities (like sending emails and then writing to a log) that I use in some non-code based workflow activities and am wondering how I can use these from within my CodeActivity.
Thanks.
You need to use a NativeActivity instead of a CodeActivity. With the NativeActivity the execution context will allow you to schedule other child activities.
精彩评论