<?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>Help Required Please Help with Expression Rule to iterate.</title><link>https://community.appian.com/discussions/f/general/30374/help-required-please-help-with-expression-rule-to-iterate</link><description>i am creating record type (Source as web service ) Also Created one expression rule as written in code snipet 
 But it returns output like this 
 
 by doing like this project id will be blank in record type or i have to to join array to make it comma</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Help Required Please Help with Expression Rule to iterate.</title><link>https://community.appian.com/thread/120721?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 05:45:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:450b8e2b-9f02-4c90-8645-def42c684314</guid><dc:creator>Harman</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!flatten(
    a!forEach(
      local!rows,
      a!forEach(
        items: fv!item,
        expression: a!localVariables(
          local!id: index(fv!item, &amp;quot;numericId&amp;quot;, {}),
          a!forEach(
            items: fv!item.projectIds,
            expression: a!map(
              projectId: fv!item,
              customFieldId: local!id,
              Id: concat(local!id &amp;amp; fv!item),
            )
          )
        )
      )
    )
  )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>