Executing a Stored Procedure

To execute a stored procedure, do the following.

Navigation

  1. In AgilePoint Envision, open a process template.
  2. Navigate to the Database stencil.
  3. On the Database stencil, drag the Stored Procedure AgileShape, and drop it on the process template.
  4. To view the entire list of properties, in the Design Tasks pane, click Show Properties.
  5. On the Configure field, click the Ellipses button.

Instructions

  1. On the Configuration for Store Procedure or Generic SQL window, complete the following fields as required.
    Field Name Value

    Connection String

    Definition:
    Specifies the connection string that is used to connect to the database.
    • Click Choose to select a connection string from the list of shared custom attributes (defined and managed in Enterprise Manager.)
    • Click Create to create a new connection string.
    Allowed Values:
    A valid SQL connection string.
    Default Value:
    server=myserver;database=pubs;trusted_Connection=yes
    Custom Attributes:
    Yes
    Example:
    server=DataServer;database=StoreDb;trusted_Connection=yes

    SQL

    Definition:
    The SQL statement that will be performed on the database by this AgileShape at runtime.
    Allowed Values:
    A valid SQL SELECT query.
    Default Value:
    None
    Custom Attributes:
    Yes
    Example:
    SELECT ShowName FROM EventList WHERE showID = 1001
  2. Complete any additional configuration for this AgileShape according to your requirements: