Hello there!
I’m relatively new to using OpenRPA, and I’m not terribly savvy with these things. I regularly use it to automate a part-time job I have submitting invoice data to a big retail chain. So far we have 55-ish line items, with 5 number variables for each one. My workflow goes something like: get element, input number, repeat five times for that line, click “add new line” button, repeat, for all 55 items.
Recently, I had to reinstall OpenRPA while troubleshooting my PC and realized that my project had exceeded the max file size months ago. I had been using my local save (FillRows.json) so this didn’t affect me, but I’m unable to import it now (last server save was in March, so it’s severely outdated).
Is there a way for me to use the offline version of the file exclusively?
Hey Jeangco. Are you uploading the JSON file to fs.files? Or are you trying to import an OpenRPA workflow in OpenRPA? How big is the file? If it helps, I don’t mind raising the limit for a short while so you can complete the import.
Hey Allan. It’s a JSON file for instructions for OpenRPA to input the strings into the browser where indicated. It’s around 612kb.
I decided that the file had gotten so messy over time, I might as well take the chance to remake it from scratch, so that’s what I need. I’ll be sure to reach out if I need to upload a big file again.
Do you know of any way/best practices to prevent files like these from bloating? I just have a giant list of instructions essentially looping get element, input string, click new line button, repeat.
Thanks so much for offering to help. Sorry it took so long to get back to you.
XAML is XML. It’s notoriously known for being “bloated,” so it tends to grow in size quickly. But that is not the worst part. If you export a workflow in OpenRPA, it will embed all images into the XAML as base64 encoded data (base64 is known to use up to 3 times as much space as the data that is encoded) to ensure we can re-extract the images as files and store them in grid fs.
So if FillRows.json is an exported workflow from OpenRPA, there is not much we can do except raise the max document size. (Right now, the max size is set at 512, so to help you, I raised it to 650. That should fix the issue for you.)