<?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>input : &amp;quot;x+y-x*y&amp;quot;        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/discussions/f/rules/26030/input-x-y-x-y-x-10-y-5-output-10-5-10-5-in-our-x-place-i-updated-10-y-place-i-updated-5</link><description>i tried but i did not get exact output, any one try this .. 
 
 a!localVariables( local!expression: &amp;quot;x+y-x*y&amp;quot;, local!result: a!forEach( items: enumerate(len(local!expression)) + 1, expression: local!expression[fv!index] ), local!arryIndex: { x: wherecontains</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101894?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 14:57:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c71f9752-e429-4b8e-994d-52fcb0c94c69</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Glad it works for you!&amp;nbsp; Feel free to mark this thread as correctly guessed in that case&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101892?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 14:52:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d80d1043-51ad-41d0-a19f-6bcc68f89d2f</guid><dc:creator>Bejjenki_Rajender</dc:creator><description>&lt;p&gt;thank you brother, nice&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101890?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 14:32:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e10b1d0a-944e-4b6a-b7d9-3ef79f265465</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I have no idea why, or if this is what you are looking for...but:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!localVariables(
  local!expression: &amp;quot;x+y-x*y&amp;quot;,
  local!x: 10,
  local!y: 5,
  
  substitute(
    substitute(
      local!expression,
      &amp;quot;x&amp;quot;,
      local!x
    ),
    &amp;quot;y&amp;quot;,
    local!y
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101884?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 13:22:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8cb9332-fb34-4e49-92cc-f793e84f6e80</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;It will use BODMAS rule.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!x: 10,
  local!y: 5,
  local!x + local!y - local!x * local!y
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101881?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:56:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fa3acae-ab7f-4081-a184-c553352f2eff</guid><dc:creator>Bejjenki_Rajender</dc:creator><description>&lt;p&gt;you can use rule inputs also, just i mentioned local variables understanding purpose&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101879?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:52:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9c3580b-043c-40d5-825d-2a06f1baaf37</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;if you are doing Mathematical operations then why not you are using localvariable to do that.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101878?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:48:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36c3a534-3170-4b73-8dbd-ac222f1015db</guid><dc:creator>Bejjenki_Rajender</dc:creator><description>&lt;p&gt;we have planing to&amp;nbsp; dynamic&amp;nbsp; expressions&amp;nbsp; implements mathematical operations&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101877?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:47:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4cad3f93-3a9c-4648-9cf6-b98d4b61ef8f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK, but why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101876?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:43:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28561153-b315-4b8c-abcb-004dee4f34ab</guid><dc:creator>Bejjenki_Rajender</dc:creator><description>&lt;p&gt;that expression , we have implement mathematical operations&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101875?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:41:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:602d84af-09fd-4d57-859b-dd9b86103aaf</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;So I will place myself at the third place asking for the purpose of this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101874?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:40:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:500474e3-38a0-47dd-90e2-3635a7a565e2</guid><dc:creator>Sunil</dc:creator><description>&lt;p&gt;What do you want to say or do by this expression?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input : "x+y-x*y"        x=10,y=5   output: 10+5-10*5    in our x place i updated 10, y place i updated 5</title><link>https://community.appian.com/thread/101870?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:18:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1884709-cea0-4bf1-b2a5-1c45c9b62612</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;What exactly you want to do ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>