Jso.getAnnots() returning duplicate name (key) stamps

I'm using VBA to parse a document for comments, and storing them in a dictionary object. I ran into an issue where jso.getAnnots is returning a duplicate name for an item.
Looking into the issue, there are comments with the same text that don't cause this issue.
Looking for a fix and the cause of this issue.
Why would it generate an identical name for a different comment? We've run hundreds of documents with this before and this issue has never occurred before. The name seems to be a unique key, such as "820edea8-c848-432a-aadd-987316a9ea7f".
Here's a snippet of the code:
     jso.syncAnnotScan()
      Annots = jso.getAnnots()
      ' Pass one - get all the comments.
Dim Annots As Object
      Dim Annot As Object
      Dim acroAnnotation As Annotation
      Dim childAnnotation As Annotation
      Dim annotationSet As New Dictionary(Of String, Annotation)
      Dim rootAnnotations As New Dictionary(Of String, Annotation)
        For Each Annot In Annots
                acroAnnotation = New Annotation(Annot, FromFilename)
                annotationSet.Add(Annot.name, acroAnnotation)
                If Annot.inReplyTo = "" Then
                    rootAnnotations.Add(Annot.name, acroAnnotation)
                End If
        Next Annot
It crashes at annotationSet.Add(Annot.name,acroAnnotation)

Ok I managed to get 4.3.1 working in the end. It turned out that because I was using Skinny Wars in maven, it has unforseen side effects with the ChangeAwareClassLoader. I thought I tried this problem without using Skinny Wars, but I guess I didn't.
Edited by: 1002618 on May 1, 2013 9:57 PM

