Stored Procedures and Expression Rule is Same Functinalities?

Certified Associate Developer

Can I assume Stored procedure in DB side and Expression rules in Appian side having same functionality/usage?

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Senior Developer

    Stored procedures are used in the database to perform complex SQL operations efficiently, especially for large data sets and repetitive tasks. Expression rules, on the other hand, are used within Appian to define logic and manipulate data dynamically, making them ideal for reusable logic in applications.

    Using database retrievals directly in Appian expressions can impact performance. It's more efficient to perform complex database actions within stored procedures, as they run on the database server and reduce the load on the Appian server.

  • 0
    Certified Lead Developer
    in reply to Shubham Aware

    Something to consider however is that Stored Procedures are not really compatible with Record Types or at the very least you'll have to find a way to sync the data manually.

    I try as a general rule to keep all the logic in the application itself. I only use stored procedures for processing large amounts of data.

Reply Children
No Data