AC 5.3 - CUP - initiator attributes - conditional logic

Is there a trick to making the conditional logic work correctly in CUP when trying to define/select the initiator attributes?   Even when I specify to use AND, it seems to still be adding the attribute with an OR condition.
For our non-production provisioning,  I have a role that needs to be approved by different people depending on which system (i.e. Dev, IT, QA) it is being requested.  I am trying to set up the 2 initiators as follows:
Initiator 1:  Application/System = DEV and  Role = Role 1
Initiator 2:  Application/System = IT or QA    and    Role = Role1
Edited by: Jane Yap on Oct 22, 2009 5:12 PM

After playing around with this more,  it appears that if I am selecting Role as the attribute and use the search functionality (i.e. click on the magnifying glass) to specify/select the actual role/role name,  the conditional logic does not get set accordingly.   In order to get the correct conditional logic set (i.e. populate the one I actually selected),  I need to type the role name or pattern of the role name instead of selecting the role using the search functionality.  
I guess everywhere else within GRC AC it's always best to use the seach functionality when setting/selecting field values  (as opposed to manually typing/entering the values) EXCEPT for when creating/changing CUP initiators.   Documented feature? Perhaps...
Thank you to those who responded to my post.

Similar Messages

  • CUP Initiator Conditional Logic

    Hi All,
    How can I create an Initiator with below logic using 2 attributes "Request Type" and "Functional Area"?
    Initiator = (RequestType1 or RequestType2 or RequestType3) AND (FunctionalArea1 or FunctionalArea2 or FunctionalArea3)
    If this is not possible then is my option to create multiple initiators by splitting the above logic and then create a separate workflow for each initiator?
    Regards,
    Jay

    Dear Jay,
    You can use the logic as below
    Request type 1 or Request type 2 or Request type 3 or Functional Area 1 or Functional Area 2 or Functional Area 3
    If you use AND then the logic will take Request 1,2,3 AND Functional Area 1 ONLY and futher OR logic will not work for the other functional areas.   
    Thanks and Best Regards,
    Srihari.K

  • Hiding conditional logic using JSF tags

    Hi
    I'm trying to encapsulate some logic which, dependent on a true / false validation, outputs either one component or another containing a value.
    For example...
    when the validation is true, output <h:selectOneMenu... containing all available values with selected value highlighted.
    when the validation is false, output <h:outputText... containing selected value.
    I've tried custom tags but I'm using this to write out very basic tags and I'd prefer to use the JSF HTML tags.
    The only option I can see is to write conditional logic in the JSPs to say:
    if valid = true
    <h:selectOneMenu...
    else
    <h:outputText...
    endif
    ...but this means the developers must do this for every occurrence and the pages contain lots of conditional logic.
    Is there any way to create a custom JSF tag which outputs JSF HTML tags as this seems to be what we want to do?
    Thanks D

    There is no tag for this, but every HTML component has a 'rendered' attribute which accepts a boolean expression. If it's outcome is true, then the component will be rendered, otherwise it will be hidden.
    Here are some basic examples:
    <h:someComponent rendered="#{myBean.booleanValue}" />
    <h:someComponent rendered="#{myBean.intValue > 10}" />
    <h:someComponent rendered="#{myBean.objectValue == null}" />
    <h:someComponent rendered="#{myBean.stringValue != 'someValue'}" />
    <h:someComponent rendered="#{!empty myBean.collectionValue}" />
    <h:someComponent rendered="#{!myBean.booleanValue && myBean.intValue != 0}" />
    <h:someComponent rendered="#{myBean.stringValue == 'oneValue' || myBean.stringValue == 'anotherValue'}" />

  • How to show relation attribute on logical model

    Hi.
    How to show child entity relation attributes on logical model?
    Entity properties attribute list contains relation attributes, LM dont show they.
    I have model with several subviews. I need to show some entity without related entities but need to save "semantic" of relations on this subview. When relation attributes does not visible - no information about invisible relations on this subview.
    I can create my own visible attribute like "reference to customer" to make sense the relation with entity "Customer". This case problem is relation attribute presents in entity implicitly and relation model have 2 attribute - my own and generated FK column.
    In logical model i can`t replace child table relation attribute to my own "visible" attribute.
    In relational model i should redefine FK manually. Transformation script is posible but very odd way.
    Any advice appreciated.

    I am confused.
    I think the legacy Oracle Designer Barker notation could show reation attributes optional or by default, int`t it?
    Thanks a lot anyway.

  • Advanced Search using conditional & logical operators+ sharepoint 2010

    Hi Team,
    We have an requirement something like this. we have to search values from Custom SharePoint List using Conditional & Logical Operators in SharePoint 2010. how can i achieve this ? if some one has worked on something like this, can you please share the
    details to my email id ([email protected]
    Thanks in Advance.
    Cheers, San

    Hi Santhosh,
    If you have only one list, then you can use CAML query to perform search in that list. You can write code to generate dynamic CAML based on selection in the filter.
    If have to perform the search function on multiple list then you can use Search object model and create dynamic query and execute it using Search OM.
    http://msdn.microsoft.com/en-us/library/office/dn423226(v=office.15).aspx
    Best Regards,
    Brij K

  • Initial load conditions in OWB

    Hi
    We are building Datawarehouse using Oracle warehouse builder and Express.I would like to know about the initial load for each mapping.Currently the mapping is done for incremental load.If i have to do it for Initial load, how it can be done.Is it require to change each mapping individually to run for initial load conditions.After that we have to set the mapping for incremental load. Otherwise using OWB can be done in other way.Pls.can anyone help in this regard
    Thanks
    Narasimha.

    You can create the mappings with input parameters and then input the initial and incremental loading properties (record dates, for example) as parameters for each load.
    Regards:
    Igor

  • GRC AC v5.3 CUP - Initial Data Files

    Hi All,
    re: GRC AC v5.3 CUP - Initial Data Files
    Our GRC-AC v5.3 CUP Dev system has too many roles and we want it to match our GRC-AC v5.3 CUP QA system. We do not want to go through one role at a time and delete them. Would it be the correct procedure to export the CUP QA system "Initial Data" files for "Roles" and import into CUP DEV using the setting "Clean and Insert".
    Both systems are on the same CUP Version / SP / Build.
    Any help on this would be greatly appreciated.
    Thanks,
    John

    >
    John Stephens wrote:
    > Hi All,
    >
    > Yes, you are correct. An attempt gives the following error message:
    >
    > "x Please select Insert or Append option, to avoid Data Integrity errors, Clean and Insert option is not available."
    >
    > We came up with some additional options that we will pursue to resolve this.
    >
    > Thanks for your help on this.
    >
    > -john
    Hi John,
    Can you elaborate on what options you pursued to do mass role removal in CUP?
    Thanks!
    Jes

  • Conditional logic in sqlplus??

    Hi,
    Is it possible to put a condition around an SQLPLUS command? or run an sqlplus command (such as PAUSE) from within a PL/SQL block? do any packages allow this?
    I would like to be able to set a variable in a script which would override/bypass the pause command.
    Example: (if sql allowed conditional logic...)
    define(var) do_prompt = true;
    if do_prompt
    prompt Warning you are about to drop the database! press Enter to continue.
    pause
    end
    Thanks

    One way to do it is to select into a variable using
    col ... new_value ...
    and then use the variable as the name of another sqlplus script to run using START.

  • Conditional logic?

    Hi Everyone,
    I am attempting to add some conditional logic to a query. The basic premise is as follows (this query snippet does work!) -
    DECLARE @choice int
    SET @choice = 0
    IF @choice = 1
    BEGIN
    SELECT 'True'
    END
    ELSE
    BEGIN
    SELECT 'False'
    END
    I now want to go one step further by adding a SELECT statement that will ultimately determine how the @choice variable is set. 
    For example if a product code exists in the appropriate database table I want to set @choice to 1, otherwise set it to 0.
    If anybody can suggest how I can go about this it will be greatly appreciated.
    Kind Regards,
    David

    DECLARE @choice int
    IF EXISTS (SELECT * FROM TABLE WHERE Product = 'Product Name')
    SELECT @choice = 1
    ELSE
    SELECT @choice = 0
    You can make use of IF EXISTS as above.
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • Dreamweaver template and conditional logic

    I would like to create a DW template and show or hide content using conditional logic. Can this be done?
    Thx!

    tangonovember wrote: I would like to create a DW template and show or hide content using conditional logic. Can this be done?
    If the following quote is of interest to you, check out Chapter 14 of the CS3 DW manual.
    "An optional region is a region in a template that users can set to show or to hide in a template-based document. Use an optional region when you want to set conditions for displaying content in a document.
    When you insert an optional region, you can either set specific values for a template parameter or define conditional statements (If...else statements) for template regions. Use simple true/false operations, or define more complex conditional statements and expressions. You can later modify the optional region if necessary. Based on the conditions you define, template users can edit the parameters in template-based documents they create and control whether the optional region is displayed.
    You can link multiple optional regions to a named parameter. In the template-based document, both regions will show or hide as a unit. For example, you can show a “closeout” image and sales price text area for a sale item."
    Roddy

  • If condition logic

    Need ur help in writing a IF condition logic.
    I have written a code like
      IF itab-amt between 100 and 200.
      Result = itab-sales.
    endif.
    Now i want to change the logic to
    If itab-amt between 100 and 200 excluding 110 120 122 134.....
    result = itab-sales.
    endif.
    can u give me the code with correct syntax
    Regards..
    Balaji

    Hello,
    Try to do it using a range table:
    * After the declaration of the data object itab.
    DATA:
      lr_range LIKE RANGE TABLE OF itab-amt,
      ls_range LIKE LINE OF lr_range.
    ls_range-sign = 'I'.
    ls_range-option = 'BT'.
    ls_range-low = '100'.
    ls_range-high = '200'.
    APPEND ls_range to lr_range.
    ls_range-sign = 'E'.
    ls_range-option = 'EQ'.
    ls_range-low = '110'.
    APPEND ls_range to lr_range.
    ls_range-low = '120'.
    APPEND ls_range to lr_range.
    ls_range-low = '122'
    APPEND ls_range to lr_range.
    ls_range-low = '134'.
    APPEND ls_range to lr_range.
    IF itab-amt IN lr_range.
    ENDIF.
    Regards.

  • ADFBC EO attributes: "conditionally" mandatory

    We've a requirement via ADF BC to say that an EO attribute is mandatory/optional, based on an external piece of logic. In other words the field is "conditionally" mandatory, and polymorphic EOs are not suitable in this situation.
    I note in a previous OTN post: Re: Mandatory flag at  VO level.
    ...that ER 3176734 was raised to include such functionality, but I'm unsure if the ER was every implemented in ADF BC. Essentially is there an isAttributeMandatory() solution available somewhere in the 11g ADF BC framework, or at least some sort of solution that will give me the ability in code to determine is a field should be mandatory?
    Your help appreciated.
    CM.

    Yeah, Steve's 2a and 2b solution is what I came up with initially, which is "urg" as for every attribute you need to create a transient attribute, and I was hoping the ER had resulted in something useable/workable/scalable. We've discovered polymorphic EOs are limited in use where you have a predefined static list of discriminator values. In our case we can have an unlimited number of types, all with their own mandatory/optional attribute requirements, derived from a 3rd party rules engine. Of course it gets worse because we also have the need to change labels on the fly, as well as if the field is shown/hidden. A bunch of chokepoint methods similar to isAttributeUpdateable would have been ideal.
    Alternatively I've been investigating if you can do anything with the EntityDeflImpl class from the AttributeDefImpl point of view, but it seems to be mostly a read-only object which you can't override at runtime.
    Currently I'm thinking that what we'll need to do is create a JSF bean with a getter method based on a hashmap lookup, something like: #{smartBean.fieldMandatory.thisField}, where behind the scenes given the "thisField" hash, the isFieldMandatory method will use the hash to query the external business rule engine to discover if the field is mandatory/optional.... if that makes sense.
    CM.

  • CUP - Initiator for roles not requiring approval (i.e. auto provisioned)

    We recently upgraded to GRC 5.3, SP10 and started noticing that using CUP, for roles that should be automatically provisioned (i.e. no approval required), it is taking between 3 minutes 45 seconds to 5 minutes for the request to be successfully submitted and automatically approved with provisioning.   I was wondering if anyone is experiencing simlar system performance
    Our set-up for auto provisioned role requests is as follows:
    1.  Created initiator INI_NO_APPROVE using role for attribute
    2.  Created stage STG_NO_STAGE  with Approver Determinator = No Stage
    3.  Created path definition PATH_NO_APPROVE with number of stages =2 and initiator = INI_NO_APPROVE
    Thanks!

    F.Y.I.
    As per SAP's recommendation - we applied note:1423983 in all target provisioningn systems and this resolved the issue.

  • Conditional logic in Spry based on date?

    I have a list of links with expiration dates. All the links
    have expiration dates. If the link is expired, I still need to show
    it, but simply reformat the link so that it's just text, and grayed
    out.
    I have the date coming in XML in the format "mm/dd/yyyy". I
    also have a javascript function that gives me today's date in
    "mm/dd/yyyy", but I can't figure out any way to get the dates
    compared. Basically, I need something like, somewhere:
    "If expireDate =< todaysDate, then change the link style"
    As of right now, I've written a function that brings in the
    formatted date and does a document.write to write the Spry code,
    where I'm inserting the javascript date into a spry:if. However,
    that's not going to get me there as it's just comparing strings and
    not really dates. I need to find a way get Javascript (todays date)
    and Spry (date field from XML) to talk to one another (compare
    dates) and then decide what to do (change or not change link) and
    am stumped.
    I can't think how filtering the data will get me anywhere,
    since all the dates in the record set need to show up in one format
    or another. So it seems the logic for date comparison has to happen
    in Spry, but Spry appears unable to do this kind of logic. This
    lead me to writing a function, but then again how to get the Spry
    data and Javascript logic to converse....help!

    Hi,
    You can apply PPR on salary field. Then catch the event and based on condition, set the value of commission field.
    Also, you can check this link for PPR:
    http://sushantsharmaa.blogspot.in/2012/12/11-ppr-partial-page-rendering-in-oaf.html
    --Sushant

  • Conditional logic execution

    Hi folks,
    I'm pretty sure that, strictly speaking, this isn't possible, but I'm hoping someone has found a workaround.
    I want to run logic on a set of data ONLY if the dimension members used contain certain flags (for example, only run logic when the CATEGORY.ID property is "PLAN2").
    Sounds easy enough, but when the *WHEN / *IS statement hits a value that is TRUE, I want to trigger another script, rather than a simple *REC statement.
    Does anyone know a way to do this? We are using BPC MS version 7 sp7.
    Thanks,
    Jason

    You can try using the *TEST_WHEN command and also some *INCLUDE command for what you are trying to do:
    The instruction TEST_WHEN
    Sometimes it may happen that a condition could be tested only once, because such condition is not dependent on the records being scanned. For example one might want to test that in the selected set of members for a given dimension there is a specific keyword or that a certain cell of the cube has a specific value. Instead of applying the condition to the entire set or records to scan, the condition may be evaluated before the WHEN / ENDWHEN loop, with the following instruction:
    *TEST_WHEN( )
    The is a string that the logic engine will pass to VB script for evaluation. If the returned value is TRUE the subsequent WHEN / ENDWHEN loop will be processed. Otherwise the entire loop will be skipped.
    Example:
    // skip the loop if Budget is not among the passed categories
    *TEST_WHEN(instr("%CATEGORY_SET%","BUDGET")>0)
    *WHEN *
    //u2026..
    *ENDWHEN
    *GO
    // skip the loop if account FLAG is zero for a certain time,intco combination
    *TEST_WHEN(GET(ACCOUNT="FLAG",INTCO="NON_INTERCO",TIME="2004.JAN")<>0)
    *WHEN *
    //u2026..
    *ENDWHEN
    As shown in the above example, the instruction supports the use of the %_SET% keyword. It also supports the GET instruction, to retrieve a value from the recordset. When one or more GET instructions are used in the evaluation of the condition, it must be remembered that all required dimensions must be specified. The non specified dimensions will default to the values they have in the first record of the source record set. In other words, the user can only omit dimensions that do not vary in the recordset being scanned.
    Another syntax supported anywhere in this instruction is the FLD( ) keyword. Here is a valid example:
    *CALC_EACH_PERIOD                         // handle periods one by one
    *XDIM_MEMBERSET TIME=PRIOR, %TIME_SET%     // include prior period to selected dates
    // This will test that the evaluated period is not the prior period
    *TEST_WHEN(instr("%TIME_SET%","FLD(TIME.ID)")>0)
    *WHENu2026.
    The TEST_WHEN instruction is specific to the current GO section. If no GO section is specified, it is specific to the current COMMIT section.

Maybe you are looking for