Comparing workareas excluding some specific fields

Hi all gurus,
a silly question, I know, anyway: in my requirement I have to compare different workareas in a loop cycle with a model workarea. The aim is to identify if a workarea in a loop differs from the model workarea except for some specific fields.
In example; the workarea A has 100 fields, and I assume that this workarea is equal to the model one (B)  if all the fields in A contain the same value that corrisponding field have in B except for fields 'guid' and 'p_guid', which can contain different values.
So, A is EQ to B if the other 98 fields are filled with the same values.
Actually I can build a sequence of comparing condition:
IF A-field1 EQ B-field1 AND A-field2 EQ B-field2 ...
that's quite time-wasting and I wonder if there's a better solution to compare in the above described way.... a sort of exclusion for the compare operation maybe?
Sorry, I get that this is probably a very basic question, anyway I searched a bit without results.
Thanks in advance.

If you could change the definition of data type then this comparision can be done in single statement.
See example below.
TYPES : BEGIN OF ty_d ,
          col01 TYPE char01 ,
          col02 TYPE char01 ,
          col98 TYPE char01 ,
        END OF ty_d .
TYPES : BEGIN OF ty_dd .
INCLUDE TYPE ty_d AS d .    "this will enable to refer all COL01.. COL98 by name 'd'
TYPES : guiid TYPE char05 ,
END OF ty_dd .
DATA : ls_dd1 TYPE ty_dd ,
       ls_dd2 TYPE ty_dd .
ls_dd1-col01 = 'A' .
ls_dd1-col02 = 'B' .
ls_dd1-col98 = 'C' .
ls_dd2-col01 = 'A' .
ls_dd2-col02 = 'B' .
ls_dd2-col98 = 'C' .
IF ls_dd1-d = ls_dd2-d .
  WRITE 'EQUAL' .
ELSE.
  WRITE 'NOT EQUAL'.
ENDIF.
ls_dd2-col01 = 'D' .
IF ls_dd1-d = ls_dd2-d .
  WRITE / 'EQUAL' .
ELSE.
  WRITE / 'NOT EQUAL'.
ENDIF.

