From 33041a8b96689862b01fad972a0ab30a527967a2 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 1 Oct 2025 15:39:08 +0200 Subject: [PATCH] update to add triggers as dictionary --- .../Jobs/FinalizeDocument/FinalizeDocumentJob.vb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/FinalizeDocumentJob.vb b/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/FinalizeDocumentJob.vb index 6a499b09..3072a102 100644 --- a/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/FinalizeDocumentJob.vb +++ b/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/FinalizeDocumentJob.vb @@ -71,7 +71,15 @@ Namespace Jobs #Disable Warning BC40000 ' Type or member is obsolete Factory.Shared.AddEnvelopeGeneratorInfrastructureServices( Sub(opt) - opt.AddDbTriggerParams(Config) + opt.AddDbTriggerParams( + Sub(triggers) + triggers("Envelope") = New List(Of String) From {"TBSIG_ENVELOPE_AFT_INS"} + triggers("History") = New List(Of String) From {"TBSIG_ENVELOPE_HISTORY_AFT_INS"} + triggers("EmailOut") = New List(Of String) From {"TBEMLP_EMAIL_OUT_AFT_INS", "TBEMLP_EMAIL_OUT_AFT_UPD"} + triggers("EnvelopeReceiverReadOnly") = New List(Of String) From {"TBSIG_ENVELOPE_RECEIVER_READ_ONLY_UPD"} + triggers("Receiver") = New List(Of String)() ' no tigger + triggers("EmailTemplate") = New List(Of String) From {"TBSIG_EMAIL_TEMPLATE_AFT_UPD"} + End Sub) opt.AddDbContext( Sub(options) options.UseSqlServer(oConnectionString) _