<?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: Blue Prism 7.0.1 Failing on function seperators in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100747#M47919</link>
    <description>Frank,&lt;BR /&gt;What happens if you use all data elements/variables in your function?&amp;nbsp; I tend to do this as a personal practice, even if I expect the value to remain constant (say, a process name, a URL, height or width).&amp;nbsp; In your example, use a multi-calc stage with&lt;BR /&gt;&amp;nbsp; &amp;nbsp;3 -&amp;gt; [Search]&lt;BR /&gt;&amp;nbsp; &amp;nbsp;2 -&amp;gt; [Replace]&lt;BR /&gt;&lt;BR /&gt;Then your function becomes: &lt;SPAN&gt;Mid([Item Data.CPR], [Search], [Replace])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;More curiosity than an intended solution.&amp;nbsp; Good luck.&lt;BR /&gt;Red</description>
    <pubDate>Tue, 22 Mar 2022 14:24:39 GMT</pubDate>
    <dc:creator>stepher</dc:creator>
    <dc:date>2022-03-22T14:24:39Z</dc:date>
    <item>
      <title>Blue Prism 7.0.1 Failing on function seperators</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100743#M47915</link>
      <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm from Denmark, I have English language set on and using danish comma for seperating numbers. This means function seperators and number commas will be mixed up.&lt;BR /&gt;&lt;BR /&gt;Take this expression as an example:&lt;/P&gt;
&lt;P&gt;Mid([Item Data.CPR], 3, 2) -&amp;gt; Will fail due to comma between numbers understood as decimals.&lt;BR /&gt;&lt;BR /&gt;I solved this by using strings around the numbers to interpret them correctly as numbers and comma being interpret correctly as function seperators.&lt;BR /&gt;&lt;BR /&gt;Mid([Item Data.CPR], "3", "2")&lt;BR /&gt;&lt;BR /&gt;Is there a better way of doing this? I do like my computer on english language (easier to find help for random errors) and I like to use danish decimal seperator (comma).&lt;/P&gt;
&lt;P&gt;In advance thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:24:37 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100743#M47915</guid>
      <dc:creator>splittergal</dc:creator>
      <dc:date>2022-03-21T14:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Blue Prism 7.0.1 Failing on function seperators</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100744#M47916</link>
      <description>Hi Frank - I'm glad you posted this because I have a similar problem that I haven't yet figured out. My workaround is to add spaces on both sides of the commas, eg:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;CODE&gt;Mid([Item Data.CPR] , 3 , 2)&lt;/CODE&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;Can you try this and see if it improves your situation?&lt;/SPAN&gt;</description>
      <pubDate>Tue, 22 Mar 2022 10:49:17 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100744#M47916</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-03-22T10:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Blue Prism 7.0.1 Failing on function seperators</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100745#M47917</link>
      <description>Thank you John,&lt;BR /&gt;&lt;BR /&gt;To use space as a delimiter is much easier than making it a string, good answer! Still it's very annoying that BP functions fails when using them directly due to comma being both delimiter and comma separator. Guess I'm creating problems for myself when mixing and matching numbers and string languages, trying to get the best from both worlds&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 22 Mar 2022 11:32:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100745#M47917</guid>
      <dc:creator>splittergal</dc:creator>
      <dc:date>2022-03-22T11:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Blue Prism 7.0.1 Failing on function seperators</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100746#M47918</link>
      <description>Hi Frank - your post will help. I raised a support ticket when I had this problem but it got closed because the support team could not reproduce the error I was seeing. I'll reopen the ticket and add a link to your post. Thanks.</description>
      <pubDate>Tue, 22 Mar 2022 13:17:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100746#M47918</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-03-22T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Blue Prism 7.0.1 Failing on function seperators</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100747#M47919</link>
      <description>Frank,&lt;BR /&gt;What happens if you use all data elements/variables in your function?&amp;nbsp; I tend to do this as a personal practice, even if I expect the value to remain constant (say, a process name, a URL, height or width).&amp;nbsp; In your example, use a multi-calc stage with&lt;BR /&gt;&amp;nbsp; &amp;nbsp;3 -&amp;gt; [Search]&lt;BR /&gt;&amp;nbsp; &amp;nbsp;2 -&amp;gt; [Replace]&lt;BR /&gt;&lt;BR /&gt;Then your function becomes: &lt;SPAN&gt;Mid([Item Data.CPR], [Search], [Replace])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;More curiosity than an intended solution.&amp;nbsp; Good luck.&lt;BR /&gt;Red</description>
      <pubDate>Tue, 22 Mar 2022 14:24:39 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100747#M47919</guid>
      <dc:creator>stepher</dc:creator>
      <dc:date>2022-03-22T14:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Blue Prism 7.0.1 Failing on function seperators</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100748#M47920</link>
      <description>Hi Frank - I have a small update for you. Your post has been useful and our engineering team are now trying to figure out how best to fix the issue. In my case I realised that I had my language preference set to &lt;EM&gt;English (Europe)&lt;/EM&gt; on the BP log in screen. Changing it back to &lt;EM&gt;English (United Kingdom)&lt;/EM&gt; made the validation disappear. I think the root of the problem is that the expression validator is confusing commas and decimal points.</description>
      <pubDate>Wed, 06 Apr 2022 10:57:10 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100748#M47920</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-04-06T10:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Blue Prism 7.0.1 Failing on function seperators</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100749#M47921</link>
      <description>&lt;P&gt;Hi John,&lt;BR /&gt;&lt;BR /&gt;Thanks for looking into this. I think the reason is that both the decimal separator and variable separator are a comma (","). This means BP has a problem as xyz(123,123) can be interpreted as either 1 input with a decimal number or as two inputs with integer numbers. When there are ambiguity it's obviously hard for any program to make a logical decision. The way to make it non-ambiguous was as you said, put in a space, this will show it's not a decimal xyz(123, 123), hence it can only be a separator. This is my guess on this underlying problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Hi Robert&lt;/P&gt;
&lt;P&gt;If I use data items (variables) there are no problems. This is interpreted correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 11:13:50 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Blue-Prism-7-0-1-Failing-on-function-seperators/m-p/100749#M47921</guid>
      <dc:creator>splittergal</dc:creator>
      <dc:date>2022-04-06T11:13:50Z</dc:date>
    </item>
  </channel>
</rss>

