.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.
精彩评论