Configure a .NET activity
- Add a .NET activity to the map. See Add an activity.
- On the Extended Properties page of the .NET activity, click the Configuration tab.
- Consume the assembly in the Assembly File Path box.
- To load a .NET object from the Global Assembly Center (GAC), using the display name of the .NET assembly object, click Yes for Load Assembly Using Full Name.
- On the Class list, select the class.
-
On the
Method list, select the method.
A list of associated parameters appears.
-
If a .NET call contains classes within classes, all available levels of classes appear.
-
If the classes are recursive, only three levels of classes appear.
-
If a .NET call contains arrays within arrays, all available levels of arrays appear.
-
-
Map variables to the parameters using either dynamic or static values.
Note
-
You can only provide static values for an input variable. If a parameter type contains a question mark, such as Boolean?, it indicates the parameter is nullable.
-
TotalAgility does not support Dynamic Complex variable mappings on more than two levels.
-
The Dynamic Complex variables are always passed as an object to the custom .NET method. For example, if the input parameter on your custom dll is a String array (public boolean methodName (string[][] StringArray), this does not work as TotalAgility will pass a Dynamic Complex variable as an object. Instead, use public boolean methodName (object StringArray,) and then convert the object to string[][] in your method.
-
-
Click
Save.
All the parameters must be mapped; otherwise, a message indicates that the parameters list is incomplete.