Unable to get server-side script to see other classes of REST program written in C#
I have a small program that is configured to work with another system (via a REST API) our lab uses for issue tracking purposes. While my program works perfectly fine in Visual Studio (which I chose to write the program in since from what I can tell the Metastorm IDE isn't the most robust) it doesn't seem to work at all in Metastorm due to an inability to see the other classes of the program. Since I am very new to the whole Metastorm BPM I am unsure if I should be containing my program all in one script or trying to perserve a logical program flow. Also in runs completely silently so no user interaction should ever be required. So far I've scoured the web looking for any tips but there doesn't seem to be much out there on the scripting aspect of Metastorm. Any advice would be much appreciated as this snag has been holding up my process for the past week.
Thanks,
Austin
Comments
-
Any supporting DLLs will need to be copied to the following locations:
..\\Metastorm\BPM\Deployment\CustomLib
..\\Metastorm\BPM\Designer\CustomLib
..\\Metastorm\BPM\Engine\dotnetbin
Compare the using namespace statements in your server side script to that of your test application in VS. Also ensure you are targetting the 3.5 framework in VS, so the proper versions of the DLLs will be used. You can find the actual DLLs in usage in VS by looking at the path property on each referenced namespace.
0 -
I have all the proper DLLs placed in the right locations. i guess I could go through and create a custom lib for this stuff I had not considered that before. As an attempt to remedy the issue I was having I copied all my code into one 500 line long server-side script and it seems to work fine there. However, I run into code generation errors everytime I attempt to call one of my functions in an event handler activity.
So should I just create the customlib and attempt to use that or continue with the one server script?
0 -
Are the methods defined as public static? If you continue to have issues, consider sending an email to helpdesk.
0 -
Yes the methods are all declared public static - at least the functions I'm calling. They do call some public bool methods from another class though. I'll go ahead and open up a support ticket with metastorm and see what they have to say.
Thanks for all your help!
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories