Question

4
Replies
164
Views
Close popover
Michael Drake (MichaelD4660)
Fifth Third Bank Bank
Lead Software Engineer
Fifth Third Bank Bank
US
MichaelD4660 Member since 2017 13 posts
Fifth Third Bank Bank
Posted: October 25, 2018
Last activity: February 17, 2021
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.