Executing stored procedure takes longer when called via executeStoredProcedure function

Certified Lead Developer

Dear Reader,

I have a stored procedure (functions are also a part of this procedure) which when executed in the SQL Server takes around 2 - 3 seconds to execute. This same procedure when executed via Appian using executeStoredProcedure function is taking more than 30 seconds, sometimes more than a minute.

Is there any way I can optimize this?

Are there any changes required to be done on Appian/Database side to fix this issue?

Thank you in advance!

Shreya 

  Discussion posts and replies are publicly visible