<?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>Locate parameterId but can&amp;#39;t find the index</title><link>https://community.appian.com/discussions/f/new-to-appian/21775/locate-parameterid-but-can-t-find-the-index</link><description>I am trying to find the roleId by join the save role between two tables and save it into database, i used a!forEach loops for keep searching the equal role, but seems it is not acceptable and can&amp;#39;t find fv!index seemly. Error report as follow: 
 Could</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85299?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 05:31:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a7d4bef-bb6c-416c-a56f-7c907f6a0652</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;sometime the back end database certain column can&amp;#39;t be null, in the interface i didn&amp;#39;t require user fill it, however i don&amp;#39;t want this those column can&amp;#39;t leave empty in the back end report any error, what I did is fill in some default value, and then it didn&amp;#39;t report any error, now would be fine. But i wonder are there any better ways jump over it besides fill in some default value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85298?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 05:28:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f598243-5845-4250-8b39-3eca41f100fe</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;can you elaborate? I didn&amp;#39;t really get your issue,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85270?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 01:44:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:37311082-eb71-4364-b1a6-eaeb3b1c7781</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;Thank you sir, do you know how to make the active column of database be allowed to be null from database?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85253?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 14:38:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8bd9ab2-0753-480e-85b1-ce36d8903f5e</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;the value you write/chooe in your sail form component. in general you need to save your written text/number or selected value like a date etc&lt;/p&gt;
&lt;p&gt;usually done by this:&lt;pre class="ui-code" data-mode="text"&gt;EXAMPLES:
value: local!myVariable, /*or ri!myVariable*/
saveInto:{
    local!myVariable,  /*or into a ruleinput like ri!myVariable*/
    a!save(),
    a!save()
},


Or
value: local!myVariable, /*or ri!myVariable*/
saveInto:{
    a!save(
        target: local!myVariable,
        value: save!value
    ),  
    a!save(),
    a!save()
},&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85250?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 13:01:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:237131b1-1959-447c-b858-296dfabb438c</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;save！value refer to what?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85238?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 10:26:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73cc58b8-cfff-438b-8587-078bc50515e1</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;a!save(ri!userinputsheet.Role,ri!userinputsheet.Role), -&amp;gt;you are saving the value into itself.&lt;/p&gt;
&lt;p&gt;suggestion:&lt;pre class="ui-code" data-mode="text"&gt;a!save(
target: ri!userinputsheet.Role,
value: save!value
)&lt;/pre&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85230?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 10:02:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7198a52-cb54-4ec4-90e8-9db93798a697</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;do you know why my drop box just appear the value for 1 seconds? Then it appear back to placeholder&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85228?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 10:00:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ded550b7-d712-48ca-8a10-03f6ca84edec</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;i forgot that parenthesis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate parameterId but can't find the index</title><link>https://community.appian.com/thread/85227?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 09:57:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6739e502-b00a-47fd-8e0c-68fc4b4e1867</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;your a!forEach items are: &amp;quot;rule!KONE_Development_Role_RoleId&amp;quot;&amp;nbsp; (no -&amp;gt;()? )&lt;br /&gt;&amp;nbsp;in your expression you are searching within the values you inserting with this rule for the attribure &amp;quot;role&amp;quot; for each item.&lt;br /&gt;1.) check the format of &amp;quot;&lt;span&gt;KONE_Development_Role_RoleId&amp;quot;. Does it have an attribute role_id?&lt;br /&gt;2.) perhaps insert&amp;nbsp;KONE_Development_Role_RoleId into a local and use the local. so you have more control what kind of values you are inserting in that array via your rule&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>