I am still looking for a method to schedule stored procedures in a process flow and expected this in the 2021.2 release.
There doesn't seem to be any process action for this yet. But, could it be realized by using a 'dummy' HTTP connector (eg GET: www.nos.nl) or by using a Decision?
… and then calling the desired stored procedure within the process procedure, like below:
create procedure prc_pf_send_notifications_pf_execute_stored_procedure
(
@dummy text_100 output
)
as
begin
-- Do not count affected rows for performance
SET NOCOUNT ON;
--control_proc_id: process_pf_send_notifications
--template_id: process_pf_send_notifications
--prog_object_item_id: process_pf_send_notifications
--template_description:
EXEC dbo.any_stored_procedure
end
go
Or is there a more elegant way?
Related post: