开发者

Xoml only Workflow parameters

开发者 https://www.devze.com 2022-12-11 09:07 出处:网络
Is is possible to pass parameters to an XOML only wor开发者_StackOverflowkflow? I\'m creating the workflow using XmlReader.

Is is possible to pass parameters to an XOML only wor开发者_StackOverflowkflow?

I'm creating the workflow using XmlReader.

Now is it possible to have parameters on an xoml only workflow?


Yes you can pass Parameters to a Xoml based workflow. You would use the CreateWorkflow overload that takes also the rulesReader but pass null for that parameter:-

XmlReader xoml = GetXoml();
Dictionary params = CreateMyParams();

WorkflowInstance instance = workflowRuntime.CreateWorkflow(xoml, null, params);
0

精彩评论

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