Code Stage (code proprerties) vs .NET Custom Method (DLL )Thanls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-01-21 01:24 PM
Thanks
------------------------------
asd max
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-01-21 03:27 PM
The major upside of having custom code in code stages vs DLL files, is that you don't have to worry about propagating the DLLs to all systems - the code is instead stored in the SQL database. It also makes it easier to collaborate on new and/or modified code. I suspect (but currently have no solid proof) that these are compiled at run-time locally, but it's quick enough that you shouldn't notice it.
That being said, I can see an argument being made for creating custom DLLs if you want to lock down the code to where it can no longer be modified (especially by multiple users).
------------------------------
Ami Barrett
Automation Developer, Team Lead
Blue Prism
Plano, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-01-21 04:13 PM
------------------------------
Massimiliano Bellisario
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-01-21 04:35 PM
In theory, it's probably the DLL files if the code is being compiled locally at run-time. But again, you shouldn't notice enough of a difference.
Edit: Just to expand upon this, you'll need to write code to the code stages anyway, in order to reference the methods in the DLL file(s). Either way, you'll still have code to compile.
------------------------------
Ami Barrett
Automation Developer, Team Lead
Blue Prism
Plano, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-21 01:27 PM
Thanks
------------------------------
Massimiliano Bellisario
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-21 08:17 PM
With DLLs, BP will have to load them into memory when the process runs, but I imagine the cost of loading the DLL is lower than JIT compiling the code in code stages.
With all that said, one of the benefits I find to placing custom code in DLLs is better debugging of that code in Visual Studio or Visual Studio Code (assuming you create a test harness).
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-21 09:15 PM
------------------------------
Massimiliano Bellisario
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-21 09:21 PM
If you want to avoid creating custom DLL files, then use the built-in code editors/stages within Blue Prism.
Edit: Alternatively, DLLs can be on a shared file location. However, I have seen this cause issues on system startup in some cases, due to the connection to the share not being active until first accessed through Windows (not through code in BP).
------------------------------
Ami Barrett
Automation Developer, Team Lead
Blue Prism
Plano, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-21 09:25 PM
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-01-21 08:47 AM
------------------------------
Massimiliano Bellisario
------------------------------
