<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I cannt save the process model. This always says.. &amp;quot;The Process Model is invalid.&amp;quot;</title><link>https://community.appian.com/discussions/f/process/14989/i-cannt-save-the-process-model-this-always-says-the-process-model-is-invalid</link><description>Hi everyone, 
 I&amp;#180;ve a problem because I cannt save my process model. I was looking for a solution, but I didnt find it. Any suggestion? 
 I&amp;#180;ve check: 
 - The Rules (name and inputs) and process variables are using correctly. 
 - The escalations in Tasks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/77207?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2020 10:08:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb806b22-eccf-4597-aa6d-5b3d76548e35</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>&lt;p&gt;I encountered this error while simultaneously logging with basic user for some testing and forgot to log back with my designer credential in another tab. When I logged in with designer credentials, I was able to save and publish the process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/67228?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 16:17:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d044e125-bec9-4e7b-814c-0c587fd9bd67</guid><dc:creator>RajHasti</dc:creator><description>&lt;p&gt;Yes i do see this behavior most of times with copy nodes from one process model to other or from older version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/67222?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 15:23:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c1f57c95-3f53-41e0-b35b-9577288316d2</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="2478" url="~/discussions/f/process/14989/i-cannt-save-the-process-model-this-always-says-the-process-model-is-invalid/67020"]Also before you do this, I&amp;#39;d recommend copying all the nodes to another process (it can be an empty one), because then you can copy any nodes back[/quote]
&lt;p&gt;There&amp;#39;s a small but severe caveat to this - if any node has an output expression that takes up multiple lines (i.e. has any linebreaks at all), and it&amp;#39;s copied into a process model where that expression&amp;#39;s output PV doesn&amp;#39;t exist, everything after the first line of the expression will be cleared upon pasting.&amp;nbsp; This is an issue that I&amp;#39;d be happy if Appian fixed, though I have no reasonable expectation of that happening anytime soon, as it&amp;#39;s been around for years as far as I&amp;#39;ve seen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/67221?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 15:10:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:442847e8-e124-4f6a-9b2c-53ac080e0062</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;If you have extensive script embedded in your Script Tasks you can mitigate this by encapsulating in a rule and calling that (it doesn&amp;#39;t remove the risk but it does reduce it dramatically). It&amp;#39;s also&amp;nbsp;best practice because you can test your script independently of the process where you use it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/67215?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 13:50:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ee44724-39cc-4cd2-b96f-aabe06dcb96b</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>&lt;p&gt;&lt;span&gt;I found the script that was giving problems, deleting node to node. I&amp;nbsp;removed a node and tried to save, until it worked.&amp;nbsp;After this, I created the script again. Thanks for your help! And for your appian video tutorials,&amp;nbsp;I started learning appian with them!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Pablo Ramos.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/67020?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 14:33:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9cd8715c-3ff5-454c-95d9-6d34b72fabaa</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Can you try to keep deleting nodes and attempt to save again each time you delete one? There is likely something in one of the nodes - I&amp;#39;ve mostly seen it with a reference to a process variable or activity class parameter that has been deleted.&amp;nbsp;Eventually, you should delete one node that will then allow you to save it.&lt;/p&gt;
&lt;p&gt;Also before you do this, I&amp;#39;d recommend copying all the nodes to another process (it can be an empty one), because then you can copy any nodes back after making your changes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/67007?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 09:53:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:498caa23-9cb1-4ec7-97d1-4e121373a405</guid><dc:creator>amanit0001</dc:creator><description>&lt;p&gt;This could happen if there are deleted process variables still getting used somewhere in the process. So please check the nodes in detail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannt save the process model. This always says.. "The Process Model is invalid."</title><link>https://community.appian.com/thread/67006?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 09:30:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41a1b2ce-8148-415c-a3af-60f4fdf4c843</guid><dc:creator>paulc919</dc:creator><description>&lt;p&gt;I&amp;#39;ve had this before. From memory I think one of the expression rules I was calling had an extra comma in that although the expression editor didn&amp;#39;t complain about was being picked up in the process model - so might be worth checking expression rules again.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>