|
|
|
|
Save Edit |
Cancel | More actions | |
Build Custom Activities To Extend The Reach Of Your Workflows
CustomActivity.Execute() chỉ schedule các child rồi trả về trả về ActivityExecutionStatus.Executing. Theo bài báo thì Runtime engine sẽ căn cứ vào Executing để không làm tiếp các activity kế tiếp. Runtime Engine ở đây là cái gì? Có thể customize được hay không?
2 types of activites: - Basic Activity - Composite Activity
Basic Activity - Inherit from System.Workflow.ComponentModel.Activity - Override protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext) { return ActivityExecutionStatus.Closed; }
Composite Activity - "In the case where you want to have more control over the execution of
the child activities, you write an activity derived from
CompositeActivity and, in the Execute method, handle the scheduling of
execution for your child activities."
Designer Component Designer component can be split into two component itself: ActivityDesigner and ActivityDesignerTheme. Toolbox Item component (ActivityToolboxItem)
How to modify/define the workflow designer behavior for custom activities?
|
Document Saved Successfully
|
|
|
|
|
|
|