Skip to the content.

wfa.executeQueryPing

This action runs a sql query on a relational database waiting for returning a result or not. Output values can captured as runtime variable when a result has been received.

Use cases

Parameters

1: query

query: "any query to execute"

2: hasResult

hasResult: "Y" / "N"

3: setRuntimeVariables

setRuntimeVariables: "Y" / "N"

4: connection

connection: "connection where the query needs to be executed on"

5: wait

wait: "number of seconds"

6: wait

timeout: "number of seconds"

Examples

  - number: 1
    type: "wfa.executeQueryPing"
    name: "action1"
    description: "Wait for a record in Table1"
    component: ""
    condition: ""
    iteration: ""
    errorExpected: "N"
    errorStop: "N"
    parameters:
    - name: "query"
      value : "select Field1, Field2, Field3 from Table1"
    - name: "hasResult"
      value : "Y"
    - name: "setRuntimeVariables"
      value : "Y"
    - name: "connection"
      value : "sql.executeQuery.2"
    - name: "wait"
      value : "10"
    - name: "timeout"
      value : "1200"