开发者

.Net 4 Workflow switch activity, how to provide possible values for the cases?

We have rehosted the Workflow (4) designer in our application. This application has a database where certain values are stored. In the rehosted designer I added the Switch activity and set the type to one of the custom objects that are stored in our database.

Is it pos开发者_运维技巧sible to somehow provide a list of possible values to the add case value dropdown of the designer?

Regards urk_forever


The answer is NO The best thing I've managed to achieve with this issue is to implement custom Constraint for Switch< YouCustomType > activity that invalidates the Activity if unknown case was used.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