using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskQueueResolver = Activate<BackgroundTaskQueueResolver<SubTaskCreateBackgroundTask,TaskQueueItemParam<SubTaskCreateViewModel>>>();
backgroundTaskQueueResolver.Run(
"Job: SubTaskCreateBackgroundTask for Tenancy: regression22",
FromJson<TaskQueueItemParam`1>("{\"ReportModelId\":0,\"ReportId\":0,\"AppIdInstance\":0,\"Parameter\":{\"ParentId\":835,\"ParentOriginType\":2,\"Steps\":[{\"TypeId\":\"tipo_1\",\"TypeText\":\"Audiência\",\"ExpectedCompletionDate\":\"2030-02-14T00:00:00\",\"Deadline\":null,\"TypeIdInt\":null,\"SubTypeIdInt\":null,\"Id\":null,\"Description\":\"Step1_TDA0AE\",\"DeadlineCount\":1,\"DeadlineOperation\":0,\"DeadlineType\":0,\"ResponsableId\":15,\"ResponsableText\":\"QAUSER10\",\"StepNumber\":0,\"_Index\":\"Steps[3a7b852c-0cf9-4f25-b2bd-b292b0cc9cfb]\",\"KanbanBoardId\":null,\"KanbanBoardText\":null,\"KanbanBoardColumn\":null,\"KanbanBoardColumnText\":null,\"ShowActivityInKanban\":false},{\"TypeId\":\"tipo_2\",\"TypeText\":\"Prazo\",\"ExpectedCompletionDate\":\"2030-02-13T00:00:00\",\"Deadline\":null,\"TypeIdInt\":null,\"SubTypeIdInt\":null,\"Id\":null,\"Description\":\"Step2_TE742D\",\"DeadlineCount\":2,\"DeadlineOperation\":0,\"DeadlineType\":0,\"ResponsableId\":25,\"ResponsableText\":\"QAUSER11\",\"StepNumber\":0,\"_Index\":\"Steps[9443660d-c629-43fb-b61d-b118cdbc2dc0]\",\"KanbanBoardId\":null,\"KanbanBoardText\":null,\"KanbanBoardColumn\":null,\"KanbanBoardColumnText\":null,\"ShowActivityInKanban\":false}]},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"regression22\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":null,\"OperationId\":\"kPo/XMwxieU=\",\"EnqueueTime\":\"2026-02-19T19:03:35.2092401-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);