Convert from windows to windows legacy

Hy,

I’m trying to convert my workflow from windows compatibility to windows legacy rn. I’ve tried this one:

After I do it, I get this error message when I tried to open the workflow:

Can anyone help me with this problem?

hi @yspp25
try to open json file and replace windows -legacy to windows

@yspp25

To convert a workflow from Windows Workflow Foundation (Windows Workflow) to Windows Workflow Foundation Legacy (Windows Legacy) in UiPath, you need to follow these steps:

  1. Open the Windows Workflow (Windows Workflow Foundation) project in UiPath Studio.
  2. In the Solution Explorer pane, locate the project file (with the .xaml extension) that you want to convert.
  3. Right-click on the project file and select “Open With” from the context menu.
  4. In the “Open With” dialog, choose “Windows Legacy Designer” from the list of available options.
  5. Click “OK” to open the workflow in the Windows Legacy Designer.
  6. The workflow will now open in the Windows Legacy Designer, and you can make modifications or adjustments as needed.
  7. Review the workflow and ensure that all the activities and logic are compatible with the Windows Legacy Designer. Some activities or features from the newer Windows Workflow Foundation may not be supported in Windows Legacy.
  8. Save the workflow in the Windows Legacy Designer.
  9. Test the workflow to ensure that it functions as expected in the Windows Legacy environment.

Hallow @Yazan_Otaibi I do change the json file to windows again and it work perfectly like before. But, my concern is I need to convert the compatibility to windows legacy but, it keep showing that error message when I do it by changing the json file

Hi @Yazan_Otaibi

Open the Json file of the project it was in the notepad format.
Scroll to last of the notepad you find out “targetFramework”: “Windows” this one.
Change the Windows to Windows-Legacy.
Find out the below screenshot for your reference.

Hope it helps!!

@rlgandu Thanks, I’ll try it and I’ll let you know if it work

i prefer to create new project with legacy type
and copy your old seq to it

I tried it already but I can’t paste the sequence from windows to windows legacy :’

@yspp25
try to check if the version of pkgs is same

I’ll check it again and update if I it solve that way :smile:

Thankyou

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