Migrating UiPath Scripts to Javascript

Hi everyone,

I’m exploring the possibility of migrating existing UiPath scripts to JavaScript. I’d like to know:

  1. Is there an official or recommended way to convert UiPath workflows into JavaScript?
  2. Are there any tools or best practices for rewriting UiPath automation in JS?
  3. Has anyone attempted a similar migration? If so, what were the key challenges?

Any insights or guidance would be greatly appreciated. Thanks in advance!

Best,
Ahsan Khan.

Hi @ahsan_khan
As per my knowledge,

  • No, there is no official tool or method to directly convert UiPath workflows to JavaScript.

  • No direct tools. You need to manually rewrite the automation using JavaScript libraries like Puppeteer for web automation and other libraries for specific tasks.

  • Yes, some have migrated, facing challenges like translating visual workflows to code, managing state manually, and finding JavaScript equivalents for UiPath activities.

If you found helpful, feel free to tick as a solution.
Happy Automation

@prashant1603765 Thanks for the quick response, so is there any other way to migrate UiPath scripts to js. Actually, I want to use few of my UiPath scripts in javascript. and I’m looking for alternative to avoid manually rewriting all the UiPath scripts to js code.

Hey @ahsan_khan No, UiPath doesn’t provide an official tool or direct method to convert workflows to JavaScript. UiPath workflows are based on .NET, while JavaScript operates in a completely different ecosystem.

However, UiPath has some integrations:

  • UiPath API: You can trigger UiPath robots using REST APIs from JavaScript.
  • UiPath Apps: For some automation, UiPath Apps can integrate with JavaScript for UI interactions.

But for a full migration, it requires a manual rewrite of the automation logic in JavaScript.

cheers

@ahsan_khan

As of now the answer is No. But you can give the feedback to UiPath, Might be available in future.

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.