Skip to main content
johnm744
Inspiring
September 13, 2022
Question

Oracle: ERROR com.appiancorp.ps.function.ExecuteStoredProcedureFunction - Error executing

  • September 13, 2022
  • 5 replies
  • 0 views

Hello, 

The following error appears when I try to excecute the function fn!executestoredprocedure()

LOG TomCat:  ERROR com.appiancorp.ps.function.ExecuteStoredProcedureFunction - Error executing

What can be happening?

5 replies

csteward
September 13, 2022

It would be helpful if you could share your stored procedure call here.  Also, are you able to execute the stored procedure directly in the DB?

It could be that you are not including the schema in the call, etc.

johnm744
johnm744Author
Inspiring
September 13, 2022
Yes, it is possible to execute the SP from the Database and the JDCB is correct, we can query the entities.

fn!executestoredprocedure(
dataSourceName: "jdbc/Hipotecario",
procedureName: "SP_NUMSEQUENTIAL_03"
)
Procedure has no inputs!



csteward
September 13, 2022

I'm not sure where "Hipotecario" is coming from in this case, per your error message.

Is the same error presented when you execute this in an expression rule (to directly see the results)?

Also, I would suggest for the procedureName input, utilizing "schema.procedure" instead of just "procedure".