<?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 I always type something out… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Polimorfismo-in-Objects/m-p/81092#M32712</link>
    <description>I always type something out and then realize I didn't understand the question. Your example looks to be method overriding, rather than method overloading. I still think you'd solve that problem in the same way. You have to interrogate input data to help your logic decide which path/flow/method/subpage to take.</description>
    <pubDate>Fri, 25 Jan 2019 08:34:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2019-01-25T08:34:00Z</dc:date>
    <item>
      <title>Polimorfismo in Objects</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Polimorfismo-in-Objects/m-p/81090#M32710</link>
      <description>Hello,

I would like to use a object but some dependency with another object that used the methods but this implemented more methods.

&amp;nbsp;

Thanks.</description>
      <pubDate>Fri, 25 Jan 2019 02:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Polimorfismo-in-Objects/m-p/81090#M32710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-25T02:08:00Z</dc:date>
    </item>
    <item>
      <title>Hi Alexeik,
If you're…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Polimorfismo-in-Objects/m-p/81091#M32711</link>
      <description>Hi Alexeik,
If you're looking for polymorphism in Blue Prism, it's not inherently supported. However, I suppose you can still sort of accomplish the goal. You can do method overloading in a way. For example, let's say you wanted to run one method or another based on the number of provided inputs. And let's say your object's action takes two inputs: varA and varB.
Your action would start by determining which of the two inputs parameters (varA or varB) have been given input data. Maybe your primary path/method is if both variables are given data. You would use a decision stage to check [varA]"""" AND [varB]"""". If this comes out to true, then your primary method is used and you just call a subpage that contains your primary logic that uses those values.
If, however, no input data is given to those input parameters and the expression ([varA]"""" AND [varB]"""") comes out to false, then you use a secondary path/method/subpage that runs the action differently perhaps using default values.
Notice that Blue Prism is not object-oriented. It does not have inheritance and polymorphism. It does not support dynamic object references.&amp;nbsp;It is intended as a code free development environment. You might be able to get a similar end result, as with my example above, but Blue Prism isn't where you'll want to do that kind of advanced stuff.&amp;nbsp;
Respectfully,
Dave</description>
      <pubDate>Fri, 25 Jan 2019 08:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Polimorfismo-in-Objects/m-p/81091#M32711</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-01-25T08:31:00Z</dc:date>
    </item>
    <item>
      <title>I always type something out…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Polimorfismo-in-Objects/m-p/81092#M32712</link>
      <description>I always type something out and then realize I didn't understand the question. Your example looks to be method overriding, rather than method overloading. I still think you'd solve that problem in the same way. You have to interrogate input data to help your logic decide which path/flow/method/subpage to take.</description>
      <pubDate>Fri, 25 Jan 2019 08:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Polimorfismo-in-Objects/m-p/81092#M32712</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-01-25T08:34:00Z</dc:date>
    </item>
  </channel>
</rss>

