hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get task failure status via commandline

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Command tasks and commandline
View previous topic :: View next topic  
Author Message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Mon Sep 16, 2013 2:59 pm    Post subject: Get task failure status via commandline Reply with quote

We are using the API class of UserVariable to set our own variable as below:

com.hitek.engine.mods.var.UserVariable set MTRS_ERT_YYYY-MM-DD sPLUS1

Would you have a similar API which captures the event/trigger when a task failed?
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Mon Sep 16, 2013 3:00 pm    Post subject: Reply with quote

There is no event or trigger when a task fails. But an exit code > 0 is set. You can use the GetVar function from the Commandline module to get the exit code ($%taskTitle::ExitCode%$) and check if it is > 0.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Command tasks and commandline All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group