using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskCollectionRuleExecuteQueueResolver = Activate<BackgroundTaskCollectionRuleExecuteQueueResolver<SaveFlowExecutorBackgroundTask<ExecutarRegraCobrancaViewModel>,TaskQueueFlowItemParam<ExecutarRegraCobrancaViewModel>>>();
backgroundTaskCollectionRuleExecuteQueueResolver.Run(
"Batch tasks: SaveFlowExecutorBackgroundTask`1 for Tenancy: regression30",
FromJson<TaskQueueFlowItemParam`1>("{\"FlowIdentifier\":\"COLLECTION_RULE_EXECUTE_BATCH_FLOW_NAME\",\"Inputs\":[{\"Competencia\":\"02/2026\",\"DtInicioCompetencia\":\"2026-02-01T00:00:00\",\"DtFimCompetencia\":\"2026-02-28T23:59:59\",\"CompetenciaAte\":null,\"Ids\":null,\"IsExecucaoLote\":false,\"ConfirmarDataForaPeriodo\":null,\"HasIntervaloCompetencia\":false,\"SelectionViewModel\":null,\"ItemId\":6}],\"Parameters\":{\"Parameters\":{}},\"Tenancy\":\"regression30\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":\"2869b670-ceae-4782-953c-f25734eddf77\",\"OperationId\":\"ty+Rj\",\"EnqueueTime\":\"2026-02-19T19:52:45.7151438-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);