Here how we declare them;
[RequiredArgument] [Input("Salary")] public InArgument<Double> SalaryVal { get; set; } [OutputAttribute("Tax")] public OutArgument<Double> TaxVal { get; set; }
...and this is how you associate to the code within the Execute method;
protected override void Execute(CodeActivityContext executionContext) { //........... //........... Double _salaryVal = SalaryVal.Get(executionContext); // Calculation goes here // and return to _taxVal TaxVal.Set(executionContext, _taxVal); }
A complete list;
ReplyDeletehttp://anythingcrm.blogspot.com.au/2013/07/crm-2011-workflow-activity-parameter.html