workflow foundation 4 - WF4 : Custom activity with child activity -


how can create custom activity workflow foundation 4 host child activity (or several)?

the idea create similar trycatch activity can specify activity goes in try part , in part. need own custom business logic.

derive nativeactivity. use public properties hold children. like

public activity body { get; set; } 

override nativeactivityexecute(). call nativeactivitycontext.scheduleactivity(this.body). use overload takes completion handlers - if want kind of sequential execution, is, because scheduled activities executed after execute() returns.

this basics.


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -