Question

4
Replies
145
Views
MichaelD4660 Member since 2017 13 posts
Fifth Third Bank Bank
Posted: October 25, 2018
Last activity: November 15, 2018
Closed
Solved

How to Use Custom Entities as Out Parameters in C# script methods

Using Visual Studio 2015, I have created a .NET project with a custom entity class for passing around data. I can successfully reference it with OpenSpan projects (plugin version 8.0.1103). I can also use it in automations' Execute parameters, as well as reference the class inside of C# script components. Everything builds, and seems to work fine... until...

The one deal breaker seems to be when trying to use the custom class as an out parameter in a C# script component public method (it works for a private method). The error message when validating indicates the assembly cannot be loaded. So it seems I am unable to pass this custom class to an automation via a script method's out parameter. As noted, I can reference the custom class just fine in an automation... just not via a script's out parameter.

Does anyone have a suggestion as to how to get around this problem?

Low-Code App Development Data Integration Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn