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\":833,\"ParentOriginType\":1,\"Steps\":[{\"TypeId\":\"tipo_1\",\"TypeText\":\"Audiência\",\"ExpectedCompletionDate\":\"2030-02-12T00:00:00\",\"Deadline\":null,\"TypeIdInt\":null,\"SubTypeIdInt\":null,\"Id\":null,\"Description\":\"T57BA5\",\"DeadlineCount\":1,\"DeadlineOperation\":0,\"DeadlineType\":0,\"ResponsableId\":15,\"ResponsableText\":\"QAUSER10\",\"StepNumber\":0,\"_Index\":\"Steps[fa2516a6-6936-4ccf-ba1a-36e9c177519b]\",\"KanbanBoardId\":null,\"KanbanBoardText\":null,\"KanbanBoardColumn\":null,\"KanbanBoardColumnText\":null,\"ShowActivityInKanban\":false},{\"TypeId\":\"tipo_2\",\"TypeText\":\"Prazo\",\"ExpectedCompletionDate\":\"2030-02-11T00:00:00\",\"Deadline\":null,\"TypeIdInt\":null,\"SubTypeIdInt\":null,\"Id\":null,\"Description\":\"TF34D6\",\"DeadlineCount\":2,\"DeadlineOperation\":0,\"DeadlineType\":0,\"ResponsableId\":25,\"ResponsableText\":\"QAUSER11\",\"StepNumber\":0,\"_Index\":\"Steps[a9926349-9f07-4665-a586-7688102dc489]\",\"KanbanBoardId\":null,\"KanbanBoardText\":null,\"KanbanBoardColumn\":null,\"KanbanBoardColumnText\":null,\"ShowActivityInKanban\":false}]},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"regression18\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":null,\"OperationId\":\"Q7sG5FBoL4Y=\",\"EnqueueTime\":\"2026-02-19T19:04:52.8404452-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);