<?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>Error using Start Process Link in an Interface</title><link>https://community.appian.com/discussions/f/user-interface/24136/error-using-start-process-link-in-an-interface</link><description>Hi, 
 I am trying to use startProcessLink in a grid view Interface so that an user can edit the selected record by selecting a location Name. This is my first time using this method. 
 When I am selecting an entry, I am getting an error message: 
 An</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93030?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 22:16:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1cfe48ba-d618-4600-a9f0-acf02a682c9e</guid><dc:creator>sn25</dc:creator><description>&lt;p&gt;Hi Stefan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to use a link in the below read only grid interface to edit the entries in another form. So calling another form when the user selects location name.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1648678143090v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Below is the form to edit the selected entry.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1648678296700v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I want to use a local variable that hides the grid and shows the selected location and do the necessary changes.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried with Process link but coming with a blank edit form. So thought of doing with a dynamic link.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But not able to figure it.&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;a!gridColumn(
          label: &amp;quot;Location Name&amp;quot;,
          sortField: &amp;quot;description&amp;quot;,
          value: a!linkField(
            links: {
              a!dynamicLink(
                label: fv!row.description,
                value: fv!row.description
              ),
              
            }
          ),
          align: &amp;quot;CENTER&amp;quot;,
          width: &amp;quot;MEDIUM&amp;quot;
        )&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please advice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93029?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 20:15:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5023613e-32ed-404a-82c0-a5166933589c</guid><dc:creator>sn25</dc:creator><description>&lt;p&gt;Something wrong with the way I was passing the parameters. Trying with dynamic link now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93028?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 19:23:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cdd5f8e2-df7d-4aed-a34c-41cabe0b3341</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;For the record action, you can only pass in the ID for that record. In your case, using location ID should be all you need because then you can query additional information on the form itself&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93027?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 18:37:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d56a0381-554f-4236-821b-cf253e26f8b9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You did it the right way. Have a process variable configured as parameter and pass the value in a dictionary.&lt;/p&gt;
&lt;p&gt;What exactly did not work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93026?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 17:59:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7df3c015-01f5-4538-adfe-04263068dc79</guid><dc:creator>sn25</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I fixed the record action problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But I still want to know how to pass process parameters in process link in an interface in my case?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93025?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 17:45:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c742e7bb-11c4-4e15-9b69-70ee5f1f37e2</guid><dc:creator>sn25</dc:creator><description>&lt;p&gt;Hi Danny,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your inputs. I haven&amp;#39;t marked Location Id as a parameter. I have location parameter of CDT type and cancel as parameters.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried using the record action but not able to pull in the action in my interface. I manually typed the name manageLocations.&lt;/p&gt;
&lt;p&gt;I am getting the error:&amp;nbsp;&lt;strong&gt;&lt;span style="color:#0000ff;"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt; Interface Definition: Expression evaluation error at function a!recordActionField [line 4]: Invalid index: Cannot index property &amp;#39;actions&amp;#39; of type Text into type RecordType&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color:#0000ff;"&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!recordActionField(
      actions:{
        a!recordActionItem(
          action: &amp;#39;recordType!{853ab9ac-cf5f-4aa8-950b-97bb7de9adab}BC Location&amp;#39;.actions.manageLocations
        ),
        
      },
      
    )&lt;/pre&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color:#0000ff;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Also, you mean to say that I should add the below form as start form?&amp;nbsp; or the add/edit form as start form? Please clarify.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1648662275333v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93024?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 17:31:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f07e0e85-ee55-4cee-944e-3155184593cd</guid><dc:creator>sn25</dc:creator><description>&lt;p&gt;Ok. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93023?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 17:29:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:24c4289a-7dfc-4878-a43f-27c145636400</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not sure. Depends on what you want to do.&lt;/p&gt;
&lt;p&gt;Keep in mind that the data must match. The process variable is of a CDT type and the data passed in is just an ID. That will not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93022?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 17:23:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f45f099-635c-4145-ac0c-b9be8735c7a3</guid><dc:creator>sn25</dc:creator><description>&lt;p&gt;Hi Stefan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Should I use both the below parameters in the process link?&amp;nbsp;&lt;span&gt;(processParameters: { locationId: fv!row.locationId })&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1648660885718v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93020?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 16:36:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5ef1b457-b4df-4eff-bce1-3182e2b95ecc</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;Have you marked the variable &amp;#39;locationId&amp;#39; as a parameter?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, for your use case I recommend looking into record actions&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.3/Record_Action_Component.html"&gt;https://docs.appian.com/suite/help/20.3/Record_Action_Component.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a much better design pattern and allows your uses to open forms in dialogs instead of a new page.&lt;/p&gt;
&lt;p&gt;Also, I recommend setting your form as a &lt;a href="https://docs.appian.com/suite/help/21.4/process-model-object.html#process-start-form-tab"&gt;Start Form&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error using Start Process Link in an Interface</title><link>https://community.appian.com/thread/93018?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 16:34:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86c6a7da-3d90-40a2-bc98-bd7a78e5c4d2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Define the process variables in the model as parameters. Check process model properties to do so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>