using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskQueueResolver = Activate<BackgroundTaskQueueResolver<ContinuationFlowExecutorBackgroundTask<ESocialRecordBatchGenerateEventsViewModel>,TaskQueueFlowItemParam<ESocialRecordBatchGenerateEventsViewModel>>>();
backgroundTaskQueueResolver.Run(
"Batch tasks: ContinuationFlowExecutorBackgroundTask`1 for Tenancy: regression27",
FromJson<TaskQueueFlowItemParam`1>("{\"FlowIdentifier\":\"ESOCIAL_RECORD_GENERATE_EVENTS_BATCH_CONTINUATION_FLOW\",\"Inputs\":null,\"Parameters\":{\"Parameters\":{\"751a7ad7-7714-4011-b5e1-f68973382163_EventType\":1,\"751a7ad7-7714-4011-b5e1-f68973382163_RecordDetailsUrl\":\"/regression27/processos/processoesocial/details\"}},\"Tenancy\":\"regression27\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":\"88f7b8a6-bdfc-4656-9928-a4a42fe97cf2\",\"OperationId\":\"yeV7K\",\"EnqueueTime\":\"2026-02-19T17:53:02.7630632-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);