using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskCollectionRuleExecuteQueueResolver = Activate<BackgroundTaskCollectionRuleExecuteQueueResolver<SaveFlowExecutorBackgroundTask<UndoExecuteCollectionRulesViewModel>,TaskQueueFlowItemParam<UndoExecuteCollectionRulesViewModel>>>();
backgroundTaskCollectionRuleExecuteQueueResolver.Run(
"Batch tasks: SaveFlowExecutorBackgroundTask`1 for Tenancy: regression6",
FromJson<TaskQueueFlowItemParam`1>("{\"FlowIdentifier\":\"COLLECTION_UNDO_RULE_EXECUTE_BATCH_FLOW_NAME\",\"Inputs\":[{\"SelectionViewModel\":null,\"ItemId\":2,\"ExecutionId\":1,\"HasAnyExecutionWithSuccess\":false,\"HasAnyErrorUndoExecution\":false,\"Status\":0,\"MessageUndoExecution\":null,\"ExecutionIds\":null}],\"Parameters\":{\"Parameters\":{}},\"Tenancy\":\"regression6\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":\"ee5db77c-8b48-4343-9042-24e99fe238ea\",\"OperationId\":\"ZZTxQ\",\"EnqueueTime\":\"2026-02-19T15:47:35.8478558-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);