<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: I am not familiar with the… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66989#M19594</link>
    <description>Hi Diana,&lt;BR /&gt;&lt;BR /&gt;You can use the If Else Statement using Decision Stage in Blue Prism. Screenshot attached below
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21572.jpg"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/21715i3838CE51B1B31B6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="21572.jpg" alt="21572.jpg" /&gt;&lt;/span&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21573.jpg"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/21720i50894D213AB9CC9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="21573.jpg" alt="21573.jpg" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vikash Anand&lt;BR /&gt;Application Development Senior Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 01 Mar 2022 08:38:00 GMT</pubDate>
    <dc:creator>Vikash011</dc:creator>
    <dc:date>2022-03-01T08:38:00Z</dc:date>
    <item>
      <title>IF Else Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66980#M19585</link>
      <description>How do you write an IF else statement as an expression in Blueprism.&amp;nbsp; I want to use the calculation stage to determine if one date is earlier than the other, then&amp;nbsp;I will use the earlier date and store the earlier date in a data item.</description>
      <pubDate>Mon, 18 Feb 2019 23:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66980#M19585</guid>
      <dc:creator>DianaPalmer</dc:creator>
      <dc:date>2019-02-18T23:49:00Z</dc:date>
    </item>
    <item>
      <title>Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66981#M19586</link>
      <description>Without a code stage, this would need to be done using either a Decision or a Choice stage.

if x=y
&amp;nbsp; &amp;nbsp;Do code
else
&amp;nbsp; &amp;nbsp;Do other code

Would look like

[Decision] x=y
Yes
&amp;nbsp; &amp;nbsp;Do code
No
&amp;nbsp; &amp;nbsp;Do other code

&amp;nbsp;
You could also have

if x=y
&amp;nbsp; &amp;nbsp;Do code block 1
else if x=z
&amp;nbsp; &amp;nbsp;Do code block 2
else
&amp;nbsp; &amp;nbsp;Do other code

Which would look like

[Choice]
x=y
&amp;nbsp; &amp;nbsp;Do code block 1
x=z
&amp;nbsp; &amp;nbsp;Do code block 2
Otherwise
&amp;nbsp; &amp;nbsp;Do other code</description>
      <pubDate>Tue, 19 Feb 2019 00:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66981#M19586</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-19T00:13:00Z</dc:date>
    </item>
    <item>
      <title>I am not familiar with the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66982#M19587</link>
      <description>I am not familiar with the code stage.&amp;nbsp;Do you have any documents you can send to me so I can read about how to use it.</description>
      <pubDate>Tue, 19 Feb 2019 00:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66982#M19587</guid>
      <dc:creator>DianaPalmer</dc:creator>
      <dc:date>2019-02-19T00:40:00Z</dc:date>
    </item>
    <item>
      <title>It's an option that is only…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66983#M19588</link>
      <description>It's an option that is only available from an object, and not from a process. However, a process can call an object.
