简体   繁体   中英

Invoking a workflow activity from a code activity

Is there a way to call a custom made workflow 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM