SAP TAO 2.03 - problems with playing scripts

Hi
We are using QC 10, QTP 10 and SAP TAO 2.03
While recording scripts TAO catches up all parameters that were used during the PFA recording, but when we try to play the script we face problems with Test Data. Although all data is set up in the Data TAble, and tehre is full logic in the script we can't execute the test - what I mean by that - everything starts and clicks but in steps that require providing with test data ERP is not populated by the test data (it looks like field were we should write data is not recognised).
What could be the reason for such a situation ?
Has anyone faced similar situation?
Hope to get some help from you experts
Best regards

Can you check your log file and see what type of errors are  you are getting?
As for as i know there are some limitations with PFA, you can not record with F4 option or combo boxes etc..
If you are recording using PFA with F4 option,  you will get session manager error of if u r using combo boxes, data will not select properly. while its recording it will take but when  you reply some times it won't.
if some of the components are not working , then you need to remove those and add existing components.
Let me know how it goes.

Similar Messages

  • Problem with a script to remove graphics

    Hello,
    I have tried to build a javascript to remove all graphics whose extension is not ".EPS" (with "EPS" really in upper cases, as it is for Mathtype equations in Word import).
    But It doesn't work and I can't understand why.
    Here is the script:
    //The script intend to remove all graphics whose extension is not ".EPS"
    var myDoc = app.activeDocument;
    var myGraphics = myDoc.allGraphics
    //Remove graphic if graphic extension is different from ".EPS"
    for (var p = 0; p < myGraphics.length; p++) {
        var myImage = myGraphics[p]
        if (CheckExtEps(myImage) != 0){
        myImage.remove ()
    //Compare graphic extension with ".EPS" and return myExtValue = 0 if it matches exactly
    function CheckExtEps(myImage) {
        var  myString = myImage.name
        myExt = myString.substr(myString.lastIndexOf( "." ))
        myExtValue = myExt.localeCompare(".EPS")
        return myExtValue
    When I run this script, ALL the graphics are removed, ".EPS" included.
    I do have ".EPS" graphics in my document and I expected them not to be removed.
    So there is something wrong somewhere, but I don't know what to change.
    Any ideas?
    By the way, I have a more generic question as a beginner:
    I am working with ExtendScript Toolkit. How can I do to check my script step by step?
    For exemple, how can I display my variables values as "myString", "myExt", "myExtValue" at each step?
    Actually, this script is a step for a bigger script I intend to build to deal with Mathtype equations in Word import.
    After not-EPS graphics beeing removed, I wish to relink all remaining equation prewiews to eps in a selected folder, by consecutive order.
    But this is a big piece of scripting to swallow for me, so I'm working slowly, step by step.
    TIA
    Best regards
    Nicolas

    Hello Ariel
    Thank you very much for your help.
    1. I added semicolons at the end of lines, but the script result is the same.
    2. Running line by line, I could see in the Console where is the problem:
    variable "myString" is always undefined.
    Well, I have to get more inside my script...
    Thank's again
    Best regards
    Nicolas
    Nicolas BALBO  
    [email protected]
    22, rue d'Hauteville  75010 PARIS
    Tel : 33 (0)1 42 57 14 31
    Le 18 avr. 2012 à 17:36, Arïel a écrit :
    Re: Problem with a script to remove graphics
    created by Arïel in InDesign Scripting - View the full discussion
    Well, I can't see any semicolons in your script. Maybe that's just the
    email interface, but there should be semicolons at the ends of lines.
    In the ESTK, you can step through a script a line at a time. Just click
    on the downwards pointing arrow instead of the "play" arrow. Each time
    you click, the script will advance one line. In the Console window
    (Windw>Console) you can then type the name of the variable you wish to
    examine.
    Ariel
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4344039#4344039
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4344039#4344039. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in InDesign Scripting by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Little execution problem with the script

    declare
    i number(1):=1;
    name varchar2(10);
    id number(2);
    begin
    loop
    id:=&id;
    name:='&name';
    insert into emp values(id,name);
    i:=i+1;
    exit when id<=5;
    end loop;
    end;
    When i tried to execute the script, it is going through the loop only once..What the problem with this script...Can any body help the script work?

    if id is less or equal to 5 then loop will execute only once.
    What is the variable i for ?

  • I have problem with playing stream  fullscreen. it goes black but with sound

    i have problem with playing stream fullscreen. it goes black but with sound. i have to wait 10-15 minutes then i can press fullscreen. what to do?
    s

    Thanks!! but i been fixing now for 10 minute ago by restart my macbook pro. My case is it show normal with Intenal-speakers and nothing mark with red light or mult so i tried to restart that it working again

  • Problem with navigation script

    Hi I'm having trouble getting a button work correctly when
    pressed it should take user to a particular label on the main
    scene. Is there a problem with my script? The button is inside a
    movie clip which is inside another movie clip. Thanks in
    advance.

    this quite difficult to explain but here goes. i have a
    complex button with a roll in roll out effect. ie. a movie clip
    acting as a button that shows different buttons (in another movie
    clip) when it is rolled over. I then want the different buttons to
    go to other parts in the main timeline. the code works fine when
    the buttons are on the main timeline but because it is within
    another two movie clips it doesnt work like it should. In fact the
    script i have used in the first movie clip also affects the button.
    This script is as follows and belongs in the first frame of the
    first movie clip. In other words, I need the button not to be
    effected by the following script but by the gotoAndPlay script.
    Thanks

  • Problems with playing songs in iTunes

    as the subject says. I have som problems with playing songs. not everyone just a some..
    If we take for example that a song is 8min. then at 1.40 it just stops and goes to the next one. I can jump over it with pressing in the middle for example. it plays. as normal. UNTIL. 3 mins. then the same problems appear. I don't really understand how. just between 1.40-1.50 iTunes thinks that the song is finished. I know my english isn't so good but cuz there is no swedish support. I have to write here. any answers would be good

    I'm having a similar problem.
    Every now and then, a track from a ripped CD or from iTunes or from eMusic will "look" OK in iTunes (or on my iPod), but when the track plays, it gets partially through and it jumps to the next track in the playlist.
    For example, if playback of track 1 pauses and jumps to track 2 at 1:30 into playback of track 1, & I click on 1:31 or later in track 1, the rest of track 1 will play fine. But if the playback of track 1 starts at the before the "skip point," the track will stop & iTunes (or iPod) goes on to the next track in the playlist. If I locate the file (on my external drive) and play it in the finder, there's always buzzing sound at the point where the iTunes jumps to the next track.
    For ripped CD's this is not a huge deal, I just re-rip & usually all is well. With eMusic, I can download again, but with iTunes, I have to file a complaint & so far they've just credited my account, which is OK, but time consuming.
    At first I thought the problem was with my optical drive, but then the problem started happening with downloads from iTunes and eMusic as well. NONE of these shenanigans happened before I upgraded to iTunes 7.6, so I'm wondering if that's where the problem is. One thing's for sure: I'm not going to "jump" at the next upgrade of iTunes!
    I'm totally stumped & bummed. iTunes used to be a really good friend, now I find myself wondering if I should bother with putting my entire CD collection on iTunes if it's no longer as reliable as it used to be.

  • Problem with playing HD videos

    Hello,
    My problem is with playing HD videos ( 720p or Full HD).
    After upgrading Windows on my laptop and installing drivers, everything was fine till i tried to solve the win 8.1 problem with display drivers and inability to change the level of brightness. After that I discovered that the laptop can't play videos in higher res when they are offline (they become choppy and start to lag behind audio), so i figured the problem is in codecs or the player because any video was playing online. I have tried different codec packs like K lite or FFdshow, tried many players also like VLC, Sm, BS, WM Classic...nothing helped. So  i deleted all those players and codecs so now i cant play HD videos online either.
    Also i have noticed that when i start any hd video CPU usage goes up to 95%.
    Any suggestions what should i do next ?

    Hi there @milosevarsen 
    I understand that you are having performance issues when watching videos. I am happy to help. Since your CPU usage is climbing to 95%, that is a part or symptom of the problem. 
    Work through this page. The main thing is to make sure you control what is running on your system and the amount of available memory. So you will want to look for  viruses and malware, and then what other applications are loaded on your system. Over time these tend to accumulate, and slow down your computer.
    Resolving Slow System Performance (Windows 8)
    The other option would be to look at possibly upgrading your memory. When a file is much larger than the available memory, you are going to see the CPU running harder.
    I hope this helps.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Problem with "play to device" on windows media player

    Hello, I'm having a problem with the play to device feature of windows media player.  I am trying to use it to play music files to my T.V.  It works fine if i try to play a single file or a small number of files (50 or so), but if I try to play
    my entire playlist (346 songs, if it matters)in this way or a large number of random songs, nothing happens.  No error messages or freezes either, it's as if i never clicked play.  I thought this might be a limitation with the t.v. or my network
    (im doing this via wi-fi) but when i tried this using windows explorer instead of windows media player it worked just fine, and this was with all the music on my computer which is about 3000 songs.  Therefore, i know this is a problem with windows media
    player and not my t.v., network or computer.  This is a problem because i don't want to play all my music, just my playlist.  Short of making a separate folder with duplicate files in it for each and every playlist i want to play in this manner(which
    is not only time consuming and tedious but takes up space on my hard drive)  how do i remove this limitation or otherwise get around it?  Thanks!
    P.S.  Out of curiosity, why does this limitation exist and what causes it?

     when i tried this using windows explorer instead of windows media player it worked just fine, and this was with all the music on my computer which is about 3000 songs.  
    Hi,
    According to your description,you said that you used windows explorer.Did you share 3000 songs with your TV?
    If so,I think this method is different with "play to" feature.
    Also,we haven't found any limitation with Windows media player.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • Problem with Java Script after upgrade from BW 3.5 to BI7

    Dear Colleagues,
    We're facing the issue with Java Script after upgrade of BW 3.5 to BI7.
    Just after update we checked the basic functionality and it occured that some of web templates that use Java Script don't work. They generate seelction screen, but after selection the screen becomes blank without any error messages.
    We're currently stucked since web templates weren't converted to BI7 version so they should work exactly as before the upgrade.
    We compared the Java code with other environment that was not upgraded - it's perfectly the same.
    The only explanation that comes to my mind is that some Java Script settings on the server level were changed during the upgrade but I have no idea where I can check that.
    Thanks in advance for any suggestions,
    Andrzej Bobula

    Hi Deepu,
    Thanks, it was great to read your reply and then few minutes later talk to you live on SDN Day!
    Unfortunately, http cache clean-up did not help. But there is another funny thing I found - for exactly the same 3.5 webtemplate html code returned from WebAS 3.5 was different then from 7.0.
    Unfortunately, this editor does not allow to paste complete code, even in CODE brackets, but here are main differences:
    <b>3.5</b>
       if (navigator.appName == "Microsoft Internet Explorer")
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=1&CMD=GET_TEMPLATE"
    name="Content">
    and
    <b>7.0</b>
       if (navigator.appName.indexOf("Microsoft Internet Explorer")!=-1)
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=8&REQUEST_NO=0&CMD=GET_TEMPLATE"
    name="Content" 0nLoad="javascript:loadTitle()">
    (I intentionaly put 0 i/o o in 0nLoad, otherwise Forum's editor does not accept the text.
    How about SAP's claim that technical upgrade from 3.x to 7.0 changes nothing?
    Regards,
    Vitaliy

  • Samsung Fascinate, problems with playing music via USB port on car stereo

    Before the update, I could play the music files on my Fascinate via the USB port on my Kenwood stereo, and control basic functions such as skip, pause etc.  Now, my stereo does not recognize the device, and cannot read the files.  I went to local Verizon store where a sales rep tried to connect it in here new Kia Soul and it didn't recognize the device either. It will play via the AUX jack, but I lose player control and the phone does not charge via the AUX cable.  She did a hard reset which did not resolve the problem.  We tried one of the other employee's Fascinate in my car, which did not work either.
    So, after hoping to be able to stream music via Pandora, Jango etc thru the USB port after the update, now it seems its primary function is for charging.
    Also, the ALL SHARE function, which I used to get the music on my phone originally, does not work now.
    Anyone else have this issue with music player and USB connection?

    txgopher- I have personally never used my Fascinate to listen to music via USB via stereo however, I can see why it would be frustrating for you to no longer be able to do so when it was never an issue prior to the update.
    It sounds as though you and the store rep already did some troubleshooting by trying to duplicate the problem with another car, stereo and even doing the final troubleshooting step which is a master reset.
    Since you have done all of the necessary troubleshooting steps to no avail, it most definitely appears as though the software update has interfered with that USB connection in some way.
    What I have done is forwarded the information you have provided to Samsung in order for them to look into this concern as well as come up with a way to get this resolved.
    Please stay tuned because as soon as we hear back from Samsung we will be sure to update this forum with the results/findings.

  • Problem with play video on TV

    sorry my english. I have problem with some VGA cards with TV-out.
    When i set on VGA properties clonning view / nView / and i play video via windows media player, on secondary monitor is blank screen - in media player. Desktop is show correctly.. Is this direct show problem ? Is some way to fix this problem ?
    thanks

    I have to assume that the tech support people took you through the basics, like eprebooting the iPad and quitting the videos app, but here is something that sometimes help with the "black, blank" video screen.
    Swipe to the right from your first home screen to get to the iPad Spotlight search. Type in the name of any of your movies in the field at the top. When the movie appears in the search - tap on it and it should hopefully start to play. Let it play for a minute or so - hit done - go back to videos app and see if all is OK.

  • Tell SAP what can be improved with Interactive Scripting (maximum points)

    Hello,
    This is John Burton, product manager from SAP for the Interction Center. I need you help!
    SAP is looking to fix any critical issues with the Interactive Script Editor and runtime. If you are using scripting and have issues that you think really need to be addressed, please let us know by replying to this message with your clearly stated requirements
    Obviously SAP will not be able to address all requirements. However, we will seriously consider all suggestions and implement those that we feel best address the needs of the SAP customer base while fitting with our available development capacity.
    Please respond as soon as possible this week. Thank you.
    Regards,
    John
    P.S. At least 2 points will be awarded for any suggestions. 6 points to the top 2 suggestions and 10 to the best suggestion.

    hi, thanks for the feedback request ,
    i think  i did a lot of investigation on ISE than anyother,
    i have couple of request to change in the editor,
    1) JAVA versions, java vesrsions always effects the editor configuration and scripts,  which we need to be removed this risk ,
    to fix this issue, we need to investigate  number of hours , whether the error coming from J2EE enginee or the  java vesrion in local machine ,
    rather doing all this, we must have a faculity to develop interactive script in SPRO like survey suite,
    so that we can reduce the risk of this java errors J2ee enginee dependencies, number of consultant  investigation hours, ands alot of money
    then in that case we dont need scripting editor,
    if we can run a survey sute script in webclient , why cant  we designed the scripts  and run  successfully in webclient ,
    we can remove 100 % risk and save millions of money ,
    regards
    sreelatha
    SAP CRM functional consultant

  • Problems with Java Scripting API

    Hello Everyone!
    Guys, I need help with Java scripting API. A problem is that I cannot understand how can I operate Java Object's fields and methods from the script language. I have chosen embedded javascript to work with. And I can get the fields and methods of in-box java classes (such as ArrayList for example), but I cannot work with methods and fields from my own classes!
    Here is an example:
    public class ScriptingExample {  
        class MyClass {  
            int myfield = 5;  
            int getInt() {return 7;}  
        public void runExample() {  
            ScriptEngineManager mgr = new ScriptEngineManager();  
            List<ScriptEngineFactory> factories = mgr.getEngineFactories();  
            ScriptEngineManager factory = new ScriptEngineManager();  
            ScriptEngine engine = factory.getEngineByName("JavaScript");  
            MyClass mc = new MyClass();  
            try{  
                engine.put("mc", mc);  
                engine.eval("print(mc.myfield); print(mc.getInt())"); // or engine.eval("print(mc.myfield)");
            } catch (Exception e) {e.printStackTrace();}  
    }  If I run the code with the commented part it prints "undefined" instead of "5".
    If I run the code as it is it prints error instead of "7":
    undefinedjavax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function getInt. (<Unknown source>#1) in <Unknown source> at line number 1
    at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
    at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
    at javax.script.AbstractScriptEngine.eval(Unknown Source)
    at solutiondatabase.ScriptingExample.runExample(ScriptingExample.java:26)
    at solutiondatabase.Main.main(Main.java:49)
    How can I fix it?

    Guys,
    please let me raise this topic because several new questions emerged.
    (1) How can I get all the variables created inside my engine?
    There are two kinds of variables: first kind is Java obejcts put inside the engine and second kind is the variables created in my script, such as 'var a = 4;'. How can I list all the variables of that two kinds?
    (2) Is there is a way to make 'import static' to the engine? I dont want to write MyClass.MyEnum.MyEnumItem every time. Also, I cannot put the whole enum into the engine with engine.put("MyEnum", MyEnum); I can put only enum items separately: engine.put("MyEnum", MyEnum.EnumItemA);. Thats why I ask about static import.
    (3) How can I cast engine variables back to java variables inside my java code?
    Here is my example:
    package mypackage;
    import java.util.ArrayList;
    import java.util.List;
    import javax.script.ScriptEngine;
    import javax.script.ScriptEngineFactory;
    import javax.script.ScriptEngineManager;
    public class Main
         public static void main(String[] args) throws Exception 
              ScriptEngineManager mgr = new ScriptEngineManager();
              List<ScriptEngineFactory> factories = mgr.getEngineFactories();
              ScriptEngineManager factory = new ScriptEngineManager();
              ScriptEngine engine = factory.getEngineByName("JavaScript");
              ArrayList<Double> myList = new ArrayList<Double>();
              myList.add(5.0);                    
              engine.put("MyList", myList);     
              engine.eval("MyVar = MyList.get(0);");
              System.out.println((Double)engine.get("MyVar"));
    }The result is:
    Exception in thread "main" java.lang.ClassCastException: sun.org.mozilla.javascript.internal.NativeJavaObject cannot be cast to java.lang.Double
    +     at mypackage.Main.main(Main.java:28)+
    Is it possible to retrieve my Double java object from the engine?
    Edited by: Dmitry_MSK on Aug 6, 2010 1:56 AM

  • Problem with ksh script

    Hi
    This is for scripting gurus,
    I am on "SunOs"
    I have created below ksh script to fetch table space info; problem is that I can not have any out put in my variable (TS_DATA);; I don't want to use utl file in my pl/sql can any one tell what went wrong with my script. Thanks in advance
    temp() {
    GET_DB_PASS
    TS_DATA=`sqlplus -s /nolog <<EOSQL
    whenever sqlerror exit failure
    set serveroutput on
    set feedback off
    set pause off
    set echo off
    set heading off
    set verify off
    connect ${l_connect_string}
    DECLARE
    TYPE t_task_tab IS TABLE OF VARCHAR2 (1000)
    INDEX BY BINARY_INTEGER;
    t_tab_space_name t_task_tab;
    t_tot_byte t_task_tab;
    t_fr_byte t_task_tab;
    t_max_chunk t_task_tab;
    t_rpt_txt t_task_tab;
    t_rpt_num t_task_tab;
    l_count number :=0;
    BEGIN
    SELECT tablespace_name,NVL(SUM(bytes),1),1,1
    BULK COLLECT INTO t_tab_space_name,t_tot_byte,t_fr_byte,t_max_chunk
    FROM dba_data_files
    GROUP BY tablespace_name;
    FOR i IN t_tab_space_name.FIRST..t_tab_space_name.LAST
    LOOP
    SELECT NVL(SUM(b.bytes), 1) INTO t_fr_byte(i)
    FROM dba_free_space b
    WHERE t_tab_space_name(i) = b.tablespace_name;
    IF (95 < 100-(t_fr_byte(i)*100/t_tot_byte(i))) THEN
    l_count := l_count + 1;
    SELECT t_tab_space_name(i),TO_CHAR(ROUND(100-(t_fr_byte(i)*100/t_tot_byte(i)), 2))
    INTO t_rpt_txt(i),t_rpt_num(i) FROM dual
    WHERE 95 < 100-(t_fr_byte(i)*100/t_tot_byte(i));
    dbms_output.put_line(t_rpt_txt(i));
    dbms_output.put_line(l_count);
    END IF;
    END LOOP;
    END;
    EOSQL`
    echo $TS_DATA
    temp

    if this is SunOS specifice, is the wrong mailing list..
    what about someting simple:
    cat y.sh#!/usr/bin/ksh
    temp() {
    TS_DATA=`sqlplus -s /nolog <<EOSQL
    connect scott/tiger
    select count(*) from emp;
    exit
    EOSQL`
    echo "${TS_DATA}"
    temp
    ./y.shConnected.
    COUNT(*)
    15
    >
    so works fine on Linux......
    not sure what you are up to, but
    #!/usr/bin/ksh
    temp() {
    sqlplus -s /nolog <<EOSQL
    connect scott/tiger
    select count(*) from emp;
    exit
    EOSQL
    temp
    also should write the output to the stdout; not really sure why you need to use variables to store the results
    guido

  • Problem with TCl script

                       Hello I need help, my Cisco Router (2921) work not correct with tcl script.
    Tcl script work fine on this device long time, but in one time script was not start get error(no any script changes):
    005495: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: Unknown error 2620
    005496: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:     while executing
    005497: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: "close $myfileid"
    005498: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:     invoked from within
    005499: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: "$slave eval $Contents"
    005500: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:     (procedure "eval_script" line 7)
    005501: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:     invoked from within
    005502: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: "eval_script slave $scriptname"
    005503: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:     invoked from within
    005504: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: "if {$security_level == 1} {       #untrusted script
    005505: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:      interp create -safe slave
    005506: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:      interp share {} stdin slave
    005507: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:      interp share {} stdout slave
    005508: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: ..."
    005509: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl:     (file "tmpsys:/lib/tcl/base.tcl" line 50)
    005510: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: Tcl policy execute failed:
    005511: Aug 26 08:46:27: %HA_EM-6-LOG: event.tcl: Unknown error 2620
    If I try do command it not help:
    no event manager policy event.tcl
    event manager policy event.tcl
    I try reload script in router, and every time then script was start, some part of script file was deleted (it very intrusting, because i think script in flash only read (not write))
    Only reload help, auto reload script work fine.
    Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.1(4)M6, RELEASE SOFTWARE (fc2)

    hello Joseph, this TCL script work long time with out any problem and with out any changes.
    On this device I change configuration (add two EEM aplet with event tag syslog pattern) auto this modification i have problem. May be I try do all my configuration on TCL script.
    I add EMM (it work with out any problem): 
    event manager applet RESET-3G-S
    event tag 1.0 syslog pattern "%TRACKING-5-STATE: 2 ip sla 2 reachability Up->Down"
    event manager applet 3G-EEM-STOP
    event tag 1.0 syslog pattern "%TRACKING-5-STATE: 2 ip sla 2 reachability Down->Up"
    My scipt have syslog patern:
    ::cisco::eem::event_register_syslog tag 1 pattern ".*SEC_LOGIN-4-LOGIN_FAILED: Login failed.*" occurs 1 maxrun 50
    ::cisco::eem::event_register_syslog tag 2 pattern ".*%SEC_LOGIN-5-LOGIN_SUCCESS: Login Success*" occurs 1
    ::cisco::eem::event_register_syslog tag 3 pattern ".*%SYS-5-RESTART.*" occurs 1
    ::cisco::eem::trigger {
    ::cisco::eem::correlate event 1 or event 2 or event 3
    ::cisco::eem::attribute tag 1 occurs 1
    ::cisco::eem::attribute tag 2 occurs 1
    ::cisco::eem::attribute tag 3 occurs 1
    Tahnk you

Maybe you are looking for