<?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: Using CMD Prompt to run script and continue to get Automation server can't create object in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99497#M47044</link>
    <description>Before doing it manually. I was using Utility - Environment:Start Process and having the full path to the WOW64/CMD.EXE to open the command prompt.</description>
    <pubDate>Tue, 09 Mar 2021 16:41:46 GMT</pubDate>
    <dc:creator>MarcusAllen</dc:creator>
    <dc:date>2021-03-09T16:41:46Z</dc:date>
    <item>
      <title>Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99493#M47040</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I am currently working on a bot that will be using the command line to complete the task. The script uses cscript and command prompt and works fine and whenever I run commandline without blueprism starting the process/application it will work as intended. But when I'm testing the bot and run the script it continues to say Automation Server can't create object. Which I've done some research and found out that may has something to do with ActiveX and it's DLL.&lt;BR /&gt;&lt;BR /&gt;I am just wondering has anyone dealt with this before or seen something similar and if so I would appreciate any tips or nudges in the correct direction.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 20:52:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99493#M47040</guid>
      <dc:creator>MarcusAllen</dc:creator>
      <dc:date>2021-03-08T20:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99494#M47041</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/297"&gt;@MarcusAllen&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;So if you run this yourself everything works fine, but when you run it via a Digital Worker you get an error? That seems like it might be a permissions issue. How are you working with the command line and cscript in BP? Have you written your own VBO and code stage or are you using something from the DX?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​</description>
      <pubDate>Tue, 09 Mar 2021 16:18:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99494#M47041</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-09T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99495#M47042</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; thank you for your response. So it is a custom jscript. I'm running the script in my BluePrism Server Environment.&lt;BR /&gt;&lt;BR /&gt;It runs fine if running the script through cmd without the bot actually starting the cmd process. Now funny enough. If I open the command prompt manually then attach to the command prompt it works as intended. I'm doing all of this under my blueprism service account. &lt;BR /&gt;&lt;BR /&gt;The task is simply copy and paste the string the bot builds which follows something like this cscript script.js "Argument 1" "Argument 2" "Argument 3" "Argument 4". &lt;BR /&gt;&lt;BR /&gt;I hope that I gave enough detail with that answer Eric and if you need any more info please let me know. Again thank you for your assistance on this.​</description>
      <pubDate>Tue, 09 Mar 2021 16:27:37 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99495#M47042</guid>
      <dc:creator>MarcusAllen</dc:creator>
      <dc:date>2021-03-09T16:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99496#M47043</link>
      <description>Ok, and how are you launching the cmd process from within your Blue Prism process? Are you using the &lt;STRONG&gt;Utility - Environment&lt;/STRONG&gt; VBO, your own code stage, or something else?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 09 Mar 2021 16:36:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99496#M47043</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-09T16:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99497#M47044</link>
      <description>Before doing it manually. I was using Utility - Environment:Start Process and having the full path to the WOW64/CMD.EXE to open the command prompt.</description>
      <pubDate>Tue, 09 Mar 2021 16:41:46 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99497#M47044</guid>
      <dc:creator>MarcusAllen</dc:creator>
      <dc:date>2021-03-09T16:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99498#M47045</link>
      <description>One more question. Hopefully my last. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; What ActiveX component are you trying to invoke in your JScript? Is it something standard like (Excel.Application) or something internal to your company?&lt;BR /&gt;&lt;BR /&gt;Cheers,</description>
      <pubDate>Tue, 09 Mar 2021 19:12:32 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99498#M47045</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-09T19:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99499#M47046</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; it is a software that is used in our company called Caseware. It opens using &lt;SPAN style="font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif"&gt;ActiveXObject&lt;/SPAN&gt;&lt;SPAN style="font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif"&gt;"CaseWare.Application"&lt;/SPAN&gt;&lt;SPAN style="font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif"&gt;); And two other calls just as following.&lt;/SPAN&gt;&lt;BR /&gt;​</description>
      <pubDate>Tue, 09 Mar 2021 19:16:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99499#M47046</guid>
      <dc:creator>MarcusAllen</dc:creator>
      <dc:date>2021-03-09T19:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99500#M47047</link>
      <description>Ok, so lets trying something a little different. Instead of opening a command prompt from the DW and trying to run csript from it change your &lt;EM&gt;&lt;STRONG&gt;Start Process&lt;/STRONG&gt;&lt;/EM&gt; call in the &lt;STRONG&gt;Utility - Environment&lt;/STRONG&gt; VBO to just reference "c:\Windows\SysWOW64\cscript.exe" as the process name. Then pass in your parameters under the Arguments input. So it would look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;IMG class="img-responsive" data-mce-hlimagekey="f5894afa-1164-399b-ca7a-beeeaa0d3475" data-mce-hlselector="#ReplyToContributedContent_849d7a88-f078-4480-8220-ca75a42f6eb0-tinyMce" /&gt;
&lt;DIV class="media" style="overflow: hidden"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36204.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36216i9BC95A58B31605BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="36204.png" alt="36204.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; I'm using &lt;EM&gt;&lt;STRONG&gt;Start Process Read Stderr and Stdout&lt;/STRONG&gt;&lt;/EM&gt; so I can see what the result is.&lt;BR /&gt;&lt;BR /&gt;Cheers,</description>
      <pubDate>Tue, 09 Mar 2021 19:29:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99500#M47047</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-09T19:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99501#M47048</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; Thank you for the image. Seems like I need to update the object because I do not have that option. That could be an issue right there. Let me see about getting an update and then try to run that bot.​</description>
      <pubDate>Tue, 09 Mar 2021 19:40:42 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99501#M47048</guid>
      <dc:creator>MarcusAllen</dc:creator>
      <dc:date>2021-03-09T19:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99502#M47049</link>
      <description>Ah, that could be an issue, but I’m not certain. This is the latest version of the VBO that’s available from the Digital Exchange.&lt;BR /&gt;&lt;BR /&gt;Cheers,</description>
      <pubDate>Tue, 09 Mar 2021 19:43:16 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99502#M47049</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-09T19:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMD Prompt to run script and continue to get Automation server can't create object</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99503#M47050</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; I was able to update the VBO and added the arguments directly. It is still giving me the &lt;STRONG&gt;Microsoft JScript runtime error: Automation server can't create object&lt;/STRONG&gt;. But it is actually taking the parameters now vs before which is good. I'm a lost though what could be causing this issue with ActiveXObject. I truly appreciate your help with this. I have a manual work around for now but hopefully can find an solution soon.​​</description>
      <pubDate>Wed, 10 Mar 2021 17:17:25 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-CMD-Prompt-to-run-script-and-continue-to-get-Automation/m-p/99503#M47050</guid>
      <dc:creator>MarcusAllen</dc:creator>
      <dc:date>2021-03-10T17:17:25Z</dc:date>
    </item>
  </channel>
</rss>

