Hi All,
I have a requirement to do the queue data validation in the queue schema itself (I can’t go with the usual data validations as we normally do in dispatcher/performer).
I tried giving a regex value in the pattern of the queue json but somehow it’s not getting validated.
Attaching the queue json schema I created along with a sample csv file I used for testing.
Need to understand why the regex is not working .
The regex I used in the first pattern is to validate a number starting with 966 and have a total of 12 digits. sampleQueueSchema.json (541 Bytes)
Sample csv input screenshot
In the true case scenario only the first row should get added to the queue , but here both the items are getting uploaded(ie regex validation not working)
If your question is I am using the regex in Json file to extract the number in the picture which is starts with 9666 and other 9 numbers.
The regex are not working which is in Json file to extract the data.
Better to change the regex expression.
I have written a regex. Check the below one.
Hi @mkankatala ,
I already tried with the above mentioned regex . It’s also not working , the validation is not happening.
Also the screenshot I given is the sample csv file that will be uploaded to the queue for testing purpose.
Hi @mkankatala ,
The forum is not allowing me to upload a csv file, that’s why I attached the screenshot of my sample CSV file opened in Notepad++.
The issue I face is I have to use regex validation in UiPath orchestrator queue schema and I read that by using the keyword “pattern” we can give that validation.
But when I tested that the validation is not working and all data/queue items will be uploaded to the queue without any validation.
Please do let me know if any more info is required.
Hi @mkankatala ,
I have also tried with this and the result is same, that validation is not happening in the queue and all the items are getting pushed to queue.
I believe there is something issue with the queue json schema but I am not able to identify the issue