Need some Help... T_T

topakitz

  • Joined: Aug 21, 2010
  • Posts: 8

Thu 9/2/2010 - 19:32

Hi Im stucked.. I need some help.. I dont know how to do this.. If you can provide me the source for this I will be grateful..

I'm creating a error text checking job. Ms. Samantha already provided me a sample job but i can't seems to find a way to find associate it with what i needed. Attached are two sample logs: the previous logs has a latest error in 8/17/2010 2:00:12 which is ***   AUTOMATION ERROR and the other one is the latest logs has an error in 8/17/2010 5:45:12 which is ***   ERROR:Unable to connect to remote host but have all previous errors at the top.

What I want to do in the job is that it will only alert me when it will encounter the latest error and not alert me when i already acknowledge that latest error.

Notes: The text file is only one filename and updates every 15mins meaning it will insert the latest logs at the bottom of the previous logs.

It will be a big help.

Thanks in advance!!!

Latestlogs.txt Previouslogs.txt

#1

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2328

Fri 9/3/2010 - 11:14

Hello Topakitz, Can you please tell me in which way the acknowledgement of the error will be monitored? :) Samantha

#2

topakitz

  • Joined: Aug 21, 2010
  • Posts: 8

Fri 9/3/2010 - 16:33

Hi Samantha,

For the acknowledgement of the error monitored, something that prompts me the error of that time and when i click ok its not going to prompt me again until it will encountered another error.

Thanks..

Topakitz

#3

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2328

Fri 9/3/2010 - 17:07

^ Which version of WA are you using? Using WA beta 3.1 you can use a persistent variable, where you tell it that as long as the message that follows the "Error" word is not the same with the previous time it found it, then if will notify u. As soon as u let me know which version u are using, I'll guide you through to build the job :) Samantha

#4

topakitz

  • Joined: Aug 21, 2010
  • Posts: 8

Fri 9/3/2010 - 17:30

I'm using WA v.3.0.3.410

Thanks...

Topakitz

#5

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2328

Mon 9/6/2010 - 10:32

Hello topakitz, Please check the job attached, have I got right what it is you want to do I think this should make the trick for you, but it might also need some adjustments from you ;) I take it that anything you have acknowledged is already stored in the previous logs. So what this job does is compares the two log files and only displays errors that are found in the latest logs and not the previous logs. Let me know if this is what you were after or whether you need any help configuring it :) Samantha

error handling.waj

#6
Not a member yet? Register

Copyright 2013 - Softomotive Ltd