locked
Add argument to workflow using an activty RRS feed

  • Question

  • Hello,

    is it possible to create an activity that when it is dragged to the designer it will add automatically an InArgument in the workflow .

    Thanks

    Thursday, October 25, 2012 10:39 AM

Answers

  • Yes it's possible - you would need to put the code into the custom activity designer, rather than the activity, then enable the custom designer for your activity.

    Even though it's possible it isn't super easy, and may not be the best idea. Sometimes it's even easier to use other ways of passing data, such as execution properties + scopes, activity delegates, host extensions, or circumvent the workflow data model completely, and e.g. go fetch the data from a database at runtime.
    Tim

    • Marked as answer by LeoTang Thursday, November 1, 2012 9:38 AM
    Monday, October 29, 2012 5:24 AM