Hello,
We're trying to execute a stored procedure via a custom query. We have an ODBC connection. We're initiation the workflow via Forms. We pass nearly 3 dozen Forms variables from the Retrieve Business Process Variables tool. When we run a test form, we receive an error stating: "ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '@P2'."
We've done this on other Forms/Workflow combinations just fine. However, on those we were only passing one variable via the stored procedure. I'm a relative novice when it comes to SQL, so I'm not even sure we're doing it correctly. Perhaps we're using the wrong separator between the variables. This is an example of what it looks like: stored_procedure_name ?, 'variable 1', ?, 'variable 2', ?, 'variable 3' etc. Is this the correct way to pass multiples?
Thanks,
Michael