Compiler Error on Categorize Activity - Compiler error(s) encountered processing expression "categorize".(2) : error BC30311: Value of type 'categorize_Create' cannot be converted to 'categorize_Create'

Good afternoon UiPath Forum.

I am working through the Agentic AI course and uploaded the project file provided by UiPath. Working through the updates needed, I run into an error in how the Categorize activity is setup. I follow the steps in the first image below. I get the error message in the second image after selecting a text variable. The data types of the output variables (in case it’s helpful) are in the third image below. What is causing that particular error? How to fix? Always grateful Forum. Many thanks.

@jamie_garvey

try deleting categorize and recreate it again from the activity options itself

cheers

Hey @jamie_garvey
This error means the project has two different versions of the type categorize_Create (probably one from the original template and one from the current activity), and Studio can’t match them.
Delete the categorize variable from the Data Manager, then go back to the Categorize activity, clear the field under Output and recreate.

Perfect. That’s it. Thanks @Anil_G

1 Like

Perfect. Thanks @pikorpa . That’s it

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.