MarketplaceStudioSnippetKill Processes per User

Create your first automation in just a few minutes.Try Studio Web

Kill Processes per User

Kill Processes per User

by Clayton Marischen

3

Snippet

Downloads

403

Marek Bacewicz
Posted 6 years ago

Have you tested it with high density set up? It's killing processes for all users logged on given VM.

Clayton Marischen
Posted 6 years ago ago

Hi Marek,

I have tested this in a High Density configuration on a Windows Server Environment, and we use it frequently. If you look at the code, it assigns the current Session ID to current_session, and when it filters the processes, it only takes the processes that match that session ID. If you have problems, you can disable the "Kill process" activity, and see what processes are being killed in the Output console, which lists everything, and compare on different logon sessions.

Hopefully, that helps answer your question. Let me know if you need further information, or hit me up on the forums.

Regards.

Stephan Smidt
Posted 6 years ago

When running as a project it works fine (although it has some project dependencies), but when invoking the workflow I get the following error: "Could not find type 'IsTrue' in namespace http://schemas.microsoft.com/workflow/2012/07/xaml/activities'". Is there a newer version or a fix available for this?

Clayton Marischen
Posted 6 years ago ago

Hi. With version 18.4 and newer, I believe, the dependencies are managed differently. You need to include the same activities found in this workflow as dependencies for your project, if they aren't already. So for the "IsTrue" activity, you need to install the Workflow Manager Activities from the Official/Gallery feed while your project is open to save it into the dependencies. This should include the package as a dependency for the project and resolve the error.

Thanks for the feedback. I will add the dependent activity packages to this.

Let me know if you have any other issues or questions. Thanks.

Publisher

Clayton Marischen

Visit publisher's page

License & Privacy

Apache

Privacy Terms

Technical

Version

1.0.1

Updated

February 18, 2020

Works with

Studio: 18.2 - 22.10

Certification

Silver Certified

Application

Microsoft Windows

Support

UiPath Community Support