Similar Messages

  • In Forms Central/View Responses/Save as PDF, is it possible to exclude some form fields?

    in Forms Central/View Responses/Save as PDF, is it possible to exclude some form fields from the saved file?

    Hi,
    I would like to inform you that with forms central, you can convert the selected fields to PDF.
    However, your selection should be sequential. Example- You can convert column 1,2,3,4 and not select column 5; but it is not possible to select only column 2 and 3.
    Regards,
    Nakul

  • Compare sales order items (specific fields)

    Hi guys,
    I need to compare some fields from vbap and vbkd and to add values from sales order items, before I print then on screen.
    I need to compare if vbkd-ihrez_e and vbkd-bstkd and vbap-matnr are the same for two records from sales order (10 and 20), If they are the same then add vbkd-ihrez values (for items 10 and 20), also add vbap-kwmeng, and write that sum on screen.
    Compare item with previous one. if doing for 20 compare with 10, for item 30 compare with 20 etc.
    I start like this.
    select aubel posnr into (wa_tab-vbeln, wa_tab-posnr)
             from vbrp
             where vbeln = p_vbeln.
        append wa_tab to it_tab.
      endselect.
    loop at it_tab into wa_tab.                   << I need somewhere to compare fields if they are the same before I print them.
          select single fbuda bstkd_e ihrez_e ihrez bstkd
                          into
                          (wa_tab-fbuda,
                          wa_tab-bstkd_e,
                          wa_tab-ihrez_e,
                          wa_tab-ihrez,
                          wa_tab-bstkd)
                          from vbkd
                          where vbeln = wa_tab-vbeln and
                                posnr = wa_tab-posnr.
    select single kbmeng waerk netwr arktx kwmeng
                          into
                          (wa_tab-kbmeng,
                          wa_tab-waerk,
                          wa_tab-netwr,
                          wa_tab-arktx,
                          wa_tab-kwmeng)
                          from vbap
                          where vbeln = wa_tab-vbeln and
                                posnr = wa_tab-posnr.
    modify it_tab from wa_tab.
    endloop.
    How can I modify code to get this process? Thanks,
    Edited by: nihad omerbegovic on Nov 2, 2009 9:45 AM

    Hi Nihad
    select aubel posnr into CORRESPONDING FIELDS OF TABLE it_tab
    from vbrp
    where vbeln EQ p_vbeln.
    select a~vbeln a~posnr a~fbuda a~bstkd_e a~ihrez_e a~ihrez a~bstkd
    b~kbmeng b~waerk b~netwr b~arktx b~kwmeng
    into CORRESPONDING FIELDS OF TABLE it_vb
    from vbkd as a INNER JOIN vbap as b ON a~vbeln EQ b~vbeln AND a~posnr EQ b~posnr
    FOR ALL ENTRIES IN it_tab
    where vbeln EQ it_tan-vbeln and
    posnr EQ it_tab-posnr.
    SORT it_tab BY vbeln posnr.
    LOOP AT it_tab INTO wa_tab.
    IF lv_vbeln EQ wa_tab-vbeln. "means it's the same order but a different item
    IF ( lv_ihrez_e = wa_tab-ihrez_e ) AND ( lv_bstkd = wa_tab-bstkd ) AND ( lv_matnr = wa_tab-matnr ).
    ADD wa_tab-kwmeng TO lv_kwmeng.
    WRITE lv_kwmeng.
    ENDIF.
    CLEAR lv_kwmeng.
    lv_ihrez_e = wa_tab-ihrez_e.
    lv_bstkd = wa_tab-bstkd.
    lv_matnr = wa_tab-matnr.
    lv_vbeln = wa_tab-vbeln.
    lv_kwmeng = wa_tab-kwmeng.
    endloop.
    Thanks
    Pushpraj

  • How to delete duplicates of some specific fields in internal table

    i am having internal table of it_ekko.
    in that i am having some data of PO no, Line Item,IR value and IR qty......
    i am having data like below.
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010        1500           4500
    200310052         0010           0                   0
    200310052          0010       0               0
    now where ever IR value and IR qty is present i wanted that to display only once against that PO and line item
    i wanted like below
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010            0              0
    200310052         0010             0                0
    200310052          0010            0               0
    Field names for IR value and IR Qty are Menge2 and dmbtr2.
    How to do that.........
    I cant use
    Delete adjacent duplicates of it_ekko by ebeln = wa_ekko-ebeln and
                                                                          ebelp = wa_ekko-ebelp.
    because i wanted that po and same line items , how many times it is like that only.....
    in it_ekko table i only wanted to delete duplicates of menge2 and dmbtr2.
    Pls suggest the code

    sort itab by po item ascending.
    loop at itab into wa.
    at new wa-item.
    if wa-qty1 ne 0 and wa-qty2 ne 0.
    move wa to wa_final.
    append wa_final to i_final.
    endat.
    endloop.
    or
    loop at itab into wa.
    at new wa-item.
    if wa-qty1 ne 0 and wa-qty2 ne 0.
    write wa.
    endat.
    endloop.
    make sure that the qty1 and qty2 is not character type , then in control statement it will replaced by *.

  • Information Bubble on Specific Field

    Hello Experts,
    I need to implement a mouse-over information bubble on some specific field.
    which enables the users to get the information about the values to be filled into the field.
    Thus i tried to use the Information Bubble script from the TTOCOD(Tips & tricks for Oracle CRM on Demand). But I am having difficulty in implementing it and could not use it.
    Please help me.
    Thanks & Regards,
    Syed Asif

    Hi,
    Please give your suggestions on this.

  • Some symbols gets prefixed  to a specific field in validation statement.

    Hi All,
    I am beginner in SAP MDM and facing an issue in validations in Data Manager. Some symbols gets prefixed  to a specific field in validation statement.
    Any ideas,in what situation does it happen i.e. due to any repository operation from console etc ?
    Regards,
    Shivani

    Dear Shivani,
    Please eleborate when are you getting this and which are the symbols?
    Regards,
    Pramod

  • Export_to_Excel_pkg - How to exclude some fields in the export?

    While it does generate an excel spreadsheet, it includes all the columns of my report even though I have conditions on most of them. I allow the user to select the columns he/she wants in the report. So I want the Excel spreadsheet to have the same fields as the report. How can this be accomplished?
    <br><br>
    I use APEX 3.0.1 not APEX 3.1 and I don't use a report server.
    <br>
    <br>
    Please help!
    <br>
    Regards,
    Robert

    I was able to create an Excel spreadsheet excluding some fields based on the column's condition. I accomplished this by modifying the Export_to_Excel_pkg package. I added a new procedure and modified an existing one (print_report_header). I bolded the area where I changed or added code.<br><br>
    FOR c IN (SELECT   column_alias, NVL (heading, column_alias) heading,
                       format_mask
    ,condition_type,condition_expression1,condition_expression2
                  FROM apex_application_page_rpt_cols
                 WHERE page_id = p_page_id
                   AND application_id = p_app_id
                   AND region_id = TO_NUMBER (LTRIM (p_region, 'R'))
      -- AND include_in_export = 'Yes'
    AND (column_link_text is null or
    (column_link_text is not null and
    UPPER(column_link_text)=UPPER(column_alias))
    )            -- and column_is_hidden = 'No'
              ORDER BY display_sequence)
         LOOP
    if upper(c.condition_type) = 'PLSQL_EXPRESSION' then
    export_excel_pkg.get_include_in_report(p_page_id
    ,p_app_id
    ,p_region
    ,c.column_alias
    ,c.condition_expression1
    ,v_include_in_report);
    if v_include_in_report <> 'YES' then
    goto next_field;
    else
    null;
    end if;
    else
    null;
            end if;
            v_number_of_cols := v_number_of_cols + 1;
            v_column_header_list :=
                    v_column_header_list || ';' || REPLACE (c.heading, ';', ' ');
            v_column_alias_list := v_column_alias_list || ';' || c.column_alias;
            -- apply column formatting
            IF c.format_mask IS NOT NULL
            THEN
               v_column_select_list :=
                     v_column_select_list
                  || ',to_char('
                  || c.column_alias
                  || ','''
                  || c.format_mask
                  || ''') '
                  || c.column_alias;
            ELSE
               v_column_select_list :=
                                   v_column_select_list || ',' || c.column_alias;
            END IF;
    <<next_field>>
    null;     END LOOP;
    The new procedure:<br>
    PROCEDURE get_include_in_report (
    p_page_id IN number,
    p_app_id IN number,
    p_region IN VARCHAR2,
    p_column_alias IN VARCHAR2,
    p_condition_expression1 IN VARCHAR2,
    p_include_in_report OUT VARCHAR2)
    AS
    v_condition varchar2(20) := 'PLSQL_EXPRESSION';
    v_query varchar2(32767);
    v_include varchar2(3) := 'NO';
    v_cur_hdl INT;
    v_rows_processed INT;
    begin
    v_query :=
    'SELECT ''YES'' '
    || 'FROM apex_application_page_rpt_cols '
    || 'WHERE page_id = :g_page_id '
    || 'AND application_id = :g_app_id '
    || 'AND region_id = TO_NUMBER (LTRIM (:g_region, ''R'')) '
    || 'AND condition_type = :g_condition '
    || 'AND column_alias = :g_alias '
    || 'AND ' || p_condition_expression1 ;
    -- open cursor
    v_cur_hdl := DBMS_SQL.OPEN_CURSOR;
    -- parse the query
    DBMS_SQL.PARSE(v_cur_hdl,v_query,DBMS_SQL.NATIVE);
    -- Supply binds (bind by name)
    DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_page_id',p_page_id);
    DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_app_id', p_app_id);
    DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_region', p_region);
    DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_condition',v_condition);
    DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_alias',p_column_alias);
    -- Describe defines
    DBMS_SQL.DEFINE_COLUMN(v_cur_hdl, 1, v_include, 3);
    -- Execute
    v_rows_processed := DBMS_SQL.EXECUTE(v_cur_hdl);
    -- Fetch a row
    IF DBMS_SQL.FETCH_ROWS(v_cur_hdl) > 0 THEN
    -- Fetch columns from the row
    DBMS_SQL.COLUMN_VALUE(v_cur_hdl, 1, v_include);
    -- Process
    ELSE
    null;
    END IF;
    DBMS_SQL.CLOSE_CURSOR(v_cur_hdl); -- close cursor
    p_include_in_report := v_include;
    end;
    <br>
    <br>
    I hope this helps others as well.
    <br>
    <br>
    Regards,<br>
    Robert

  • USMT - exclude folder c:\Notes but include some specific files in it

    Hi,
    my name is Paul, I live in Belgium and I'm fairly new to MDT and USMT. We're doing some testing because we want to implement LTI deployments. Since two weeks I'm testing USMT5. I created a Capture User Data Task Sequence and it worked great. All non-windows
    folders in the C-drive were copied, all Favorites etc. Even the restore worked! So I was happy. :-) But one non-windows folder in the C:-drive is C:\Notes. This folder is almost 1GB and I only need four small files. I read all information I could find on the
    internet but I didn't find any information or examples for my case. Most examples include a folder and exclude some files in it, but I want it the other way around !
    Could you help me? So I want to exclude c:\Notes (and all the subfolders) and include c:\Notes\Data\names.nsf, c:\Notes\Data\bookmark.nsf, c:\Notes\notes.ini and c:\Notes\Data\username.id .
    This is one of the versions I tried.
    <?xml version="1.0" encoding="UTF-8"?>
    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/mignotes">
    <!-- This component first exludes the Notes folder but next migrates all the necessary Notes configuration files within -->
    <component type="Documents" context="System">
    <displayName>Exclude Notes</displayName>
    <role role="Data">
    <rules>
    <Exclude>
    <objectSet>
    <pattern type="File">C:\Notes\* [*]</pattern>
    </objectSet>
    </Exclude>
    <include>
    <objectSet>
    <pattern type="File">C:\Notes\Data\ [bookmark.nsf]</pattern>
    <pattern type="File">C:\Notes\Data\ [names.nsf]</pattern>
    <pattern type="File">C:\Notes\Data\ [*.id]</pattern>
    <pattern type="File">C:\Notes\ [notes.ini]</pattern>
    </objectSet>
    </include>
    </rules>
    </role>
    </migration>

    I believe the XML is case-sensitive, so try <exclude> instead of <Exclude>. Or you could try putting the exclude block after the include block.

  • How to populate customer specific field data in table /SAPAPO/ORDFLDS

    Dear Gurus,
    I have explained in detail about the problem we face. I guess persons who has implemented enhancement:  /SAPAPO/RRP_IO_COL in their system can help me out.
    Background:
    Purchase requisitions in APO is created by an idoc that comes from a legacy system using BAPI CALL FUNCTION 'BAPI_POSRVAPS_SAVEMULTI3'.
    Business Requirement:
    I have a business requirement where I need to populate an additional data 'Original delivery date' from the idoc during PR creation in Product view.
    Development:
    To achieve the above requirement, we are following the below procedure in our development system.
    1. We are using enhancement:  /SAPAPO/RRP_IO_COL, method: RRP_USEX_COLS_FILL_01 and RRP_USEX_COLS_GET_TEXT_01 to display an additional field 'Original delivery date' in /sapapo/rrp3 - elements view. This field is restricted to Purchase requisition (Order category: AG) only. We are planning to populate the additional data 'Original delivery date' in this customer specific field and store it in table: /SAPAPO/ORDFLDS at the time of PR creation.
    2. Table: /SAPAPO/ORDFLDS is appended with the 'customer specific field'.
    3. We couldnt find a document on how the data can be populated in table /SAPAPO/ORDFLDS.
    4. How to polulate the live cache data in the table  '/APAPO/ORDFLDS' ? ( i.e using connection parameter )?
    Appreciate if you can throw me some light on this.
    Thanks
    Vignesh M

    Hi Vignesh,
    ANy luck on this ? I am trying the almost same thing...and stuck at same point.
    Please let us know if you have any more information.

  • Specific Field in Material Master

    Hi All,
    just some user can't see specific Field in Material Master with using MM03, but others people can. Where should  I change settings? Is it something to do with authorization?
    thank&regards

    >
    Jiami wrote:
    > Hi Biju, Pete
    >
    >
    > thanks for Support.
    >
    >
    > Material is created as ( Industry Sector: mechanical engineering
    >                                     Material Type: Trading goods)
    > Field name: Basic material (in Tab Basis Data 2).

    >
    > user can see Field now,
    > but just When we using MM03 in normal level, the Field will be displayed.
    > But after we given a plant, in Plan lever then we can not see this Field anymore in Tab basis Data 2.
    >
    >
    > thanks
    >
    > Jia
    execute OMSR,
    position on field MARA-WRKST
    click the button field selection  right of selection group
    you will now see which fields are assigned to the group
    and below you see in in which field reference the group is set to hidden.
    field reference is a multi usage, it can be for material type, for transaction, for industry .
    so you have to check at least the settings for your material, for the transaction where you get this effect and for the industry you material is created with.
    further there is a customizing transaction OMSA, which is plant specific field selection, and I guess that causes your effect.
    open it and see which selection group is assigned to it.
    then go back to OMSR and see what status is assigned to this field reference.

  • Customer specific field table T77OMATTR

    Hi guys.
    SRM 4.0, server 5.0.
    I have added an attribute to use in the PPOMA. My attribute is for the tax jurisdiction code, besides this extra attribute I have added a customer specific field to the SC. But which function modules should I use to fill the customer field with my attribute, any ideas? I would believe that everytime you enter a new attribute in the table, you would also have to do some coding before it can work, right?
    Thanks
    Dennis M

    Hi
    <b>Here are some related links -></b>
    Re: Creation of Custom Attributes in org structure
    R/3 to SRM
    Creating a new custom attributes in org structure
    First take a look at this forum post regarding your questions - the thread has relevant info for you:
    FM for attribute's value assignation in PPOMA ?
    <u>Regarding your specific queries</u>:
    Can you automate replication?
    Yes - it can be automated. Post processing BADIs exist in the IDOC to allow you to perform your actions.
    <u>What are the tables?</u>
    Well not that you are ever to directly read or update these tables, but they are HR info type tables. Examples would be HRP1222, HRP1000, etc. If you really want to the table that has the attribute value see table HRT1222. Again look only - never develop a program to read/update these tables.
    As mentioned in the forum thread above use the function modules BBP_READ_ATTRIBUTES/BBP_UPDATE_ATTRIBUTES.
    <b>Do let me know, incase you need more details.</b>
    Regards
    - Atul

  • How to compare table data and table field

    Hi buddy,
        I have some question about how to compare table data and table field.
       1. I know there is one method:   CL_ABAP_UNIT_ASSERT=>ASSERT_TABLE_CONTAINS  , it use in unit test to compare the table data(A and B) , you can loop table A into structure A1, then use this mehtod it can compare whether table B contain structure A1.  but when I try to use this in main program it will dump.
              CL_ABAP_UNIT_ASSERT=>ASSERT_TABLE_CONTAINS(
                                                                                                        LINE    = A1
                                                                                                        TABLE = B ).
           Is there any method or FM can be used to compare the table data ?
        2. I also want to compare two table field , try to find out the different. How to realize this.
    Thank you for your sincerely answer.

    Hi Zongjie,
    What`s the difference, if you using loop A into wa_A, read table B into wa_B with all field, then compare with wa_A and wa_B.
    The question 2, seems no standard FM available here.
    Loop A into wa_A.
       Loop B into wa_B.
           if wa_A-field1 eq wa_B-field1.
           endif.
            if wa_A-field2 eq wa_B-field2. 
           endif.
       endloop.
    endloop.
    regards,
    Archer

  • Possible to Exclude a specific intersection from DATAEXPORT?

    Version: 11.1.2.2
    Is it possible to Exclude a specific intersection from a DATAEXPORT in an Essbase Calc Script? I am able to exclude a member but I only want to exclude 1 intersection.
    Simplified Cube:
    Fund
    Dimension
    Center
    Dimension
    Account
    Dimension
    F1
    C1
    A1
    F2
    C2
    A2
    Working export:
    FIX (@relative("Fund",0), @relative(Center,0), @relative(Account,0))
           DATAEXPORT "File" "," "F:\TMP\Exp_Central.txt" "#Mi";
    ENDFIX
    Trying to exclude only the intersection of F2, C1, A1 (i know it doesn't work this way):
    FIX (@relative("Fund",0), @relative(Center,0), @relative(Account,0))
      EXCLUDE ("F2", "C1", "A1")
           DATAEXPORT "File" "," "F:\TMP\Exp_Central.txt" "#Mi";
      ENDEXCLUDE
    ENDFIX
    desired output:
    F1,C1,A1
    F1,C1,A2
    F1,C2,A1
    F1,C2,A2
    F2,C1,A1 I want this line excluded
    F2,C1,A2
    F2,C2,A1
    F2,C2,A2
    This is extremely simplified (I have multiple intersections to exclude, and a large cube) but should adequately pose the question. This process is moving data cube to cube. As an alternative I was thinking on the target cube I could just do a [FIX...CLEARDATA]. I have been searching for an answer and can't seem to find one, can anyone here offer advice?

    You can exclude a combination but not a specific intersection. EXCLUDE ("F2", "C1", "A1") will exclude F2, C1 and A1 completely.
    As Evgeniy.Rasyuk said, you have to use a different way to achieve it.
    You may achieve it using a rule file. I haven't tried it but you can give a try
    1. create a new text field in rule file which you use to load the data
    2. Join all the fields of dimensions related to F2,C1,A1. (remember to ignore this field during dataload
    3. use reject on the filed to exclude F2C1A1 to load to your database.
    The other way is what you have said to clear the data once it is loaded. Easiest and a simple way
    Regards
    Amarnath
    ORACLE | Essbase

  • Rules - Reference an entity member list and then exclude some entities

    I have rules written to extract data in a specific file format.
    I am using a dynamic member list and then want to exclude some of the entities from doing the extract.
    The member list is base of a parent - it has about 500 entities. I only want to exclude 5 entities. I don't want to have to create a member list of 500 entities just becasue 5 of them are not needed.
    I can't use
    POV_ENTITY <>
    OR If Not POV_ENTITY =
    becuause it is not the POV_ENTITY it is the entity in the member list.
    How can I write that?
    Before:
    For Each Entity in HS.Entity.List("",ListName)
    After: (gives me a Syntax error):
    For Each Entity in HS.Entity.List("",ListName) AND If Entity Not "TAX_ROLLUP.TAX_DOM" Then
    Thanks!
    Full section of the rules:
    If ListOfEntity Then
    'Flag accounts have a different name than the Entity list
    'We need to include the name of the entity list in the File name
    'as well as loop through it to extract those entities
    'List Name = "Tax Entity & the right portion of the flag account beginning after "Tax_"
    UndSco=Len(ListToXtract)
    NameR = Right(ListToXtract, UndSco - 4)
    ListName="Tax Entity " & NameR
    'File Name is the concatenation below
    'Admin has to change the path in the WriteToFile routine at the bottom of this file
    FName="HFM_RIA_" & ListName & "_" & pov_period & "_" & pov_year & "_" & XView & "_" & FDate & ".txt"
    'Below is the header of the file
    Call Writetofile("*************************************************",FName)
    Call Writetofile(pov_scenario & " " & pov_period & " " & pov_year & " " & XView,FName)
    Call Writetofile("*************************************************",FName)
    Call Writetofile("Entity" & "," & "Account" & "," & "ECT" & "," & "PCT" & "," & "CAD" & "," & "CZK" & "," & "EUR" & "," & "GBP" & "," & "PLN",FName)
    'We loop through all the entities of the list related to the current flag account
    For Each Entity in HS.Entity.List("",ListName) AND If Entity Not "TAX_ROLLUP.TAX_DOM" Then
    Edited by: user2609991 on Jan 20, 2010 6:23 AM

    Sorry, yes I did it now using the greather than and less than signs.
    I am able to load the rules file but it still writes the Tax_Dom info to the file.
    I think I am going to give up and just create a big member list of all the entities less those six.
    Thanks for responding.
    Edited by: user2609991 on Jan 20, 2010 11:33 AM

  • Assigning an interactive activity  by excluding a specific participant

    Hi,
    I'm trying to implement an approval process using ALBPM 6.0, and have a problem couldn't solve effectively.
    There is an interactive activity (let's call it actA) assigned to roleA, a second activity(actB) assigned to roleB. actB executed after actA and an unconditional transition placed between them. Both roleA and RoleB have some common participants. The problem is, both activities shouldn't be assigned to the same participant. How can I guarantee that a participant who has assigned to roleA and roleB does not see actB in his inbox if he executed actA?
    Do you have any suggestions or a solution?
    Thanks.

    Here's the logic that does a "round robin" assignment, but excludes a specific participant.
    role as Role = Role.find(name : "Employee")
    parts as Participant[] = role.participants
    indexStored as String = retrievePropertyFor(Fuego.Server,
                                        application : "RoundRobin",
                                        name : "LastParticipantIndex")
    lastIndex as Int
    finished as Bool = false
    excludedParticipant as String = creation.participant.name
    if indexStored = null or indexStored.empty then
        lastIndex = -1
        // we will start from zero
    else
        lastIndex = Int(indexStored)
    end
    while not finished do
        lastIndex = lastIndex + 1
        if lastIndex >= length(parts) then
            lastIndex = 0
        end
        if parts[lastIndex].name != excludedParticipant then
            finished = true
            participant.next = parts[lastIndex]
            logMessage "This instance is assigned to " + participant.name +
                ", lastIndex = " + lastIndex + ", indexStored = " + indexStored
        end
    end
    storePropertyFor Fuego.Server
        using application = "RoundRobin",
              name = "LastParticipantIndex",
              value = String(lastIndex)Hope this helps,
    Dan

Maybe you are looking for

  • Cannot get a menu. Get a green blank screen

    I cannot get a menu when I try to set up its. Just get a blank green screen that changes to black and green again.

  • SQL Developer: Windows Authentication on Linux

    Hello. I have trouble getting SQL Developer to authenticate using "windows authentication" and a MS SQL server 2005. I'm on a Linux OS. Authenticating "normally" is no problem, however only windows authentication will be allowed in near future. Does

  • Cannot create QueueSession - wl6.1 sp3

    I have two instances of weblogic on the same server, each running on the           same IP, but different ports. Instance A looks up a connection Queue           Factory on Instance B, creates a Queue, then attemps to create a queue           session

  • Apple Script/Program start through link on HTML page

    Dear Apple Gurus Probably I'm asking something silly, but I don't know any other way to solve my problem. I have to do some training videos about the finder and system tools. To have it easy, I would like to ad some buttons to the project where you c

  • How to make "adjustments" to multiple images simultaneously?

    Hi, I have several images from a shoot with the incorrect while balance setting. Since these images were all taken under similar lighting conditions, I would like to adjust the white balance for all the shots simultaneously....how do i do this?