How can I get the output parameters value in a XOML-only workflow?
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
- I have a CIELAB workflow. If I want to print image files in CIELAB colorspace can I use ColorPro to select my output profile and rendering intent then just print the files?
- What are DV-66B VGA output parameters and is there a way of changing the parameters (resolution, refresh rate)?
- What is the error: Could not write header for output file (incorrect codec parameters) ?