Is there a capability with UiPath where we can pass automation steps through a file?

Basically what we trying to achieve here is, we are trying to replicate same set of steps we did on system A to system B.
Steps we are doing on System A is written in to file as the instructions for UiPath and then UiPath follow the steps on the file and make those changes on system B.

Lets say I generate a file with automation instructions like below:

  1. Log into a webpage xyz
  2. Go to particular page
  3. On a grid, select order 123
  4. Under order 123 there are 5 suborders and I want to change it’s sequencing order by drag and drop. (ex: order no 1 and 5 gets swapped)
  5. Click save button

Then UiPath tool read the instructions from the file and follow the automation steps on it and do the relevant updates to order 123.

Is this possible? Or is there any other capability within UiPath that does similar thing?

Hi @patrick.sameera

UiPath does not natively interpret high-level instructions (like “swap suborders by drag and drop”) without being programmed to do so, you need to create a workflow once these instructions are parsed into specific UI actions.

You can create specific actions workflows according to your requirement then use switch activity or if condition to perform these actions as per requirement.

Hope this helps :slight_smile:

1 Like

@patrick.sameera,

As per my knowledge and understanding, unfortunately UiPath don’t have this capability as it requires every workflow in project folder only. This project folder gets packed into a Nuget package which becomes a kind of environment in itself while running the process/bot.

One posible solution I think would be integrate Python script.

Write down your logic in a python script as per machine and store it on that perticular machine.

Bot will pick the script as per machine and execute it.

Thanks,
Ashok :slightly_smiling_face:

1 Like

No there isn’t. Once you’ve got more experience doing selectors and all the options and different ways things can be achieved, you’ll understand why this kind of “do it for me” thing doesn’t exist.

UiPath is not a “AI please too this for me” tool. It is a platform that help with developing automations.
For that, you will need to read the instructions of your process, think about how to do that process better, and them automated it yourself with the help of UiPath.

Since you mentioned “web page”, have a look at this one:

1 Like

@patrick.sameera

There is no direct way to do it…and that capability natively is not present

but you can try a poc to check using generative activities to generate a javascript to do this task and use injectjs and check but again as said this would be an experiment and not a feature

cheers

1 Like

Hello @patrick.sameera

You could make an automation that writes these guidelines to an Excel file.
But you would have to adapt your automation to know what to do, if the file says X and if the file says Y.

Regards
Soren