<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Code activities on Virtosoftware Guides &amp; Docs</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/code-activities/</link><description>Recent content in Code activities on Virtosoftware Guides &amp; Docs</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 24 Oct 2024 18:33:53 +0000</lastBuildDate><atom:link href="https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/code-activities/index.xml" rel="self" type="application/rss+xml"/><item><title>Execute custom code</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/code-activities/execute-custom-code/</link><pubDate>Thu, 24 Oct 2024 18:33:53 +0000</pubDate><guid>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/code-activities/execute-custom-code/</guid><description>&lt;p&gt;This activity enables the execution of custom C# or VB.NET code from within SharePoint Designer Workflows.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/execute_custom_code_1.png" alt="execute_custom_code_1" /&gt;&lt;/p&gt;
&lt;p&gt;You can use this activity to invoke custom C# or VB.NET code in SharePoint Designer without needing to create complex Visual Studio workflows. The activity follows a script-like approach, so there’s no need to define namespaces, classes, or method names.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: The code should include the &lt;code&gt;using&lt;/code&gt; (imports) section and code lines without method (Sub procedure) declarations.&lt;/p&gt;</description></item></channel></rss>