UiPath Accelerator for SAP S/4HANA for Manufacturing

I need some help with the UiPath Accelerator for SAP S/4HANA for Manufacturing.

When I try to open one of the workflow files (.xaml) from the accelerator package in my development environment, Studio throws a critical error and fails to load the file.

The Problem

The specific error I’m receiving is: Old XAML format using ViewStateManager is not supported.

It seems that the XAML files included in this accelerator were created with an older version of UiPath Studio. My modern Studio version can no longer interpret this old format, which apparently relies on ViewStateManager.

My Questions

  1. What is the recommended process to upgrade or migrate these older XAML files to make them compatible with the latest Studio versions?
  2. Is there a newer version of the SAP S/4HANA for Manufacturing Accelerator that is already compatible?
  3. Has anyone else encountered this and found a reliable workaround?

Environment & Error Details

For full context, here is my environment information and the complete error log.

  • Product: UiPath Accelerator for SAP S/4HANA for Manufacturing
  • Studio Version: 25.0.172-cloud.20747
  • Target Framework: (Please specify if it’s Windows-Legacy, Windows, or Cross-platform)

Full Error Stack Trace:

Error: RemoteException wrapping System.NotSupportedException: Old XAML format using ViewStateManager is not supported. at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.LoadFileInDesigner(String fileName, WorkflowDesigner designer) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.BuildInternal(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.Build(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.LoadAsync(String fileName) at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass11_0.<<Load>b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass11_0.<<Load>b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Shared.MVVM.Services.DispatcherService.InvokeAsync(Func1 func)
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.Load(String fileName)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler), HResult -2146233088

Any guidance or help would be greatly appreciated. Thank you!

Install an older UiPath Studio that still supports ViewStateManager and Open the .xaml in that version — it should load fine. Save the file without making changes — Studio will automatically convert the metadata to the modern format. Then reopen it in your current Studio (25.x) — it should now load. Or you can remove the ViewStateManager by opening the xaml in text editor like vs code and find the sap2010:ViewStateManager element and delete it then save and reopen it.

Hope this find you needful if it does then mark it as SOLUTION

Happy Automation