In the initialize page for an object, you can click the stage containing the page name. This will allow you to choose the language (C#, VB, J#), as well as enter global code and add .dll files &amp;amp; namespaces that can be referenced through the whole object. On any action you create within that object, you can place a code stage, which will compile and execute whatever code you write.
I recommend poking through some of the utility objects such as Collection Manipulation (or Collections, I've seen it labeled both ways) to get a feel for how it works.</description>
      <pubDate>Tue, 19 Feb 2019 00:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66983#M19588</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-19T00:47:00Z</dc:date>
    </item>
    <item>
      <title>Thank you
 </title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66984#M19589</link>
      <description>Thank you
&amp;nbsp;</description>
      <pubDate>Tue, 19 Feb 2019 00:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66984#M19589</guid>
      <dc:creator>DianaPalmer</dc:creator>
      <dc:date>2019-02-19T00:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66985#M19590</link>
      <description>Hi Ami,&lt;BR /&gt;Are there any plans to add Immediate If (iif) to the expressions? That sure would simplify many things.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kevin Miller&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2022 18:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66985#M19590</guid>
      <dc:creator>KevinMiller</dc:creator>
      <dc:date>2022-02-24T18:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66986#M19591</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1499"&gt;@KevinMiller&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;As far as I know, there are no plans to add support for a ternary conditional operation as a native function within the Calculation stage. Within a process/VBO flow you can replicate the basic capability though by using a regular Decision stage and two Calculation stages as depicted below. &lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21570.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/21716i1338F1A4F585BCD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="21570.png" alt="21570.png" /&gt;&lt;/span&gt;&lt;BR /&gt;You can also use the IIF (VB.NET) or ?: (C#) features within Code stages.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2022 13:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66986#M19591</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-25T13:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66987#M19592</link>
      <description>&lt;DIV class="uconBody"&gt;
&lt;DIV&gt;
&lt;P style="margin: 0cm; font-size: 11.0pt; font-family: 'Calibri', sans-serif;"&gt;&lt;SPAN lang="FR-BE"&gt;There is a workaround :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0cm; font-size: 11.0pt; font-family: 'Calibri', sans-serif;"&gt;&lt;SPAN lang="FR-BE"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0cm; font-size: 11.0pt; font-family: 'Calibri', sans-serif;"&gt;&lt;SPAN lang="EN-US"&gt;Replace( Replace( {Condition} ;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0cm; font-size: 11.0pt; font-family: 'Calibri', sans-serif;"&gt;&lt;SPAN lang="EN-US"&gt;True;&amp;nbsp; {CommandIfTrue} );&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0cm; font-size: 11.0pt; font-family: 'Calibri', sans-serif;"&gt;&lt;SPAN lang="EN-US"&gt;False; {CommandIfFalse} )&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;-------------------------------------------&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Original Message:&lt;BR /&gt;Sent: 2/24/2022 1:41:00 PM&lt;BR /&gt;From: Kevin Miller&lt;BR /&gt;Subject: RE: Without a code stage, this…&lt;BR /&gt;&lt;BR /&gt;Hi Ami,&lt;BR /&gt;Are there any plans to add Immediate If (iif) to the expressions? That sure would simplify many things.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kevin Miller&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Feb 2022 06:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66987#M19592</guid>
      <dc:creator>johan.m</dc:creator>
      <dc:date>2022-02-28T06:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66988#M19593</link>
      <description>Nice idea &lt;A class="user-content-mention" data-sign="@" data-contactkey="cce3edcd-89e3-4078-ad6b-a55139980d4a" data-tag-text="@Johan Michiels" href="https://community.blueprism.com/network/profile?UserKey=cce3edcd-89e3-4078-ad6b-a55139980d4a" data-itemmentionkey="d727833d-cc2c-46aa-978c-34796d110452"&gt;@Johan Michiels&lt;/A&gt;!. For anyone that's interested, here's an example of how this looks in a Collection stage. In this example, the input data item &lt;STRONG&gt;Test Value&lt;/STRONG&gt; is a Number set to 1. Running over this Calculation stage results in the output &lt;EM&gt;&lt;STRONG&gt;This is a True value.&lt;/STRONG&gt;&lt;/EM&gt; being output. If you were to change the value of &lt;STRONG&gt;Test Value&lt;/STRONG&gt; to say -1 you would get &lt;EM&gt;&lt;STRONG&gt;This is a False value.&lt;/STRONG&gt;&lt;/EM&gt; as output.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21571.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/21722iFE37B0694099B018/image-size/large?v=v2&amp;amp;px=999" role="button" title="21571.png" alt="21571.png" /&gt;&lt;/span&gt;​&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Feb 2022 14:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66988#M19593</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-28T14:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: I am not familiar with the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66989#M19594</link>
      <description>Hi Diana,&lt;BR /&gt;&lt;BR /&gt;You can use the If Else Statement using Decision Stage in Blue Prism. Screenshot attached below
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21572.jpg"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/21715i3838CE51B1B31B6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="21572.jpg" alt="21572.jpg" /&gt;&lt;/span&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21573.jpg"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/21720i50894D213AB9CC9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="21573.jpg" alt="21573.jpg" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vikash Anand&lt;BR /&gt;Application Development Senior Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2022 08:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66989#M19594</guid>
      <dc:creator>Vikash011</dc:creator>
      <dc:date>2022-03-01T08:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66990#M19595</link>
      <description>Absolutely Beautiful! Here is one of my implementations:&lt;BR /&gt;&lt;BR /&gt;Replace&lt;SPAN style="color: #993366;"&gt;(&lt;/SPAN&gt;Replace&lt;SPAN style="color: #00ffff;"&gt;(&lt;/SPAN&gt;Len(&lt;SPAN style="color: #ff00ff;"&gt;[PoNumber]&lt;/SPAN&gt;)&amp;gt;0,True,&lt;SPAN style="color: #ff00ff;"&gt;[PoNumber]&lt;/SPAN&gt;&lt;SPAN style="color: #00ffff;"&gt;)&lt;/SPAN&gt;,False,&lt;SPAN style="color: #339966;"&gt;"Not Available"&lt;/SPAN&gt;&lt;SPAN style="color: #993366;"&gt;)&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;I was able to use this for 7 rows in a several multi-calcs, saving me DOZENS stages on the page!&lt;BR /&gt;&lt;BR /&gt;Kevin S. Miller&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kevin Miller&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66990#M19595</guid>
      <dc:creator>KevinMiller</dc:creator>
      <dc:date>2022-03-02T20:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66991#M19596</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1499"&gt;@KevinMiller&lt;/a&gt; just make sure you document it well for anyone who comes after you that may need to maintain it. &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66991#M19596</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-03-02T20:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Without a code stage, this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66992#M19597</link>
      <description>Thank you &lt;A class="user-content-mention" data-sign="@" data-contactkey="cce3edcd-89e3-4078-ad6b-a55139980d4a" data-tag-text="@Johan Michiels" href="https://community.blueprism.com/network/profile?UserKey=cce3edcd-89e3-4078-ad6b-a55139980d4a" data-itemmentionkey="9b1e2333-f2e5-48b2-a131-7794dcb0980d"&gt;@Johan Michiels&lt;/A&gt; for this brilliant idea. ​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kouadio ANDOKOU&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Aug 2022 09:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IF-Else-Statement/m-p/66992#M19597</guid>
      <dc:creator>KouadioANDOKOU</dc:creator>
      <dc:date>2022-08-20T09:11:00Z</dc:date>
    </item>
  </channel>
</rss>

