using LegalOne.Lib.Queue.Hangfire.Queues;
var backgroundTaskQueueResolver = Activate<BackgroundTaskQueueResolver<SubTaskCreateBackgroundTask,TaskQueueItemParam<SubTaskCreateViewModel>>>();
backgroundTaskQueueResolver.Run(
"Job: SubTaskCreateBackgroundTask for Tenancy: regression23",
FromJson<TaskQueueItemParam`1>("{\"ReportModelId\":0,\"ReportId\":0,\"AppIdInstance\":0,\"Parameter\":{\"ParentId\":831,\"ParentOriginType\":1,\"Steps\":[{\"TypeId\":\"tipo_1\",\"TypeText\":\"Audiência\",\"ExpectedCompletionDate\":\"2026-02-18T00:00:00\",\"Deadline\":null,\"TypeIdInt\":null,\"SubTypeIdInt\":null,\"Id\":null,\"Description\":\"T4FDDD\",\"DeadlineCount\":1,\"DeadlineOperation\":0,\"DeadlineType\":0,\"ResponsableId\":13,\"ResponsableText\":\"QAUSER\",\"StepNumber\":0,\"_Index\":\"Steps[83c52720-7fe9-4117-bc2d-9ffff19de685]\",\"KanbanBoardId\":null,\"KanbanBoardText\":null,\"KanbanBoardColumn\":null,\"KanbanBoardColumnText\":null,\"ShowActivityInKanban\":false}]},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"regression23\",\"TenantIdentifier\":null,\"UserId\":13,\"BatchId\":null,\"OperationId\":\"VxoffevEsYg=\",\"EnqueueTime\":\"2026-02-19T18:59:42.8124235-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
null);