using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskQueueResolver = Activate<BackgroundTaskQueueResolver<SubTaskCreateBackgroundTask,TaskQueueItemParam<SubTaskCreateViewModel>>>();
backgroundTaskQueueResolver.Run(
"Job: SubTaskCreateBackgroundTask for Tenancy: regression18",
FromJson<TaskQueueItemParam`1>("{\"ReportModelId\":0,\"ReportId\":0,\"AppIdInstance\":0,\"Parameter\":{\"ParentId\":827,\"ParentOriginType\":1,\"Steps\":[{\"TypeId\":\"tipo_1\",\"TypeText\":\"Audiência\",\"ExpectedCompletionDate\":\"2026-02-18T00:00:00\",\"Deadline\":null,\"TypeIdInt\":null,\"SubTypeIdInt\":null,\"Id\":null,\"Description\":\"T21A53\",\"DeadlineCount\":1,\"DeadlineOperation\":0,\"DeadlineType\":0,\"ResponsableId\":13,\"ResponsableText\":\"QAUSER\",\"StepNumber\":0,\"_Index\":\"Steps[272d8c65-1b56-488a-84d5-88865d9721c3]\",\"KanbanBoardId\":null,\"KanbanBoardText\":null,\"KanbanBoardColumn\":null,\"KanbanBoardColumnText\":null,\"ShowActivityInKanban\":false}]},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"regression18\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":null,\"OperationId\":\"GmpsQSf6XRI=\",\"EnqueueTime\":\"2026-02-19T18:58:52.9935398-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);