<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Scheduled Task is failing due to invalid script identifier]]></title><description><![CDATA[<p dir="auto">I created a scheduled task that points to an OtterScript.  I created the script it is pointing to as a global script via the Administration screen. Even though I can clearly see the script and the name I keep getting the error</p>
<pre><code>System.FormatException: "Purge_Orphaned_Feature_Releases" is not a valid DeploymentScript identifier for the "global" scope.
</code></pre>
<p dir="auto">when it attempts to fire the scheduled task.</p>
<p dir="auto">The original name was <em><strong>Purge Orphaned Feature Releases</strong></em> but I changed it to use underscores thinking the spaces had something to do with it.  I even tried prefixing it with global::.  I'm hoping someone can tell me what is going on so I can get this working.</p>
<p dir="auto">Here is a screenshot showing the script is defined globally</p>
<p dir="auto"><img src="/assets/uploads/files/1780373876028-8ffd9e57-741e-4da2-8c09-8e3631d27062-image.png" alt="8ffd9e57-741e-4da2-8c09-8e3631d27062-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Here is a screenshot showing the current configuration for the scheduled task</p>
<p dir="auto"><img src="/assets/uploads/files/1780373951844-dd8e58ea-c186-42a2-8c6e-191400039c4f-image.png" alt="dd8e58ea-c186-42a2-8c6e-191400039c4f-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Thank you,<br />
Brandon</p>
]]></description><link>https://forums.inedo.com/topic/5769/scheduled-task-is-failing-due-to-invalid-script-identifier</link><generator>RSS for Node</generator><lastBuildDate>Tue, 02 Jun 2026 18:18:15 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5769.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Jun 2026 04:19:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Scheduled Task is failing due to invalid script identifier on Tue, 02 Jun 2026 04:19:29 GMT]]></title><description><![CDATA[<p dir="auto">I created a scheduled task that points to an OtterScript.  I created the script it is pointing to as a global script via the Administration screen. Even though I can clearly see the script and the name I keep getting the error</p>
<pre><code>System.FormatException: "Purge_Orphaned_Feature_Releases" is not a valid DeploymentScript identifier for the "global" scope.
</code></pre>
<p dir="auto">when it attempts to fire the scheduled task.</p>
<p dir="auto">The original name was <em><strong>Purge Orphaned Feature Releases</strong></em> but I changed it to use underscores thinking the spaces had something to do with it.  I even tried prefixing it with global::.  I'm hoping someone can tell me what is going on so I can get this working.</p>
<p dir="auto">Here is a screenshot showing the script is defined globally</p>
<p dir="auto"><img src="/assets/uploads/files/1780373876028-8ffd9e57-741e-4da2-8c09-8e3631d27062-image.png" alt="8ffd9e57-741e-4da2-8c09-8e3631d27062-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Here is a screenshot showing the current configuration for the scheduled task</p>
<p dir="auto"><img src="/assets/uploads/files/1780373951844-dd8e58ea-c186-42a2-8c6e-191400039c4f-image.png" alt="dd8e58ea-c186-42a2-8c6e-191400039c4f-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Thank you,<br />
Brandon</p>
]]></description><link>https://forums.inedo.com/post/19747</link><guid isPermaLink="true">https://forums.inedo.com/post/19747</guid><dc:creator><![CDATA[brandon_owensby_2976]]></dc:creator><pubDate>Tue, 02 Jun 2026 04:19:29 GMT</pubDate></item></channel></rss>