cancel
Showing results for 
Search instead for 
Did you mean: 

Compile Error on line 0 --Invalid Expression term public

Anonymous
Not applicable
I need some help from BP side.Have a C# code inside a code stage and is throwing this error on line 0 😄

What should I do, cos is not an error within my code stage is I think inside assembly of BP.

My function is a try and catch function.

Please advise!

------------------------------
Cohen
RPA Developer

Romania
------------------------------
4 REPLIES 4

david.flores
Staff
Staff
Hello Ionut, 

I have not see this error before within any of our support areas however found the following when searching online. https://stackoverflow.com/questions/37092468/invalid-expression-term-public

Without reviewing your code and it will be difficult to help your situation. Feel free to send me you .bprelease and i will do my best to assist or provide guidance.

------------------------------
Regards,

David Flores
Sr. Product Consultant
blue prism
------------------------------
Regards, [FirstName] [LastName] [JobTitle] [CompanyName]

Anonymous
Not applicable
Thank you! I changed the code. Do you think that BP has a documentation material on how to write code in C# within a code stage? I think it will enhance more the productivity. My lesson with the code stage is that somehow you have to write the code within Main.

------------------------------
Cohen
RPA Developer

Romania
------------------------------

Hello Ionut, 

Here is a link to one of our Knowledge Base article from our BP Portal: https://portal.blueprism.com/customer-support/support-center#/path/Automation-Design/Studio/Code-Stages/1140176592/How-do-I-use-a-custom-C-code-in-Blue-Prism.htm

If you need more details than what is provided, then I would recommend that you create a post with our Ideas community https://community.blueprism.com/ideas/ideas with your suggestion and reach out to your Blue Prism account manager to help find more ways we can assist you. 


------------------------------
Regards,

David Flores
Sr. Product Consultant
blue prism
------------------------------
Regards, [FirstName] [LastName] [JobTitle] [CompanyName]

Anonymous
Not applicable
Thank you David! Really appreciate it! Unfortunately the link for c# guidelines is too simple for all the situations we confront in real life while using your product.
Nevertheless thanks for your answer!

------------------------------
Cohen
RPA Developer

Romania
------------------------------