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

Similar Messages

  • FM to read the different steps in workflow and the status at each step

    Hi All,
    Is there any FM in SAP which gives the detail roadmap of the steps taken in a workflow and the diffrent status or decision at each step.
    I am looking for something like what you see when you click on the "STARTED WORKFLOW" in the business workplace outbox.
    Which shows up the "steps in the process so far "  and the decision and the agents for each of them.
    Thanks,
    Charan.

    Hi,
      You can get the status according to the task. please check with FM "SAP_WAPI_GET_WI_DELTA".
    Regards
    SM Nizamudeen

  • Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. Also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Additional Results Custom Step using Variables in Name and Value to Log expressions?

    I am trying to create a Custom Step Type for logging additional results - requiring a single Name and Value data pair included in the step.
    I want to pass the name and value data in using two specific variables.
    This functionality can of course be explicitly coded on a test step without problem, but I can't find a way to create a custom test step which inserts such a step i.e. automatically inserting the correct variable names into Name and Value to Log fields.
    Any ideas how to accomplish this? I don't want the custom step users to have to type in the variable names every time they use it.
    I am using TestStand 4.1.1
    Message Edited by CIM1 on 04-20-2009 07:26 AM

    Hi CIM1,
    There are a few ways of doing this.
    The simplest one would be to configure the expression in the Pre-Expression or Post-Expression (depending on whether you would like the Step Type to use the value in the variables or write the value to the variables) and then from here you can lock away the expressions from being edited. The caveat with this method is that you are obviously restricing the Pre/Post-Expressions for the step type. 
    Another Method would be to code some code modules to Write to/Read from the Variables and then calling these in the Steps Pre-Step SubStep or Post-Step Substep. The advantages of this method would be that you can search for the Variable, and if the variable is not present, you could create it before writing to it.
    Hope this Helps.
    Best Regards,
    Steve H 

  • 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.

  • I am trying to find a number I called and text back in Feb of 2015 I am having trouble I know you can does anyone know how to and can provide step by step?

    I am trying to find a number I called and text in Feb of 2015? I know you can does anyone know how and can give me step by step instructions?

    See if this helps:
    Re: How can i retrieve sent texts/calls?

  • What are the config steps for contract mass change and quota arrangement?

    Hi friends
    what are the config steps for contract mass change and quota arrangement?
    Regards
    Raj Kumar

    Process Flow
    The mass change process consists of four steps. You navigate between these steps by choosing the Next and Back buttons located at the bottom right-hand corner of the screens.
           1.      Search for contracts
    You search for and select the contracts or the contract hierarchy that you want to change.
    Contracts that have the status Closed cannot be changed.
           2.      Define mass changes
    You specify the changes you want to make.
    You make changes at header data level and at item data level by choosing the relevant change methods. A green tick appears next to each change parameter so that you can see where changes are already active.
    Once you enter this step, the documents you have selected to be changed are locked so that other users cannot make changes to them until you are finished with this process.
           3.      Simulate mass changes
    Here you can perform a trial run of your mass changes. This simulation step is optional.
    We recommend that you perform this step so that you can check how the change methods you have chosen will be processed by the system.
    You receive status messages about the change methods for each contract and can quickly see whether any errors arise in connection with the proposed changes at this stage. From this step, it is easier for you to go back and correct the error than after applying the changes.
    Background processing
    The system processes the changes in the background.
    If there are a large number of contracts to be processed, this step could take some time to complete. In this case, you can leave the transaction so that you can, for example, carry out other tasks in the meantime.
    The system sends you an e-mail once the simulation step is complete. The e-mail contains a link to the relevant screen in the application so that you can return to it when it is convenient for you to do so. If you have left the SRM application, you can only return via this link.
    Here you can see the status of the changes and, if necessary, you can correct any errors by going back to the Define mass changes step.
    The messages that you receive in the simulation step are not confirmation that a change has been performed. They simulate the messages you get after you apply the changes. You must complete the final step of the mass change process and apply the changes before they take effect.
           4.      Carry out mass changes
    Here you apply the changes to the contracts.
    You cannot reverse this step, which is why we advise you to perform the simulation step beforehand.

  • Step incrementing of .ini file and check and changing the content within step

    Hello I want to increment the [step002] automatically in the .ini file. If the steps are copied and pasted more times in already existing file, where by doing so the step numbers are doubled. For example if there exists  [Step002] followed by content of it and then [Step001] and followed by contet of it and  [Step002] followed by content of it. And if a person copies [Step002] with its content 80 times or n number of times then the last one should be automatically incremented  to new number as [Step003] and [Step004] [Step005]. And then I want to arrange the content under each step. In my file I have a " Group_Start = Step001" and  " Group_Name = OQ_004 set high port" as contents in each step. I want to arrange the group name. 
    What I want is, if in the newly copied [Step002] which would have already been incremented to [Step004], it would contain Group_Name = OQ_004 set high port which I have highlighted in italics, if this already exists some where in the file, then its corresponding Group_Start = Step001 which I have highlighted in italics should be given to the newly copied and incremented [Step004]. And in case the Group_Name = OQ_004 set high port which I have highlighted in italics does not match any where then its corresponding Group_Start will be as Group_Start = Step004. That means since the group name is new and it does not exist already in the file, the Group_Start should take its step number [Step004] which her I have highlighted in italics, as its Group_Start = Step004. Here with I attach my file and I also attach my steps which I had tried. It would be nice if solution is given or further step ideas from my steps to complete the task is given.
    Thank you.
    John
    Attachments:
    Config.ini ‏2 KB
    Tried.vi ‏26 KB

    Hello, Thank you for your reply. May be I break it into steps. Now where I am struck is that if there are say random numbers some repeated ones
    example 001, 002, 002, 002, 004, 007, 006 etc.. I would like get sorted in ascending order and also the reapeated numbers should be in the running order. That means 001, 002, 003, 004, 005, 006 etc.. There should not be repeated numbers.if reapeatd then the repeated one should have to be incremented from the previous one. If this has been solved then I can explain the other part and shall aslo goahead. I had already tried one method but the loop seems to be not exactly matching. There are some numbers which come extra. You can use the same config file which I had sent earlier. Just copy and paste the steps below or inbetween and use it for testing. Thank you
    Attachments:
    change all stepst number.vi ‏14 KB

  • 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~

  • 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

  • Steps for execution of valuated and unvaluated for MTO scenario

    Hi,
    Can any one provide the steps for execution of valuated and unvaluated for MTO scenario.
    regards,
    RAM

    Hi,
    Please find below the details about Valuated and non-valuated Sale Order scenarios:
    SAP Scenario 1 - Valuated Sale Order Stock u2013 with Sale Order Controlling u2013 (MTO, ATO and ETO with VC)
    1     Enquiry     
    2     Opportunity     
    3     Quotation (Creation and Approval). In case of ETO u2013 BPO is created and updated in quotation (condition type)     
    4     Creation of Sale Order     
    5     MRP Run u2013 Creation of Planned Order u2013 Creation of Production Order and Purchase Order     
    6     External Procurement u2013 Goods Receipt     ROH Inventory A/c Dr (BS)
         To GR/IR A/c Cr (P&L)
    7     Material Consumption to Production Order     In FI:
    ROH con. A/c Dr (P&L)
        To ROH Inventory A/c Cr (BS)
    Same is the case with HALB
    In CO:
    Cost of Material is debited to Production Order
    8     Activity Consumption to Production Order     No FI Posting
    In CO:
    Production Order is debited and cost center is credited with activity cost
    9     Goods Receipt from Production Order     FG Inventory A/c Dr (BS)
       To COGM A/c Cr (P&L)
    10     Delivery to customer     In-Transit A/c   Dr. (BS)
       To FG Inventory A/c Cr (BS)
    11     Invoicing to customer     In FI:
    Customer A/c Dr (BS)
       To Revenue A/c Cr (P&L)
    COGS A/c   Dr (P&L)
        To In-Transit A/c Cr (BS)
    In CO:
    COGS and Revenue are posted to COPA
         Period end closing u2013 Production Order     
    12     Revaluation of activity prices     Production Order and Cost Center will be debited or credited as the case may be
    13     Calculation of WIP     In FI:
    WIP A/c  Dr. (BS)
      To Change in WIP A/c Cr (P&L)
    If the Order is completed:
    In FI:
    Change in WIP A/c   Dr(P&L)
       To WIP A/c Cr (BS)
    14     Calculation of Variances     Variances are Calculated on the Production Order. No FI or CO entries
    15     Settlement to Sale Order     Production Order and Sales Order will get debited/credited depending on whether they are positive or negative variances
    Period end closing u2013 Sale Order
    16     Result analysis at Sale Order     Result Analysis run will identify the status of the sale order and will enable the postings to COPA at the time of settlement
    17     Settlement of Sale Order     
    In FI:
    Variances A/c Dr (P&L)
      To COGS Account Cr (P&L)
    (It would be otherwise if variances are positive)
    In CO:     
    COGS, Revenue and Variances are settled to COPA
    SAP Scenario 2 u2013 Non-valuated Sale Order Stock u2013 with Sale Order Controlling
    Process Step     Business Process Flow     Value Flow u2013 FI/CO
    1     Enquiry     
    2     Opportunity     
    3     Quotation (Creation and Approval)     
    4     Creation of Sale Order     
    5     MRP Run u2013 Creation of Planned Order u2013 Creation of Production Order and Purchase Order     
    6     External Procurement u2013 Goods Receipt     In FI:
    Consumption A/c   Dr (P&L)
       To GR/IR A/c  Cr (P&L)
    In CO:
    Material costs will directly get posted to Sale Order
    7     Material Consumption to Production Order     Not applicable
    8     Activity Consumption to Production Order     In FI:
    No Entry
    In CO:
    Activity Costs are posted to Production Order
    9     Goods Receipt from Production Order     Only Material Document for movement of goods will be there.  The stock is neither valuated in CO nor in FI
    10     Delivery to customer     Just goods movement from sale order stock to customer. No value postings in FI and CO
    11     Invoicing to customer     In FI:
    Customer A/c Dr (BS)
       To Revenue Cr (P&L)
    In CO:
    COGS and Revenue get posted to Sale Order
         Period end closing u2013 Production Order
    12     Revaluation of activity prices     Prodn Order and Cost Center will be debited or credited as the case may be
    13     Calculation of WIP     No WIP
    14     Calculation of Variances     No Variances
    15     Settlement of costs to Sale Order     All the costs accumulated in Production Order gets collected to Sale Order
    16     Settlement of Variances     No Variances in Production Order
         Period end closing u2013 Sale Order     
    17     Result analysis at Sale Order     In FI
    WIP A/c  Dr. (BS)
      To Change in WIP A/c Cr (P&L)
    If the Order is completed:
    Change in WIP A/c   Dr (P&L)
       To WIP A/c Cr (BS)
    No CO postings will happen
    18     Settlement of Sale Order     COGS, Revenue and other direct sale order related values will get posed to PA.
    Best Regards
    Surya

  • How to make use of the results of one step at the other step in the same sequence

    Hello
    I am new to the Teststand.
    I am using labview8.0 with teststand 3.1
    Plz get me solution for the below
    I am configuring the serial port resources like resource name, baud rate etc..,I made the initialization using setup task.I made serial port write and serial port read as independant vi's in labview and called them from teststand as steps.Now i need the same resource name appear in some other steps in the sequence .how can i get them using teststand commands instead of specfying them at each step.
    Also how to pass values or results obtained from one step to some other step in the same sequence using teststand commands.
    Also help me in parameter passing
    Regards
     Kiran

    Hi Kiran,
    I wrote some example code that demonstrates what you are trying to do. The sequence file relies on a local variable named visa_resource of type LabVIEWIOControl.
    Regards,
    Attachments:
    test.zip ‏11 KB

  • HT204406 hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    That's definitely enough to start.
    It sure seems like it should work...and then I saw that you're using a router. It could very well be that the router is the weak link here.
    Instead connecting to your network router, try using a direct USB connection from your MBP. If that doesn't work, you read this post, which may be relevant to your problem:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/Scanning-from-Mac-10-7-fa ils-after-all-recommendations-Not-ready/td-p/1287003
    It seems you're up to date with software. Post with your results.

  • 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

  • Whats the status of Two Step Verification in Canada?

    Has anyone heard what the status of Two Step Verification is in Canada. I have not been able to set it up since it was (supposedly) set up a few months ago. Thanks for your time.

    I have read a dozen news articles regarding two step verification in Canada. They are all a few months old and clearly state that it is ready to go here in Canada. However I have tried the steps to set it up and nothing! It seems to be a dead issue as I can not find any recent info about two step verification in Canada. I was really hoping that with iOS 7 it would have appeared in my account settings but no.

