using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskCollectionRuleExecuteQueueResolver = Activate<BackgroundTaskCollectionRuleExecuteQueueResolver<SaveFlowExecutorBackgroundTask<ExecutarRegraCobrancaViewModel>,TaskQueueFlowItemParam<ExecutarRegraCobrancaViewModel>>>();
backgroundTaskCollectionRuleExecuteQueueResolver.Run(
"Batch tasks: SaveFlowExecutorBackgroundTask`1 for Tenancy: regression1",
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},{\"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\":7}],\"Parameters\":{\"Parameters\":{}},\"Tenancy\":\"regression1\",\"TenantIdentifier\":null,\"UserId\":128,\"BatchId\":\"44ebf6fe-5672-4743-a608-f79645c3c9ed\",\"OperationId\":\"Kb68g\",\"EnqueueTime\":\"2026-02-19T18:24:29.7486733-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);