using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskQueueResolver = Activate<BackgroundTaskQueueResolver<SubTaskCreateBackgroundTask,TaskQueueItemParam<SubTaskCreateViewModel>>>();
backgroundTaskQueueResolver.Run(
"Job: SubTaskCreateBackgroundTask for Tenancy: regression12",
FromJson<TaskQueueItemParam`1>("{\"ReportModelId\":0,\"ReportId\":0,\"AppIdInstance\":0,\"Parameter\":{\"ParentId\":837,\"ParentOriginType\":2,\"Steps\":[{\"TypeId\":\"tipo_1\",\"TypeText\":\"Audiência\",\"ExpectedCompletionDate\":\"2026-02-18T00:00:00\",\"Deadline\":null,\"TypeIdInt\":null,\"SubTypeIdInt\":null,\"Id\":null,\"Description\":\"T210D3\",\"DeadlineCount\":1,\"DeadlineOperation\":0,\"DeadlineType\":0,\"ResponsableId\":26,\"ResponsableText\":\"QAUSER12\",\"StepNumber\":0,\"_Index\":\"Steps[2c48286c-2d1c-457c-a4bb-c2f15d7cdfb8]\",\"KanbanBoardId\":null,\"KanbanBoardText\":null,\"KanbanBoardColumn\":null,\"KanbanBoardColumnText\":null,\"ShowActivityInKanban\":false}]},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"regression12\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":null,\"OperationId\":\"d0sNZALI/Ik=\",\"EnqueueTime\":\"2026-02-19T19:04:40.9448207-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);