Error Message - Categorize Activity

hi all, I am working on agentic-automation-developer-associate-training, but i had this

error and no idea how to solve it, any solutions? thanks

Hello @Wejdan_Nofal try changing the type of vaariable to List<UiPath.GenAI.Categorize.CategorizeCategory>

Cheers

hi, @Wejdan_Nofal Welcome to UiPath!

try changing variable

apologies what variable can you please send me screenshot

how and what variable to choose

Open the Variables panel in UiPath Studio and create a new variable, for example named categoriesList, with type List<UiPath.GenAI.Categorize.CategorizeCategory>. Before the Categorize activity add an Assign activity to initialize this variable with a new list of categories like New List(Of UiPath.GenAI.Categorize.CategorizeCategory) From { New UiPath.GenAI.Categorize.CategorizeCategory With {.Name = "Category1"}, New UiPath.GenAI.Categorize.CategorizeCategory With {.Name = "Category2"} }, replacing the category names as needed. Then in the Categorize activity set the Categories property to categoriesList

Cheers

@Wejdan_Nofal its working fine in my workflow

delete and add the Categorize activity again or can you share your properties and data types if possible