Custom DLL file in Function

Hi I am trying to Refer my Custom DLL file in Function,
The DLL File is already copied in the Customization > Externals and same is easily referenced in BPM’s.
How to add external references in Epicor Function?

We are still using 2021.1

It should show up in assemblies.

For Functions the DLL must go in server/assemblies directory

2 Likes

This is what I thought too - Thanks for endorsement.
so for BPM also, we can consider the same dll in assemblies, and avoid duplicating the files in external. right?

I think the bpm should also see the dll if it is in server/assemblies. You would just need to verify by removing it from externals and test if you can reference it

Great - Logically - It should work. I will try and update.
However, I am experiencing another issue in the function. Functions execute synchronously and does not wait for the REST API Response. Any idea ?

Just out of curiosity, what does this external library do?

1 Like

arnold schwarzenegger who is your daddy GIF

3 Likes

A little tweaking in the code helped to work it…