Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I get the output parameters value in a XOML-only workflow?

0
Posted

How can I get the output parameters value in a XOML-only workflow?

0

Refer the following link for an example of creating your own base workflow class and using it in a XOML-only workflow: http://msmvps.com/blogs/theproblemsolver/archive/2007/11/26/pure-xoml-workflows-and-a-custom-root-activity.aspx You must also add some new properties to that base class: namespace WorkflowLibrary4 { public sealed partial class BaseWorkflow : SequentialWorkflowActivity { public string Output1 { get; set; } public string Output2 { get; set; } } } Then, in the XOML, bind the relevant properties of your activities to the properties in the workflow base class (e.g. Output1). When the workflow completes, the OutputParameters collection will contain values for Output1 and Output2.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123