Errors unresolved activities and error "Document is invalid" at opening invoked workflows

Hi there,

I really need your help.

I have a program that was still working at the beginning of December 2024 and could be tested successfully.

Now when I open the same program (no changes/updates on local server or in Studio) various errors appear when opening, see screenshot:

I already tried several things - updating packages, downgrading packages, reopen the file in an empty project etc. - but nothing really helps.

When I go back to an older packages version, the red error messages disappear, but there are still error messages in individual workflows like this:

and some invoked workflows cannot be opened, like this:

The problem is that I have no access and insight anymore in order to know which activities were in the erroneous xaml-files / workflows. It is difficult to re-work the logic steps totally new…

Does anyone have an idea what can I do so that these errors are solved and the activities are available/visible again?

Many thanks for your help!!!

Hi @stefi,

Is there a backup of your old project? On Git/Bit Bucket or on orchestrator?

If you had published project to orchestrator before, you would be able to extract its older version from there.

And then you should be able to do a cross check on which were those activities that went missing. That way you should be create that activity in your current project and resolve the error.

Regards
Sonali

@stefi

Is it possible to attach the project here?

As per errors looks like either the xamls have corrupted data or references are missing.there can be many causes takign a close look at xaml can help…if you cannot share open the xaml in notepad and check the positions mentioned in errors for any special invalid characters or so

Cheers

It looks like your xaml files are corrupted If you have any backup file, try to use them, or if both machines are different, try to install the package & version that were used when developing this

Hi @sonaliaggarwal47,

Thank you for your answer!

And yes, there is a backup of my old project in Git (Bitbucket). I already opened an older project version but there are the same errors… Errors / unresolved activities are also present in project versions with older dependency versions… :frowning:

Hi @Anil_G,

Thank you for your answer!

I cannot share the project but I already had a look into notepad and the error is, for example, in the place of the “Guid” as the error message mentions, see here:

However, I can’t do anything with this error location and error message… :frowning:

Hi @chandreshsinh.jadeja,

Thank you for your answer!

Also in any backup file there occur errors… What do you mean with “if both machines are different”?

I also set back the package versions back to the versions that were used when developing this, but the errors are still there.

And by the way, in the beginning of December, the used package versions worked. And without doing any changes, now by opening the project there are a lot of errors… :frowning: I’m at a loss…

Hi,
I found the solution: I updated UiPath Studio Enterprise Edition to a newer version (from 2023.4.4 to 2024.10.7) and by opening the xamls no errors occur anymore.

:slight_smile:

1 Like

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