Invalid format for argument ‘orderIndex’: Input string was not in a correct format

Hi guys, I have an issue while executing case 2 (refund).

I get an error msg -

Invalid format for argument ‘orderIndex’: Input string was not in a correct format.

at UiPath.Executor.ExecutorUtils.DeserializeArguments(DynamicActivity workflow, IDictionary`2 arguments, Boolean shouldThrow)
at UiPath.Executor.RobotRunner.InitWorkflowApplication()
at UiPath.Executor.RobotRunner.d__84.MoveNext()

I have already set mandatory field on orderIndex with Entity “@sys.number

I don’t know why it will still pass the argument into string format to the workflow?

Hi @PhiLaw, it’s likely that the input ‘1st order’ wasn’t recognized as the orderIndex entity due to the lack of relevant training data.
I’d recommend adding and annotating additional training phrases to the ‘Refund’ intent so your chatbot is able to extract the orderIndex entity

1 Like