Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Task Only Completes Successfully when run interactively on screen
Topic Summary: Migrating to Automate 10 - Task Only Completes Successfully when run interactively on screen
Created On: 11/14/2014 10:56 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 11/14/2014 10:56 AM
User is offline View Users Profile Print this message

Author Icon
JimGrace
Student (5-19 posts)

Posts: 15
Joined: 03/19/2007

Migrating to Automate 10 - Task Only Completes Successfully when run interactively on screen. Clicking Run task completes successfully.

Fails on Step 6 Access denied error.
Attempting to copy file to a UNC folder when task starts based on file add trigger or by clicking Run. Has anyone seen this problem with Automate 10?

Code is attached.





 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


Edited: 11/14/2014 at 11:46 AM by JimGrace
 11/14/2014 01:21 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi Jim,

Is the user the task is set to the same user that you are logged in with?

 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 11/14/2014 01:23 PM
User is offline View Users Profile Print this message

Author Icon
JimGrace
Student (5-19 posts)

Posts: 15
Joined: 03/19/2007

Yes it is. And it's the default user for Automate.

 Category Survey
 11/14/2014 02:29 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi Jim,

Would it be possible to set-up a GoToAssist session where we can take a closer look at this issue? If this is possible please send an email over to AutoMate.Support@helpsystems.com with a list of your availability.

Note: Please reference this forum thread in your email.


 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 03/15/2018 11:43 AM
User is offline View Users Profile Print this message

Author Icon
KeithBeason
n00b (>6 posts)

Posts: 1
Joined: 03/15/2018

I just sent the following to Support as I had not found this Discussion Board. "Converted an Automate 8 job to Automate 10. The job runs fine when executed from Automate 10 Administration Tasks. The Job appears to start but immediately stops and returns an Error Code 1 when run from Batch Command Line using "D:\Program Files\AutoMate 10\AMTaskCm.exe"." This sounds very similar to what we are esperiencing. The job is failing under Automate 10.7.0.3 on Windows Server 2008 R2.

 Category Survey
 03/19/2018 10:32 AM
User is offline View Users Profile Print this message

Author Icon
Alex Escalante
HelpSystems

Posts: 871
Joined: 02/26/2014

Hello Keith,

Besides the "error code 1" message, is there any additional error text that you receive?

When running from task builder, it is running as the currently logged on user. If your right click on the task, select properties, then logon, is the user set the same as the user you are logged in as? If not, switch it to the user info of the user you are currently logged in as and run the task once more. If it doesn't error, then there are some kind of permission differences between the two users.

Also, is it running in the background? if so, change it to "logged on user" and test. If it works, then it means the task is interactive and cannot run in the background.

 Category Survey


-------------------------

Alex Escalante | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 516 guests browsing this forum, which makes a total of 516 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog