I’ve been doing some work on expanding Dynamics in order to create a solution capable of scheduling automatic reporting to email addresses recently (a very interesting subject) and found it difficult to find a complete list of input parameters for use in my custom workflow step.
Below I’ve included all the examples I’ve found –
Input/Output Parameters
String
[Input("String input")] [Output("String output")] [Default("A default value")] public InOutArgument string { get; set; }
Date Time
[Input("DateTime input")] [Output("DateTime output")] [Default("2004-07-09T02:54:00Z")] public InOutArgument date { get; set; }
Boolean
[Input("Boolean input")] [Output("Boolean output")] [Default("True")] public InOutArgument Bool { get; set; }
Integer
[Input("Integer input")] [Output("Integer output")] [Default("1")] public InOutArgument Int { get; set; }
Decimal
[Input("Decimal input")] [Output("Decimal output")] [Default("1.5")] public InOutArgument Decimal { get; set; }
Double
[Input("Double input")] [Output("Double output")] [Default("10.5")] public InOutArgument Double { get; set; }
Money / Currency
[Input("Money input")] [Output("Money output")] [Default("130.50")] public InOutArgument Money { get; set; }
Option Set
[Input("OptionSetValue input")] [Output("OptionSetValue output")] [AttributeTarget("Contact", "preferredcontactmethodcode")] [Default("1")] public InOutArgument OptionSetvalue { get; set; }
Entity Reference
[Input("EntityReference input")] [Output("EntityReference output")] [ReferenceTarget("contact")] [Default("b47989861-979F-E611-810F-00155D000312", "contact")] public InOutArgument EntityReference { get; set; }
Hope this helps!
I really treasure your piece of work, Great post.
LikeLike
I enjoying, will read more. Cheers!
LikeLike