Maybe you are looking for

  • PDF output not correct.

    I'm using: Report Builder 10.1.2.3.0 When I run the report thru the Builder, the report prints out at 100% in PDF format. When I run the report thru the application server, the PDF defaults to 6.5% (like a postage stamp size). Please note this is the

  • Spellcheck not working/options missing.

    I recently updated to 20 and my spellcheck context menu has vanished. What if you aren't even given the check spelling or languages menu option yet the broken red line under mispelled words occurs and no spelling suggestions made when right clicking

  • If I use a sound clip in the multi-track editor multiple times; is there a way to reverse the clip w

    If I use a sound clip in the multi-track editor multiple times; is there a way to reverse the clip without change all the instances where the clip was used in the same multi-track session? I'm having to copy the clip rename it as clipreverses.wav the

  • ERROR OF throws IN ODBC PLEASE

    hello people, please help me in this code: THIS A FUNCTION: public void resultado () throws ClassNotFoundException, SQLException { String className = "oracle.jdbc.driver.OracleDriver"; String url = "jdbc:oracle:thin:@educacion04:1521:ora92"; String v

  • Stats on Inserts/Updates/Deletes

    What's the best way to figure out how many insert/update/delete transactions my 10g Grid is processing over a given period (e.g. an hour) of time? I want to come up with an automated procedure for collecting these stats (and possibly logging them to