Missing or invalid activity - Retrieve previous configuration

Hi,
sometimes with packages update, an activity has some kind of issue and an error is returned, like following.

How in this case understand which was the activity and the configuration?
It not so easy every time remember what was the setup.

Regards
Roberto

Hi @r.pietrangeli

It will show in the Output Panel. Can you check it and share the SS

Regards
Gokul

hI @r.pietrangeli

Can you see the ouput panel below you will be said which dependency is not installed in the red colour

Regards
Sudharsan

Hi @r.pietrangeli,

Unfortunately you cannot with the older versions, but with the newer version of Studio (from v22.10.1) you can see which activity it is, it will show the name which is given:
2022-10-21 14_42_34-RoboticEnterpriseFramework - UiPath Studio Community

Like mentioned by Gokul and Sudharsan_Ka u can see in the output panel all details about the missing packages, when starting your project.

Kind regards,
Robert

Hi @r.pietrangeli check your dependency version. I think your dependency version is mismatch.

Like this it will be showed @r.pietrangeli

Regards
Sudharsan

Hi Robert,
I download the installer, but it updated the studio to the 2022.4.6
image
Is the 2022.10.1 stable?

Regards

Hi Sudharsan,
I downgrade the library UiPath.System.Activities to 22.4.5 because it was not stable.
I receive this issue

How can I fix?

Regards

Hi @r.pietrangeli,

UiPath is still patching the 22.10 release, we are waiting until the last patch have been released before upgrading to 22.10, we are still at v21.10.7.

In the resource-center you can see all stable versions for Enterprise:

Also, did you convert to the Windows platform with your project? Some custom packages are not yet converted to the Windows platform.

What you can do is to copy all of your packages to a backup-folder and delete the packages from your original packages-folder, then repair your dependencies, it should download all the packages you need for your project.

Kind regards,
Robert

Hi @Robert_Lansbergen,
apparently no dependencies need to be repaired.

image

I also expanded all but no one is red.

Do you mean changing from Windows Legacy to Windows?

Do you mean delete the dependencies?

Thank in advance for help.
Regards

check or add the UiPath.Credential.Activities package

Using the latest version can also result into a missing activity issue. So use a lower version of the package or replace / remodel it

Hi @r.pietrangeli,

I have looked at the error a bit closely, and it seems it fails at the get credential activity, did you use the get credential activity from the system activities?

2022-10-24 15_35_25-RoboticEnterpriseFramework3_Windows - UiPath Studio Community

If you cant find it in your project, you can try to use the activity again and remove or disable the “missing or invalid activity”.

Your dependencies are looking fine, and you dont have custom packages so the platform is not the problem either.

Kind regards,
Robert

Hi @Robert_Lansbergen ,
thank you for aswer.
I removed the wrong activity and reuse the activity.
Is this case is easy since is very trivial configuration.
But what could be done if configuration is not so trivial or I cannot remember what the activity was?
It is quite painful if every time I update the library something could generate an issue and I need to reconfigure 1 or more activities.
How do you proceed?
Regards

Hi @r.pietrangeli,

What we do is wait till the last patch has been released (from studio and packages) until we upgrade, until now we didnt had any issues, we upgrade once a year.

Last patch release is mostly when UiPath start with new versions after that version, so when UiPath start with releases of 23.4, we upgrade to 22.10 (including latest 22.10 packages system and UiAutomation).

And I use the Community Edition to discover the new features.

To come back to this problem you can always look in the output when starting your project, and starting from 22.10 you can see what activity it is which was missing or invalid.

Hope this helps!

Kind regards,
Robert

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