Defining Properties in xoml ,rules?

I am keeping xoml workflows in a db. I plan to have them share a type as a typeprovider. On occasion in a workflow I need a temporary variable. I do not want to require the support staff to crack open the shared type and add a property there,recompile, and deploy. I would like to declare a variable in the xoml or rules and assign it. Is this possible?
[353 byte] By [MarkyMark7] at [2007-12-23]
# 1

Mark,

Declaring properties in the xoml or rules file is not supported. It used to be supported in Beta1 but we have removed it. The workaround is to define the properties in a code workflow and then use this workflow as the base type for the xoml workflow.

eg.

Define the code worfklow as follows:

CodeWorkflow:Workflow1

- Prop1

-Prop2

and use it as the base type in the xoml workflow and reference the properties when needed.

XomlWorkflow: Workflow2

<Workflow1 x:Class="Workflow2" x:Name="Workflow2" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" />

Vijay

VijaySubramani at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2
will it be resurrected? If not isn't it possible to create/attach a property to a type in memory. If that is possible then one could pass in a list of properties to create to the workflow on startup and have the rules reference those. Any roadblocks to this?
MarkyMark7 at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 3

Yes, I need too this feature back, please

I'm using Rule Engine without WF only to do validations and mathematics operations

Thanks

tecnocrata at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified