Step status

Is there a way to find the total number of steps failed during a given execution. I see that step status information is available but that is for individual steps. http://zone.ni.com/reference/en-XX/help/370052H-01/tsapiref/reftopics/stepproperties/
I am looking to somehow keep track of the number of comparision step fails (numeric limit test step, multiple numeric limit test step or string test step) for a given execution. Should also track the steps failed if they are in subsequence.
Thanks.
CLD,CTD
Solved!
Go to Solution.

Good afternoon,
Add the 'SequenceFilePostStepFailure' callback to your sequence.   Keep track in the callback for the 'type' of tests that failed by using a case statement on the test type and a numeric counter.  Increment the counter each time a specific step fails.  You could make this a fileglobal and have it print out in the report.  With a bit more work you could push the value for display in your operator interface, if desired.
Thanks,
PH

Similar Messages

  • Process Chain step status

    Hello All,
    In one of our process chain , we have an AND step, where in its checks its 4 preeceding steps, its all 4 are green,the AND Step executes and it goes to the next step.
    Chain is running fine since many years. But yesterday , we faced the issue that even if the preeceding steps were green, the AND step status showed Completed  rather it should show Successfully Completed.
    So we had to manually change the status to Successfully Completed  and it went fine.
    We check with the Basis also, the system was fine during that point.
    Any pointers why the step did not get the Status as Successfully Completed.
    Job name: BI_PROCESS_AND
    Regards,
    Mayank

    Hi,
    You can find the necessary logs & status of the process chains in the RSPCLOGCHAIN table.
    Let's know the status.
    Also check in table RSPCPROCESSLOG
    Let us know the details.
    Reg
    Pra

  • Problem using Change production and SFC step status with Simultanious group

    Hello,
    We just upgraded to ME 5.2 SP5 patch which was released two days back, the problem with Simultanious group is fixed and SFC gets the correct next step as per defined in the router (Previously there was bug).
    But when we try to use change production and put SFC in simultanious router at some particular operation as que it is getting in que at all operations and really can be started and completed even at the last operation.
    Same is the case with step status if we put it in que at some intermediate operation all operation listed above are becoming in que irrespective of the flow defined in simultanious router.
    Please let me know how to handle this.
    Regards,
    Pushkar Patil

    Hi Pushkar,
    It seems to be a bug. I would suggest opening a ticket on this.
    Regards,
    Alex.

  • How to prevent step status from appearing in report

    How can I prevent the the rows containing step name (Settings) and Staus (Done) from appearing in the report?   

    Hi xiv015,
    If you do wish to change the formatting of the report, then you will have to do some report customization.  If you just want to leave out the steps with the Done status and keep the same report formatting then you can use Result Filtering exactly as Teds described above.  In Teststand go to Configure»Report Options and enter the expression Teds described in the expression box.  This will not include the steps with status equal to "Done" in the report.
    Justin D
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Step status, number of steps and result container

    Hi All.
    I have several problems with my OI.
    1. I am using my own execution viewer, its build up on UIMessages, that is executed from my custom step types as a poststeprun. The problem is that when poststeprun is executed then the status expression is not executed. I can see one solution, that is to evaluate the status myself in the routine that writes to the OI. I think this is not a good solution, because it takes time, and status expression will do exactly the same afterwards. So any other ideas ?
    2. Is there any way that I can count how many steps there is in my seq, this number should be used to "count down" in a progressbar on the OI.
    3. How do I "enable" more variables to be included in the result container, I have my own "test result container" that I want to be included in the normal result cluster, so I afterwards can get the results in the processmodel. I tried to build something in SeqFilePostStep, but the problem is that this is called after every step... so you need a lot of controlling to take care of while and for loops.....

    Hi,
      Due to the execution order within a step's execution a post step substep will be called directly after the code module itself has run.
    You could evaluate the status as part of the step if you wanted, or you could move to using a post step callback in the sequence, then you could get a handle to the step, and in theory (I've not tried this) use the step's adapter to get to the adapter API and find out the path to a custom substep (rather than a post step substep) and run this, thus giving you a generic method of calling into the step after the status is resolved.
    Counting the number of steps in a sequence is part of the sequence object (such as runstate.sequence) where you can call a method (use an activex/COM adapter to call an action step) and call the method GetNumSteps (this is based per step group, so run it out 3 times)
    There are a few methods of including more variables into the resultlist - try looking at the AddExtraResult method of the Execution object, used in the process model sequencefile (from the sequential model, go to the test uuts entry point, and open the sequence call setup result settings (8 or so down in the main step group). That calls into the ModelSupport.seq and the Setup Result Settings sequence. In there are two pre-conditioned action steps that say if there is a property of the step called "x" then add it to the step result element in the resultlist array and call it "res x".
    Hope that helps
    Thanks
    Sacha
    // it takes almost no time to rate an answer

  • Check Job step status

    HI,
       My scenario goes like this :
          I have 3 steps in a background job with 3 diff variants. I want to find out a way
    to find the status of each of my job steps, and after each job step is submitted on knowing its status i want to send a corresponding mail to a few people .
    How do i do this.
    Answers will be rewarded,
    Regards,
    Rohan

    Hi,
    CALL FUNCTION 'BP_JOB_READ'
        EXPORTING
          job_read_jobcount     = w_jobcount
          job_read_jobname      = w_jobname
          job_read_opcode       = '20'
        IMPORTING
          job_read_jobhead      = wa_jobhead
        TABLES
          job_read_steplist     = i_jobsteplist
        EXCEPTIONS
          invalid_opcode        = 1
          job_doesnt_exist      = 2
          job_doesnt_have_steps = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    To Display the status text as per the status type
      CASE wa_jobhead-status.
        WHEN 'S'. WRITE: / text-033. "'Scheduled'.
        WHEN 'R'. WRITE: / text-034. "'Released'.
        WHEN 'F'. WRITE: / text-035. "'Completed'.
        WHEN 'A'. WRITE: / text-036. "'Cancelled'.
        WHEN OTHERS.
      ENDCASE.
    Best regards,
    Prashant

  • Get pass/fail step status in a boolean led in LabVIEW

    Hello,
    I want to know how I can get the status of a step in LabVIEW during the execution of a sequence, using the TestStand ActiveX engine(the sequence is executed in LabVIEW using the TestStand Simple UUI Interface for example).

    You should use UI Messaging to communicate between an executing sequence and the UI:
    http://zone.ni.com/devzone/cda/tut/p/id/4532
    http://zone.ni.com/devzone/cda/tut/p/id/7560
    If you want to get the status for every step then use the Post Step Engine callback and just post a UI Message with the result.
    Let me know if you have any questions.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Reset BPF step status for some of the company only

    Dear all,
       For example , we got 5 steps.
       All the companies finish to step 3.
       The step 1 and 2 has been locked.
        Suddenly, one of the company have to do some modification from step  2.
       Is it possible to unlock step 2 for that company only?
       It seems that we have to reset BPF status for all instances to do the change now.
    Best Regards,
    Jeff

    HI,
    If you haven't done so, try repairing disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    Carolyn

  • Job Step Status

    Hi All,
    Is there any FM or table to check the status of each job step??
    I mean while my job is executing i want to check the of the job step that has finished execution.
    For e.g. If Job A having 3 steps is running.Step 1 has completed execution and Step 2 has started. At this point i want to chck the status of Step 1 and accordingly send mail to people.
    How can i achieve this.?
    Its Urgent...
    Answers will be rewarded.
    Regads,
    Rohan

    Hi Rohan,
    The information about back ground jobs are stored in table <b>TBTCO</b>.
    field STATUS denotes the status ( A - failed, F - complete , R - active )
    The primary key for this table is job name ( including the step  )
    Check this table for more details.

  • How to edit the Step status text

    For example, I want to change the status result which is produced on a report from 'Passed' to 'GO' or 'Failed' to 'NOGO'. I know that you can edit the report colors for the result text in the Report Options menu, but I can't seem to find a way to edit the actual result text. I've also looked in the horizontal.xsl stylesheet to no avail.

    I would start with modifying the report header. In the sequence ModifyReportHeader look at the parameter ReportHeader. It contains the UUT Result, usually "Passed" "Failed", "Error" or "Terminated".  Replace that part of the string accordingly.

  • Query to see the Status of all jobs including steps

    Hi,
    I have 5 jobs in my sql server and each job has 5 steps.
    I need a query which returns the job status, along with steps status in a single query.
    i want the result of last execution only

    you can use msdb catalog views like sysjobs,sysjobsteps etc for that
    see
    http://www.mssqltips.com/sqlservertip/2561/querying-sql-server-agent-job-information/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Application document not psted status 51 in ALE/IDOC

    Hi Gurus/Experts;
    Status number : 51 Application document not psted.
    I have configured ALE for distributing material master data. On the outbound side the status of every Idoc is sucess. But on the inbound side some of them are red stating error.
    Outbound Side :
    we05 t-code.
    03 success.
    Inbound Side:
    we02 t-code.
    51 Error.
    when I execute the we02 t-code and
    Expand Status Record 51
    am getting error like : Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT
    Please Give me some suggestion on this..
    Thanks;
    Ravi.

    HI jayanth;
    thanks for your replay.
    we are almost 1 step ahead i think ...
    plz suggest me the same...
    those steps are very usefull and its cleard the step status type 51 error
    now am getting error on inbound side when we execute we02 t-code.
    status Error number 29.
    Could not determine recipients for message type MATFET
    Message no. B1003
    Diagnosis
    An IDoc of message type MATFET was passed to the ALE layer, but the three receiver fields in the header record were not filled. In this case the ALE layer tries to determine the receivers from the entries in the distribution model. There are no entries available in the distribution model for the above message type.
    Procedure
    Define the receivers in your distribution model for this message type or deactivate distribution for these message types.
    Thanks;
    Ravi.

  • Workflow Step 'In Process'- Send mail with PDF attachment

    Hi,
    have to send mail with PDF attachment.
    I have written a function module with following steps,
    1. Convert SPOOL number to PDF using Function Module 'CONVERT_OTFSPOOLJOB_2_PDF'.
    2. Send mail with PDF attachment using Function Module 'SO_DOCUMENT_SEND_API1'.
    The Function Module is giving required output when tested and called in the report(Background Job).
    When I call this Function Module from Method-> Workflow Task the Workflow steps status is 'In Process' and not ending.
    Could you please help me on this??

    Hi shafath,
    When you try to send mail,  You need to call the function FP_JOB_OPEN before calling the function module to generate the pdf. ( /1B****)  . Is it missing in your code?

  • Workflow status is getting cancelled .

    Hi All ,
    I am using a workflow which working completely fine but at the end of workflow I am getting the status as ''CANCELLED" rather than Completed, I can see in the log that after the complition of last step I am getting the status logically deleted . I also checked in workflow agents view to check that if some one has logically deleted it manually but getting no one .
    Can you please help me in this .
    Thanks in advance !!!
    Ashish .

    Hi Ashish
    try these:
    1) First of all, in your fork, right branch, where you are waiting for POSTED event, also receive the _EVT_CREATOR from the event (in the binding from event to WF) , if it is WF-BATCH, loop back to wait for event so that when posting is done from the Workflow, it does not ends itself. The completion of workflow will be taken care of by the other (parallel) branch of the fork
    2) Yes, its confusing that why it is getting CANCELED. Is the MAIN workflow getting canceled? I doubt....it must only be the last few steps in the left hand branch (decision branch) of the fork; before those could be executed, the left branch of Wait event was over and thus nullified thosestep(s). Please confirm if the step status is CANCELED or the Main WF Status is canceled. If it's just the step, then point one would take care of it
    3) If the MAIN WF gets canceled - then do check the workflow header-> the HAT icon-> Version Dependant Tab->Events Tab-> Check if POSTED is set to "CANCEL" the workflow (under Receiver type)....this could be causing the cancellation
    Regards,
    Modak

  • My wokflow stuck at step level

    Dear experts,
    My workflow having couple of steps(standard tasks fore ground and background).
    After completion of one back ground step workflow got stuck(that step is complted successfully,) but not moved to next step that is another back ground step. Here there is no error(dump) happened in workflow.
    Thanks and Regards,
    Ravikanth

    Dear Rick,
    Status of the latest workitem is Complted, After that i have used Usedecision step in that step i have maintainaed one secondarymethod(Method before workitem Execution), but the problem is  after compltetion of back ground step ( Status completed)  next workitem ( for user decision step) not get generated.
    I have checked the workflow for every step level, no error happened.
    Thanks and Regards,
    Ravi

Maybe you are looking for