Flow designer - jdbc step - exec stored procedure throws error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 04:20 PM
Hi
Looking for a solution/ answer for this scenario.
I have a jdbc step on flow designer where i'm putting in a command to execute a stored procedure on SQL server database as below:
Exec dbo.stored_procedure_name @param1 = 'x', @param2 = 'y'
When i test the jdbc step i get this error message: Given SQL statement is not allowed to be executed at this time.
I have put 'exec' as an allowed value on the mid server property: mid.property.jdbc_operations value: exec,select,update,insert,delete,show,create,describe
I'm wondering if its not supported by ServiceNow.
There's a stored procedure call on jdbc activity in worklow however.
Any help on this is appreciated.
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 04:29 PM
I don't have any experience with the jdbc step in Flow Designer, but wondered if you saw this KnowlegeBase article:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 04:35 PM
Yes, that's the property i have already updated with 'exec' on it.
That change didn't fix the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2020 08:37 PM
Hi Faizan,
Did it work for you?
The documentation says By default, you can run the following SQL operations.
- SELECT
- INSERT
- UPDATE
- DELETE
- SHOW
- DESCRIBE
I am also planning to use this step action to execute stored procedure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 06:12 AM
I'm having the same one.