Similar Messages

  • Need help returning correct name from a code created movie clip

    Hello. I am an AS3 n00b with hopefuly a simple question I am designing a simple game in flash. This code creates an array of movie clips and asigns a picture to each one. It is a map screen. What I need is when I click on one of the created movie clips, I need it to return either the index of the clip in the array or the name of the clip. Basicaly anything I can use to tell them apart in the code. Here is the code:
    import flash.display.MovieClip;
    var MapLoader:Array = new Array();
    var strJPGext:String = ".jpg";
    var intContTileNumber:int;
    var strContTilePath:String;
    var intDistStartX:int = 63;
    var intDistStartY:int = 64;
    var intDistMultiplyY:int = 0;
    var intDistMultiplyX:int = 0;
    var intDistCount:int = 0;
    var MapSquare:Array = new Array();
    for (var i:int = 0; i < 729; i++)
             //var MapSquare:MovieClip = new MovieClip();
            MapSquare.push (new MovieClip());
            MapSquare[i].x = intDistStartX + (intDistMultiplyX * 30);
            MapSquare[i].y = intDistStartY + (intDistMultiplyY * 30);
            MapSquare[i].name = "MapSquare" + i ;
            addChild(MapSquare[i]);
            intContTileNumber = i;
            MapLoader.push (new Loader);
            strContTilePath = intContTileNumber + strJPGext;
            MapLoader[i].load(new URLRequest(strContTilePath));
            MapSquare[i].addChild(MapLoader[i]);
            intDistCount++;
            intDistMultiplyX++;
            if (intDistCount > 26){
            intDistCount = 0;
            intDistMultiplyX = 0;
            intDistMultiplyY++;
    stage.addEventListener(MouseEvent.CLICK, reportClick);
    function reportClick(event:MouseEvent):void
        trace("movieClip Instance Name = " + event.target.name);   
    Now all this works fine, it creates the map and assigns the correct picture and places them in the correct X,Y position and it is the correct grid of 27x27 squares. The problem is with the name, when I click on the movie clip, it returns "Instance2" or "Instance5" or whatever. It starts with 2 and then increases each number by 3 for each clip, so the first one is 2, then 5 then 8 and so on. This is no good. I need it to return the name that I assigned it
    . If I put the code in trace(MapSquare[1]) it will return the name "MapSquare1" so I know the name was assigned, but it isnt returning.
    Please assist
    Thanks,
    -red

    Thanks for the resopnse,
    I know I dont really need the name, I just need the index number of the array, but I cant figure out how to get the index name without specificaly coding for it. That is why in the listener event I use event.target.name because I dont know what movie clip is being clicked until it has been clicked on. Basically when a movie clip is clicked it needs to return which index of the array was clicked.
    I could do it this way:
    MapSquare[0].addEventListener(
      MouseEvent.MOUSE_UP,
      function(evt:MouseEvent):void {
        trace("I've been clicked!");
    MapSquare[1].addEventListener(
       MouseEvent.MOUSE_UP,
       function(evt:MouseEvent):void {
         trace("I've been clicked!");
    MapSquare[2].addEventListener(
       MouseEvent.MOUSE_UP,
       function(evt:MouseEvent):void {
         trace("I've been clicked!");
    ... ect
    but that is unreasonable and it kind of defeats the purpose of having the array in the first place. The code that each movie clip executes is the same, eventualy that index will be passed into a database and the data at that primary key will be retrieved and returned to the program. So I just need to know, when one of those buttons is clicked, which one was clicked and what is its index in the array.
    I am a VB programer and in VB this is very easy, the control array automatically sends its own index into the function when one of the buttons is clicked. It seems simple enough, I just dont know how to do it in action script.
    Thanks again,
    -red

  • The KDC encountered duplicate names while processing a Kerberos authentication request in a Domain controller server

    HI
    we have a sharepoint farm and in domain controller server, this error is in event viewer
    Log Name:      System
    Source:        Microsoft-Windows-Kerberos-Key-Distribution-Center
    Date:          9/15/2014 10:44:15 PM
    Event ID:      11
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      XXXAPP01.xxxportal.com
    Description:
    The KDC encountered duplicate names while processing a Kerberos authentication request. The duplicate name is HTTP/XXXWFE01.xxxportal.com (of type DS_SERVICE_PRINCIPAL_NAME). This may result in authentication failures or downgrades to NTLM. In order to prevent
    this from occuring remove the duplicate entries for HTTP/XXXWFE01.xxxportal.com in Active Directory.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Kerberos-Key-Distribution-Center" Guid="{3FD9DA1A-5A54-46C5-9A26-9BD7C0685056}" EventSourceName="KDC" />
        <EventID Qualifiers="49152">11</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-09-15T19:44:15.000000000Z" />
        <EventRecordID>131824</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>System</Channel>
        <Computer>XXXAPP01.xxxportal.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="Name">HTTP/XXXWFE01.xxxportal.com</Data>
        <Data Name="Type">DS_SERVICE_PRINCIPAL_NAME</Data>
        <Binary>
        </Binary>
      </EventData>
    </Event>
    adil

    Hi adil,
    Service principal names (SPNs) are stored as a property of the associated account object in Active Directory
    Domain Services (AD DS). I noticed that you have used setpn –X to identify the duplicate SPN. Please refer to following articles and check if help you to solve this issue.
    Event ID 11 — Service Principal
    Name Configuration
    Event ID 11 in the System log of domain controllers
    Please also refer to following article and check if can help you.
    The problem with duplicate SPNs
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Duplicate attribute key found when creating a dimension

    Good Afternoon,
    I created a cube with dimesnions and all is working fine. I created three dimension ZONE,BLOCK and STREET and these are reltated to the FACT table and all is well. But i was thinking since these 3 dimensions are related and coming from the same table, why
    not just create one dimension with ZONE as the primary key and the heirarchy as zone>block>streetname. In the DSV i created a named query.
    SELECT DISTINCT ZONE, BLOCK, STREET
    FROM dbo.MYTABLE
    group by zone,block,street
    order by zone,block,street
    Please see the sample dataset as well, where when i process the DIMENSION fails with an error that the "Duplicate attribute key was found, column name:Zone, value:1). I know zone and also the other two columns when processed are repeated more than once
    and hence this, is there a way to get what i want.
    ZONE BLOCK STREET
    1 0 Chesapeake
    1 0 East Market
    1 0 East Maryland
    1 0 East Washington
    1 0 North Capital
    1 0 North Delaware
    1 0 North Illinois
    1 0 North Meridian
    1 0 North Penn
    1 0 South Delaware
    1 0 South Illinois
    1 0 South Meridian
    1 0 South Penn
    1 0 Virginia
    1 0 West Georgia
    1 0 West Jackson
    1 0 West Market
    1 0 West Maryland
    1 0 West New York
    1 0 West Washington
    1 100 East Washington
    1 100 East Market
    1 100 East Maryland
    1 100 East New York
    1 100 East Ohio
    1 100 East Washington
    1 100 North Alabama
    1 100 North Capitol
    Thanks
    SV

    Thanks Richard and SS. This is what i did.
    1) In the DSV i created a new named query, the same one i used.
    2) Set Primary Key on Street.
    3) Created a dimension STG_ZBS_DIM and while creating the heirarchy , i draged and dropped the fileds in the following order (zone>block>street).
    4) Tired to process , but getting the same error, except this time at the street level.
    What else i did was changed the primary key back to Zone, went into the attribute relations and set the relation from Zone to Block and then Block to Street, saved and processed and this time i got the error at the block level :-(
    Thanks
    SV

  • InputListOfValues return display name but save the id

    Hi,
    I have a question about inputListOfValues. I have enabled the attribute xxxId in my VO as LOV and created the necessary view accessor. When running in the UI, I can see the LOV popup is launching correctly, and upon selecting the value in LOV, it returns the xxxId to the inputListOfValues input box. However, my requirement is to actually return xxxDisplay name to inputListOfValues inputbox, but when save, it is xxxId which got saved. Any ideas of how to achieve this? Seems like it's a common scenario and I tried to search for some sample codes for it, but could not find it.
    Please help.
    Thanks.
    -Mina

    May i know how to do this..
    I have a employee form. I enter the name of employee.
    I select the department name.
    I want the corresponding department id to get populated.
    The department id is the foreign key in the employee table.
    I am using toplink and EJb and JSF
    I have craeted data control from the EJB
    Im dragging and dropping the data controls from data control palatte.
    Thanks in advance
    Thanks
    Shri

  • A duplicate attribute key has been found when processing

    Hi
    When I process one of my dimensions it fails and I get the following error:
    Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'Customers', Column: 'DisplayName', Value: 'Stephen Grant'. The attribute is 'Display Name'.
    I don't know if this is significant, but the attribute to which it is making reference was added through BIDS 2008 (the cube was originally created with BIDS 2005). 
    There are no duplicates of 'Stephen Grant' in the DisplayName column. Not that it should matter if there were as this attribute has a cardinality of Many, with an rigid attribute relationship directly to the dimension's key attribute. The Key column for the Display Name attribute simply refers back to the same (DisplayName) column in the table.
    If I delete this record, or even just update the DisplayName field from 'Stephen Grant' to something else, the dimension processes just fine. I can't work out what it is about this record that is stopping the dimension from being able to process.
    Can anyone help me figure out what's going on?
    Julia.
    P.S. I am using SSAS 2008 on Windows Server 2008

    Hello there,
    Does anybody has the complete resolution for duplicate entries data. I am showing the data below .
    RegionName
    BranchName
    LoanOfficerFullName
    PRIME - TEAM NORTHEASTERN
    CALIFORNIA
    ALONA  HAYES
    PRIME - TEAM WESTERN
    RENO-DAMONTE RANCH
    VINCENT LOTITO
    PRIME - TEAM WARTON
    NEWARK (Chicago)
    CHRISTOPHER CLIFTON
    PRIME - TEAM WARTON
    GRAND HAVEN (West Michigan)
    SEAN  FOLEY
    PRIME - TEAM SALMANS
    LAWTON (Amarillo)
    THOMAS  STEARNS
    PRIME - TEAM BARTON
    CALIFORNIA
    ALONA  HAYES
    PRIME - TEAM ROBINSON
    LAS VEGAS
    ANGELA DEATON
    PRIME - TEAM ROBINSON
    LAS VEGAS
    HERMAN  VANDER VELDT
    PRIME - TEAM ROBINSON
    LAS VEGAS
    DAWN ROBINSON
    PRIME - TEAM ROBINSON
    LAS VEGAS
    MICHAEL  BIRK
     Here i have the Hierachies in order LoanOfficerFullName-->BranchName-->RegionName. Loan Officer is the lowest level. I had created another column and make that unique entries so that I could make the unique column as the Key and the hierachies i have linked with the key column value. The issue
    is that i am getting the expected result in OLAP  from data side. But the data is not getting aggregated like Team Barton is coming twice though for the Dimension I make IsAggregatable property to True. If anybody can help me I will aprecciate. If any other clarification need I can provide.

  • Java.lang.reflect.InvocationTargetException: Duplicate name

    I have a class and demo program that compile. When I try to run them I get the error
    "java.lang.reflect.InvocationTargetException: Duplicate name"
    Can anybody give me an idea of where to start tracking down this problem? I can't see anything that looks duplicated and I can't find any help on this particular issue.
    Thanks,
    Abigail

    I guess I can go ahead an post the code that I do have. This works when compiled and run from the command line.
    Here's my demo program
    import java.util.*;
    import java.lang.*;
    public class FileSortingDemo {
    public static void main(String[] args)
    /* Create an array of FileSorting object */
    int sortOrder = Integer.parseInt(args[0]);
    FileSorting[] files = new FileSorting[3];
    files[0] = new FileSorting(sortOrder,"1.xml",19990101,501);
    files[1] = new FileSorting(sortOrder,"2.xml",19990201,502);
    files[2] = new FileSorting(sortOrder,"0.xml",19990202,499);
    /* Sort array */
    Arrays.sort(files);
    /* Print out sorted values */
    for(int i = 0; i < files.length; i++)
    System.out.println(files.file_name + "     " +
    files[i].file_date + "     " + files[i].file_size);
    //End of Demo Prog
    Here's the class
    import java.util.*;
    public class FileSorting implements Comparable
    public int sort_order;
    public String file_name;
    public long file_date;
    public long file_size;
    public FileSorting(int sort_order, String file_name, long file_date, long file_size)
         this.sort_order = sort_order;
    this.file_name = file_name;
    this.file_date = file_date;
    this.file_size = file_size;
    /* Overload compareTo method */
    public int compareTo(Object obj)
    FileSorting tmp = (FileSorting)obj;
    switch ( tmp.sort_order )
              case 0:
                   if(this.file_name.compareTo(tmp.file_name) < 0)
                   /* instance lt received */
                   return -1;
                   else if(this.file_name.compareTo(tmp.file_name) > 0)
                   /* instance gt received */
                   return 1;
                   /* instance == received */
                   return 0;
              case 1:
                   if(this.file_date < tmp.file_date)
                   /* instance lt received */
                   return -1;
                   else if(this.file_date > tmp.file_date)
                   /* instance gt received */
                   return 1;
                   /* instance == received */
                   return 0;
              case 2:
                   if(this.file_size < tmp.file_size)
                   /* instance lt received */
                   return -1;
                   else if(this.file_size > tmp.file_size)
                   /* instance gt received */
                   return 1;
                   /* instance == received */
                   return 0;
              default:
                   if(this.file_name.compareTo(tmp.file_name) < 0)
                   /* instance lt received */
                   return -1;
                   else if(this.file_name.compareTo(tmp.file_name) > 0)
                   /* instance gt received */
                   return 1;
                   /* instance == received */
                   return 0;

  • SQL-error "-955-Duplicate name" in DDL statement

    Hi!
    During upgrade preparations (PREPARE) i got follwing problem activating a table TAREF in SOLMAN32/MaxDB 7.5
    estos100:smpadm 79> more MVNTTOOL.ELG
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MVNTABS errors and RETURN CODE in P060227.SMP
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EETP345 22:16:03: Retcode 1024: SQL-error "-955-Duplicate name" in DDL statement for "TAREF
    2EETP345                   "
    2EETP334 22:16:03: error in DDL, nametab for "TAREF" not activated
    1 ETP111 exit code           : "8"
    estos100:smpadm 80>
    When looking from the ABAP perspective (se14 -> table "TAREF" -> Indexes) I see that the table has two indexes:  
    "0   X   Primary index"
    "1   X   Index on Object Type".
    When looking at details for "index 1" it says "does not exist in database". 
    How do I solve this ABAP dictionary inconsistancy?
    Regards,
    Fredrik
    Message was edited by: Fredrik  Rosengren

    Hi Fredrik,
    please open an OSS message for your issue.
    Kind regards,
    Roland

  • Duplicate names..sql help?

    Hi,
    I am facing s problem hope you would help
    I am running a query that shows me name of employees from a table with their
    employee_ids
    select emp_id, emp_name from t
    EMP_ID     EMP_NAME 
    1820       Waugh 
    1920       King 
    1936       Ric 
    1940       Taylor 
    2036       Smith 
    2123       Paul 
    2157       ALi 
    2181       Smith 
    2189       Joe 
    2332       Bichel 
    2333       Usman  I want that if there are more than ONE same EMP_NAMES returned by the query,
    then query should not show the emp_name but instead should show 'duplicate
    name' for matching names
    so in my above data the name SMITH has come twice
    so my desired output is
    EMP_ID     EMP_NAME 
    1820       Waugh 
    1920       King 
    1936       Ric 
    1940       Taylor 
    2036       DUPLICATE NAME 
    2123       Paul 
    2157       ALi 
    2181       DUPLICATE NAME 
    2189       Joe 
    2332       Bichel 
    2333       Usman  hope this will clear my requirement, I need the fastest and shortest possible
    query to achieve this
    CREATE TABLE T
    (EMP_ID NUMBER(4),
    EMP_NAME VARCHAR2(25))
    INSERT INTO T VALUES (1820,'Waugh');
    INSERT INTO T VALUES (1920,'King');
    INSERT INTO T VALUES (1936,'Ric');
    INSERT INTO T VALUES (1940,'Taylor');
    INSERT INTO T VALUES (2036,'Smith');
    INSERT INTO T VALUES (2123,'Paul');
    INSERT INTO T VALUES (2157,'ALi');
    INSERT INTO T VALUES (2181,'Smith');
    INSERT INTO T VALUES (2189,'Joe');
    INSERT INTO T VALUES (2332,'Bichel');
    INSERT INTO T VALUES (2333,'Usman');
    regards,

    SQL> select emp_id
      2        ,decode((select count(*)
      3                from   t t2
      4                where  t2.emp_name = t1.emp_name)
      5               ,1, t1.emp_name
      6               ,0, '(name not found)'
      7               ,'DUPLICATE NAME'
      8               ) empname
      9  from t t1;
                  EMP_ID EMPNAME
                    1820 Waugh
                    1920 King
                    1936 Ric
                    1940 Taylor
                    2036 DUPLICATE NAME
                    2123 Paul
                    2157 ALi
                    2181 DUPLICATE NAME
                    2189 Joe
                    2332 Bichel
                    2333 Usman
    11 rows selected.

  • Exchange Online Management cmdlets return Display Name instead of Identity

    Hello,
    We've got an issue when managing our Exchange Online environment using remote PowerShell.
    We use Exchange management cmdlets to manage Exchange Online mailboxes. When we run, for example, the
    Get-MailboxPermission or Get-RecipientPermission
    cmdlets, it returns Display Names of the users with mailbox rights. Previously, when we initially tested remote PowerShell with Exchange Online, the cmdlets returned the
    Identity property, which is unique and worked well for us. However, currently the cmdlets return the
    Display Name, which is not unique and causes us issues. For example, in our environment there can exist two or more users with the same Display Name (see highlighted on the screenshot):
    In cases when only one of the users is granted a permission, we cannot distinguish programmatically, which of the 2 users this is. Also, we cannot run cmdlets, such as
    Get-SecurityPrincipal, to get more info about the principals who are granted the permission.
    Is it possible to get the old behavior of the cmdlets back so that they return the unique
    Identity instead of the non-unique Display Name? Or how do we workaround this?

    Hello,
    Can anyone update on this? The issue causes us HUGE problems :(

  • Error message: "Can't open file "[File path, file name].key"

    If I attempt to open any Keynote files, I now get this error message.
    "Can't open file "[File path: file name].key"
    To clarify, the text in the square brackets above would be the file path and then the file name.
    The file then will appear on the screen, but is unresponsive to any clicks or menu commands.
    The files will open successfully on other Macs, so they aren't corrupt.
    Also - I've just checked, and opening Keynote and trying to create a new presentation leads to the same problem: All screen menus / buttons are dead - all I can do is drag the window around the screen.
    I've tried to reinstall Keynote, but this hasn't resolved the problem.
    Is there some corrupt preference file (or similar) that I need to get rid of? Is there an easy way to do a complete uninstall of Keynote so I can try another install? Or is this a symptom of something else?
    All ideas gratefully appreciated!
    Message was edited by: Brendan Donlon

    All the issues I describe in my questions around this time re: Keynote were actually symptoms of a soon-to-die laptop. The Hard Disc was corrupting, and Keynote was the first application to be affected.

  • Birthday calendar for only some of my contacts are showing up twice in my iPhone. They are not showing up twice tho on my iMac. No, I do not have duplicate names in my address book either. Any idea how to fix that?

    my birthday events for only some of my contacts are showing up twice in my iPhone. They are not showing up twice tho on my iMac. No, I do not have duplicate names in my address book either. Any idea how to fix that?

    I have uploaded the InDesign file so that you can take a closer look at:
    http://www.hsdesign.comuf.com/downloads/
    The file is called "Template_File.indd"
    So, as discussed the main issues are:
    1) The TOC doesn't generate all the listings (only those with the applied paragraph style "Heading 1 - Appendix")
    2) When I try to create a new pargraph style and apply it to existing or new text, it reads the pargraph style in the Paragraph Style menu, but the style doesn't actually apply.
    Hopefully you can figure something out from this. I really appreciate your help.
    Thanks!

  • Duplicate Semantic Key in Write Optimized DSO

    Gurus
    Duplicate semantic keys have a unique index KEY in the key fields of the DSO when WRITE OPTIMIZED DSO is used. (Of course this is assuming the Do not check uniqueness of data indicator is not checked..)
    See help https://help.sap.com/saphelp_crm60/helpdata/en/a6/1205406640c442e10000000a1550b0/frameset.htm
    This means that the DSO can contain duplicate records.
    My question is: What happens to these duplicates when a request level delta update is done to a Standard DSO or Infocube?
    Do duplicates end up in the error stack? Are they simply aggregated in further loads? - because this would be a problem for reporting (double-counting).
    thanks
    tony

    Hi Tony,
    It will aggregate the data in some undesired way.
    Read on...
    https://help.sap.com/saphelp_crm60/helpdata/en/b6/de1c42128a5733e10000000a155106/frameset.htm
    If you want to use write-optimized DataStore objects in BEx queries, we recommend that they have a semantic key and that you run a check to ensure that the data is unique. In this case, the write-optimized DataStore object behaves like a standard DataStore object. If the DataStore object does not have these properties, unexpected results may be produced when the data is aggregated in the query.
    Hope it helps...
    Regards,
    Ashish

  • How to return the name (or ID) of the Task FLow in Script

    Sitaution; two task flows created which can be accessed via Tools > TaskFlows within FDQM
    Task Flow "1.1 Multi Load - Import" --> Should run Batch Process Up to Import (enmBatchProcessLevel: 2)
    Task Flow "2.1 Multi Load - Import Up To Validate" --> Should run Batch Process Up to Validate (enmBatchProcessLevel: 4)
    I have developed one generic script which I would like to use for each task flow.
    Only the enmBatchProcessLevel differs between the task flows and therefore I would like to parse this enmBatchProcessLevel as a parameter my generic script.
    To be able to do this, the script needs to know on which task flow a user has clicked. So, I am looking for a function or statement which returns the name (or ID) of the task flow. Based on this name (or ID) a conditional statement can be performed in which a variable is dynamically filled. This variable can then be parsed as a parameter to my generic script.
    For instance:
    Sub GenericRoutine
         Dim strTaskFlow
         Dim intBatchProcessLevel
         '--Get the Task Flow Name
         strTaskFlow = ......<How to return the TaskFlow name or ID?>
         '--Validate the task flow and fill variable intBatchProcessLevel dynamically
         Select Case strTaskFlow
              Case "1.1 Multi Load - Import"
                   intBatchProcessLevel = 2
              Case "2.1 Multi Load - Import Up To Validate"
                   intBatchProcessLevel = 4
         End Select
         '--Execute generic script
         '--Call Batch script and parse intBatchProcessLevel as a parameter:
         Call sBatchProcess(intBatchProcessLevel)
         '--Execute generic script
    End Sub
    Sub sBatchProcess(Byval intBatchProcessLevel)
         Dim lngProcessLevel
         Dim strDelimiter
         Dim blnAutoMapCorrect
         '--Use intBatchProcessLevel to fill lngProcessLevel
         lngProcessLevel = intBatchProcessLevel
         strDelimiter = "_"
         blnAutoMapCorrect = 0
         Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter))
         BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
    End Sub
    Edited by: user13642656 on Jul 21, 2011 4:55 AM

    Hi, thanks for your reply.
    The Generic script contains 600+ records, which I would like to maintain once, when having multiple Task Flows for Import, UpToValidate, ValidateOnly, UpToExport, ExportOnly etc.
    Is there a central storage in FDQM workbench for script, like a "Module" in Excel VisualBasic environment? Thanks!

  • 11g Search Index is returning duplicate entries

    We are building up our 11g environments in preparation for migrating over from 10g. In one of our env's (UAT), we have an issue where, if we do a search on a Metadata field or Full Text value, the search engine is returning duplicate results - i.e. each document is listed twice.
    I have done several full rebuilds, including one where I deleted the IdcColl1 folder before kicking it off. No luck at fixing the issue.
    The environment is configured for Full Text searching using Sql Server 2005.
    I am not worried so much about finding out why this is like it is, I just want to fix it because I am running short of time. Any ideas?
    Thanks,
    Alec

    Srinath
    Thanks for your suggestion. I tried the process you described and did a full Reindex (which took several hours). However, when I did the search again this morning, I am still getting the duplicates.
    I am now thinking of exporting all the content using Archiver, reindexing the empty environment and then chcking that the index is empty. This way I have aclean sheet to start with. I would then reimport the content and do another reindex. Hopefully then, the index should be clean. My suspision is that after I have done the export and reindex, that there will still be stuff in the index. Have to wait and see.....
    Cheers

Maybe you are looking for

  • Satellite A20-S103: No internet - no media connected when typing ipconfig

    Hi, A few days ago, i installed windows xp on my Toshiba (SA20-S103). I've installed all the drivers but the internet doesn't work. It keeps saying "no media connected" when typing Ipconfig. Does anyone know if the problem has to do with the drivers

  • MIRO Reversal-Inconsistant Document post

    Hi Expert, Invoice has been reversed using reversal function in MIRO. However documnets are not posted the same way. In reversal document Debit in Vendor account credit in input tax account is correct ,whereas credit posting in GR/IR accounts and pri

  • Is it possible to move photos?

    I need to MOVE photos from my iphone 5 running ios 7.1 to pc running windows 8. i cannot find an option in itunes. Please help me on this. 

  • N95 using access point as default?

    everytime i go into youtube or an application which requires internet, it keeps connecting with "contract WAP", i want it too connect with my home access point? how can i do this

  • Tile and view the whole image

    Does anyone know of a script or way to do the following:  window/arrange/tile all open docs and then set the zoom to view the whole image area on all? Thanks for any help.