using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskQueueResolver = Activate<BackgroundTaskQueueResolver<ContinuationFlowExecutorBackgroundTask<ESocialRecordBatchGenerateEventsViewModel>,TaskQueueFlowItemParam<ESocialRecordBatchGenerateEventsViewModel>>>();
backgroundTaskQueueResolver.Run(
"Batch tasks: ContinuationFlowExecutorBackgroundTask`1 for Tenancy: regression32",
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\":\"/regression32/processos/processoesocial/details\"}},\"Tenancy\":\"regression32\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":\"2b0ec0a0-b47c-4776-b177-1f7454669030\",\"OperationId\":\"ANb/O\",\"EnqueueTime\":\"2026-02-19T21:30:52.1858908-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);