CallStudio: reset Value of Count element

Hi all!
Im developing a script in Callstudio 8.5.
There is a Sub-Menu in the flow where the user has to enter TPIN. User gets 3 tries, if unsuccessful, it goes back to Main menu.
NOW I have used a count element (Initial=0, step=1) to do this. The the problem is, when the retries are over, the Count Value does not reset to 0. it stays 3. If user comes back to this menu, user gets only 1 try, as the Count element value does not reset and starts from its last value (ie from3, then goes to 4, then increases for each attempt in this menu).
I need to set the value of this count element to 0 when ever this subMenu is accessed. I dont want to write a class or code for this.
Is there a simpler way to do this, to set this count element data back to 0?
your help required..
regards, ,Asif.

Hi,
A quick workaround would be setInstances() method.
I am surprised that you are getting removeInstance() to work without calling instanceManager or the shorthand underscore (_).
_myForm.setInstances(0); // remove all instances
_myForm.setInstances(1); // create a new blank instance
Hope that helps,
Niall

Similar Messages

  • Call Studio:COUNT element value reset.

    Hi all!
    I am designing a call flow in call studio, and am using the COUNT element at a point to track retries.
    Problem is, I need to set its value back to 0 when the user leaves this menu.
    Any ideas how to set it to 0 without using code/class/URI, as I am not a coder.
    I am trying to reset it using any Callstudio element.
    Thanks and regards,
    Asif.

    Hello all
    I see this was never answered.
    I ran into the same thing the other day and was wondering how to reset the counter function.
    Do anyone have any thoughts?
    Ted

  • How to reset the Terminal Count indicator on the PXI-6608

    Dear Community,
    Is there any way to reset the terminal count indicator on the PXI-6608? When I Use Get Attribute.vi I get the correct value the first time, but unfortunately (unlike DAQmx) reading the value doesn't reset it...
    I'd like to keep track of how many times it has rolled over. And I don't want to use another counter to do that because I'd like to keep them free for other things.
    Thanks!
    Cas
    Solved!
    Go to Solution.

    Traditional daq does not have a means to reset the terminal count indicator, as far as I know. One thing you might be able to do is change the "output mode" to "toggle" and then read the "output state" to determine rollovers by determining when the output state has changed during your application.
    I hope this helps!
    gus....

  • Parsing (COunting Elements and Attributes)

    Can anyone point me to the method sfor counting elements and attributes in a parsed XML document. For example, I have a XML document that contains a number of 'word' files, I need to produce a printout that gives the total number. The files have a size attribute and I need to calculate and printout the total size of all the files together

    ChuckBing,
    Thanks for the pointers. I now have the following method:
    }  public void startElement(String elementName, AttributeList al) throws SAXException
          String attributeValue;
          if (elementName.equals("PRICE"))
          if(al.getLength()>0)
          for(int j = 0;j<al.getLength();j++)
            attributeValue = al.getValue(j);
            System.out.println("Total Attribute value is " + attributeValue);
          }This obviously allows me to extract the detail from "PRICE" but "PRICE" actually has two attributes. I can't find another method that allows me to extract out the detail for a specific attribute.
    Can you suggest anything?

  • Account Lockout - Reset account lockout counter after

    Hi Expert,
    Would you know any disadvantages if we set the Account Lockout Policy - Reset account lockout counter after to longer value e.g. 24 hours or maximum of 99,999 minutes.?
    Regards,
    Jhun

    Hi Jhun,
    I agree with Jack that when we configure account lockout policy, both security and user experience should be considered and balanced.
    If we set the value of Reset account lockout counter after for too long,
    Users may make excessive Help Desk calls, in the meanwhile, if this value is set too short, the attacker would have more chances to crack the system.
    Therefore, administrators should take cautious when configuring policies, protecting organization’s network, and avoiding that un-related person having physical access to machines within organization.
    More information for you:
    Reset account lockout counter after
    http://technet.microsoft.com/en-us/library/hh994568.aspx
    Best Practice Active Directory Design for Managing Windows Networks
    http://technet.microsoft.com/en-us/library/bb727085.aspx
    Best Regards,
    Amy Wang

  • How to get the values of all elements and sub elements from  following xml

    how to get the values of all elements and sub elements from following xml...
    <?xml version="1.0" encoding="UTF-8" ?>
    <List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
    <TransactionID>TransactionID</TransactionID>
    <Match>
    <Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
    <List_Matched_Field>
    <FSFM_Matches>
    <NUMBER>NUMBER</NUMBER>
    <TERROR>TERROR</TERROR>
    <TU>TU</TU>
    <NAMEU>NAMEU</NAMEU>
    <DESCRIPT>DESCRIPT</DESCRIPT>
    <KODCR>KODCR</KODCR>
    <KODCN>KODCN</KODCN>
    <AMR>AMR</AMR>
    <ADDRESS>ADDRESS</ADDRESS>
    <SD>SD</SD>
    <RG>RG</RG>
    <ND>ND</ND>
    <VD>VD</VD>
    <GR>GR</GR>
    <YR>YR</YR>
    <MR>MR</MR>
    <CB_DATE>CB_DATE</CB_DATE>
    <CE_DATE>CE_DATE</CE_DATE>
    <DIRECTOR>DIRECTOR</DIRECTOR>
    <FOUNDER>FOUNDER</FOUNDER>
    <TERRTYPE>TERRTYPE</TERRTYPE>
    </FSFM_Matches>
    <OfacMatchDetails>
    <UID>UID</UID>
    <TITLE>TITLE</TITLE>
    <SDNTYPE>SDNTYPE</SDNTYPE>
    <REMARKS>REMARKS</REMARKS>
    <ID_UID>ID_UID</ID_UID>
    <IDTYPE>IDTYPE</IDTYPE>
    <IDNUMBER>IDNUMBER</IDNUMBER>
    <IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
    <ISSUEDATE>ISSUEDATE</ISSUEDATE>
    <EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
    <ADDRESS1>ADDRESS1</ADDRESS1>
    <ADDRESS2>ADDRESS2</ADDRESS2>
    <ADDRESS3>ADDRESS3</ADDRESS3>
    <CITY>CITY</CITY>
    <STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
    <POSTALCODE>POSTALCODE</POSTALCODE>
    <COUNTRY>COUNTRY</COUNTRY>
    </OfacMatchDetails>
    </List_Matched_Field>
    </Match>
    </List_AML_Finacle>

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5249519

  • How to set a new value for an element inside an XML file....

    Hi guys...!
    I'm using Java to process an XML file and I want to able to make changes to the document. For instance, let say:
    <firstName> John </firstName>
    and I want to change the content or value of the element "firstName" to "Marc"
    <firstName>Marc</firstName>
    How can I get this done?
    This is the code that I have in my java file...But it doesn't work. Nothing happens. The firstName remains "John".
    Do I need to get the owner document to do this?
    firstPersonElement.getElementsByTagName("firstName").item(0).getFirstChild().setNodeValue("Marc");
    Any suggestions will be appreciated...
    Thanks...
    --- Spirit_Away...

    IMHO, it should work the way you describe. Do you
    actually save the DOM tree to file afterwards?Good point. No, actually.
    How do you save the document in that case ???
    Any suggestions...
    Thanks...
    --- Spirit_Away

  • Assigning a value to container element in rule defination

    I am using a rule to determine an actual agent. I am using a function module containing actor_tab and ac_conatiner in TABLES parameter. the agent determined is appended to internal table actor_tab. I want this agent to be available in a container element(say: APPROVER) to use it further. I am trying to assingn the agent value to container element using macro  swc_set_element ac_container 'APPROVER' agent-name. But its not working...any other way to assgn this agent to the container element. Bindings from workflow container to rule container are proper.
    Edited by: Rishi Bhatia on Oct 19, 2008 2:46 PM

    i think you cannot modify the container element from Rule.
    the agents of the task determined by the Rule will be stored in some variable of the container automatically (i think it is RuleResult.Agents). you can check this yourself and then bind this element of the task to your APPROVER element.

  • When I sync my IPod it remembers the plays and doesn't count them from 1 even though I reset the play count, any fix?

         The problem is I like to track my play counts and like it to be correct, and it was having some errors so I reset my plays on all my songs however when I sync my iPod it will remember the amount of plays for example, if I play a song once on my iPod and then sync it it will have 1 play, then if I reset the play count back to 0 and play it on my iPod again when I sync it again it will give it a play count of 2 and so forth as many times as it gets played.
         I have an iPod touch 5, the most recent iTunes update and the most recent iPod software (iOS 8.1) and am using windows 7, but I think the problem comes from the iPod because if i reset the plays and play a song through iTunes it will go to 1, but if i listened to it 3 times on my iPod when i sync it, it will then go to 4.
         I have tried restoring the iPod and syncing it so there is no music on it and then putting it all back on but the problem persists. The only other thing i can think to do is uninstall/re-install iTunes but I'm worried if I do that it will delete my music. That is not a big deal as I have back up files elsewhere on my computer but I also have album art, lyrics etc. for all my 1077 songs and id rather avoid having to get it all back.
         Anyone know how to correct this or is perhaps having a similar problem?
    Thanks, Sean.

    If you haven't done so install iTunes on your computer. http://www.apple.com/itunes/
    Follow the instructions here: iPhone and iPod touch: Unable to update or restore

  • PI 7.0 Condition Editor: Picking particular value of multiline element

    Hi PI-Gurus,
    we're on PI 7.0 with the old condition editor. Within a condition we have to check a value of an element at a particular position. If the value in the second E1EDK14 segment (QUALF 007) is "04", we can process the message. Otherwise the message hast to be stopped.
    Example:
    <E1EDK14 SEGMENT="1">
      <QUALF>006</QUALF>
      <ORGID>01</ORGID>
    </E1EDK14>
    <E1EDK14 SEGMENT="1">
      <QUALF>007</QUALF>
      <ORGID>04</ORGID>
      </E1EDK14>
    <E1EDK14 SEGMENT="1">
      <QUALF>008</QUALF>
      <ORGID>1000</ORGID>
    </E1EDK14>
    Is this possible to address a particular element in the ORGID list?
    As I understand, normally the ORGID's come as a multiline element and can be addressed like this:
    /ORDERS05/IDOC/E1EDK14/ORGID
    My guess is the following:
    /ORDERS05/IDOC/E1EDK14<b>[1]</b>/ORGID  - and unchecking the multiline checkbox
    Am I right, or is there any other solution?
    Help is as always highly appreciated and will be rewarded!
    Thanks in advance!
    Matthias

    Hi,
    The condition editor uses full-blown xpath expressions so you could even use something like
    ORDERS05/IDOC/E1EDK14[QUALF='007' and ORGID='04']/ORGID
    and then for the operator use EX
    or
    /ORDERS05/IDOC/E1EDK14[QUALF='007']/ORGID
      and then operator = and value 04
    Edited by: ciochinah on Feb 16, 2011 7:59 PM

  • Get the value of Container element in message mapping

    Hi,
    Is it possible to read the value of container elements(bpm) in a UDF defined in message mapping. If yes, please tell me how?
    Thanks and regards,
    Siji

    Siji,
    Refer thread - Creating the container Object In Java Mapping
    Regards,
    Geetha

  • Planni values at cost element group level instead of at cost element level

    Is it possible to plan values at cost element group level instead of at cost element level in BI?
    Similary I have another question for financial statements.
    Is it possible to plan values at financial statement level instead of at G/ in BPS or SEM?
    Thanks

    Hi.
    It depends on what you mean "cost element group".
    If you mean node (not leaf) in hierarchy so the answer is NO.
    If cost element group is regular characteristic so the answer is YES.
    Regards.

  • Plannig values at cost element group level instead of at cost element lev

    Is it possible to plan values at cost element group level instead of at cost element level in BPS or SEM?
    Similary I have another question for financial statements.
    Is it possible to plan values at financial statement level instead of at G/ in BPS or SEM?
    Thanks

    You mean that I am on the wrong forum. Which forum is useful  for me for this question?
    Thanks

  • Value Help at element level rather than Node level...

    Hi Experts,
    Need your inputs on one of the scenario.
    I am using the method SET_ATTRIBUTE_VALUE_SET (Sets the fixed values for an attribute) of interface IF_WD_CONTEXT_NODE_INFO and this allow me to see only the defined values in the dropdown.
    Now let say I have 1 node with two element and want to make the valuehelp for one attribute with different-different value in both element.
    Example:
    Node name is PersonDetails
    Attributes are ANREX (Form of address text)
                           NACHN (Last Name)
                          VORNA (First Name)
    There are two elements PersonalDetails1 (MR   ,  XYZ  , XYZ)
                                    and PersonalDetails2 (MRS   ,  ABC  , ABC)
    Now for the above two elements,  value help for 1st Element needs to be (MR / DR) and for second (MRS / MR / MISS).
    But the method SET_ATTRIBUTE_VALUE_SET is called at NODE leveel and not at ELEMENT level and so always value help will be of type 2nd element.
    You can see this scenario in infotype 0009 in which Payment Method are different for subtype 0 (Main Bank) and
    5 (Main bank details for Off-Cycle).
    Please let me know if any other information is required.
    Thanks,
    Harish

    Hi Harish,
    One attribute and two value_set would be possible only in dynamic programming. Is it feasible and workable, i doubt on that.
    I would attempt to do that only when there are no other options available. You have to go back to your designers to see if they want to re look into this.
    But the method SET_ATTRIBUTE_VALUE_SET is called at NODE leveel and not at ELEMENT level and so always value help will be of type 2nd element.
    If you use a supply method, you could fill for every element a different value set.
    or you could define a  node in side your person-details with cardinality 1:1.You could refer coloring a table cell_editor as example.

  • Set currency value of pricing element in condition tab - VA21

    Hi GURU,
    Would you please help to identify the way to set the following currency values for pricing element in condition tab when creating system quote by va21:
    Rate unit (RV61A-KOEIN)
    SD document currency (KOMK - WAERK)
    Thanks in advanced,
    Regards,
    Thang

    Solved

Maybe you are looking for