Invoke Process workflow file Issue - Literal<QueueItem>:Literal only supports value types and the immutable type System.String. The type UiPath.Core.QueueItem cannot be used as a literal

My framework code was running okay all along but now it has stopped working when it is trying to invoke the process.xaml file due to the following error:

Invoke Process workflow: The following errors were encountered while processing the workflow tree:
‘Literal’: Literal only supports value types and the immutable type System.String. The type UiPath.Core.QueueItem cannot be used as a literal.

I have tried changing the argument and string and to no avail. Would anyone be able to have a solution to this problem please as I seem to be getting nowhere with this error stopping each time now.

This is what I have currently on screen

@ciaramkm Have you checked this post :

Hi. Yes I saw this earlier and didn’t work either :frowning:

@ciaramkm So deleting the arguments didn’t work ? As you said, this process was working before and suddenly you have ran into this problem, without you making any changes to the process?

Went into the Process process page rather from the main page arguments, and did the above then so it worked again. It’s a strange one!! Thank you for your help :slight_smile:

1 Like

@ciaramkm So earlier you didn’t delete the arguments inside the Process :sweat_smile:, If you modify or add the Arguments From where the Workflow is Invoked it won’t modify the arguments. You would have to go into the Workflow. Modify the arguments there, save it, and then you can see the modifications if you click on import arguments.

2 Likes