PCG Flow Rule

Guess I am facing problem with the periodic flow rule creation. I have defined the Flow Rule as a Periodic control and in the Process Flow, stated it as a Notification Type. But when I am trying to place an Item (created in the Advanced Rule Wizard) for 'Notification Body' for this Process Flow, I am getting the following error : Primary Keys for Process Definition and Advanced Rule Does Not match. Also, what should I put in the 'Functional Owner' so that I get all the notification mails ?
Can you kindly comment ?

Thanks Naveen,
But can you explain why I am receiving this error : "Primary Keys for Process Definition and Advanced Rule Does Not match" since my understanding was that there is not stringent condition for selecting the table and primary keys for the periodic type flow rule.
Regards,
Arka

Similar Messages

  • How to setup PCG Flow Rule Process flow with Business Event subscription

    Hi,
    How to setup PCG Flow Rule Process flow with Business Event subscription type?
    When should Business Events be used?
    The latest user guide does not provide ay information on this functionality of Flow rules.
    Thanks

    You should find it's usage noted in the new PCG user guide on page 3-26 under the heading "Configuring Workflow/Event Rules". This way you can have a Flow Rule call a business event component or a workflow. This would be kicked off within a process flow as one of the steps.
    I hope that helps.

  • Basic techno functional question on PCG flow rule.

    Lets say i want to create a flow rule to enforce approval for contractor user accounts in EBS. Iam able to generate a approval notification when a contractor user account is created. Also by a form rule i have defaulted an end date for the user account by which the account cannot be accessed until its approved. Now lets say the notification is approved, how will i bring in this approval and release the end date in the user account automatically.
    I saw the examples use a sql to pass this approval but they are using some custom package.procedure for this. But iam not sure if i can use this but i need a way to achieve this.Can someone share their thoughts on this?

    Yes, i did look at that. They are using the following. They are custom packages. Does this mean that we need to write custom package for each and every process flow which involves approval process?
    DECLARE
    V_ITEM_TYPE VARCHAR2(30);
    V_ITEM_KEY VARCHAR2(30);
    BEGIN
    V_ITEM_TYPE := #V_ITEM_TYPE#;
    V_ITEM_KEY := #V_ITEM_KEY#;
    LAA_APPS_ACCESS_ONLINE.WF_APPROVE_CONFLICT(V_ITEM_TYPE, V_ITEM_KEY);
    END;
    DECLARE
    P_ITEMTYPE VARCHAR2(30);
    P_ITEMKEY VARCHAR2(30);
    BEGIN
    P_ITEMTYPE := #V_ITEM_TYPE#;
    P_ITEMKEY := #V_ITEM_KEY#;
    --LA_CHANGECENTER_API.LA_CC_REJECT(V_ITEM_TYPE,V_ITEM_KEY);
    --LA_CC_APP_PKG.LA_CC_APPROVE(P_ITEMTYPE,P_ITEMKEY);
    LA_CHANGECENTER_API.LA_CC_APPROVE(P_ITEMTYPE,P_ITEMKEY);
    END;

  • How to find out when my flow rule last ran?

    Hello
    I have a few questions on GRC as below.
    1. Can I write a Form rule on Sales Order DFF in which if on certain condition i want to popup a message asking users to fill DFF Filed information at the time of booking?
    2. Where can i find the list of tables in GRC module? Is there TRM document?
    3. I want to know when my flow rule last run? ( I want to know how to check it from the application and also from the back end tables)
    Thanks

    Here are quick answers to your question
    1. Can I write a Form rule on Sales Order DFF in which if on certain condition i want to popup a message asking users to fill DFF Filed information at the time of booking?Yes this can be done using PCG Form Rules.
    2. Where can i find the list of tables in GRC module? Is there TRM document?There is no such document available. You would want to open an SR to see if documentation is shared
    3. I want to know when my flow rule last run? ( I want to know how to check it from the application and also from the back end tables)PCG Flow Rules piggy backs on Oracle Workflow. You should be able to verify as you would other workflows using Oracle Workflow.

  • PCG 7: Flow Rules help

    E-Bus 11i Flow Rules Help
    Hi I need to create a flow rule that will notify an employee's supervisor when a user updates their own employee record.
    So I need to link the LAST_UPDATED_BY of the currently updated record to employee_id from FND_USER
    where the FND_USER.USER_ID = <current>.LAST_UPDATED_BY
    I'm looking at my Flow Rule Launch Criteria, but I cannot see how I can say....
    COLUMN=LAST_UPDATED_BY
    CONDITION=Equals
    VALUE= <result of my SQL> <==========
    It looks like I can only put specific hardcoded values in here ??
    Any ideas, or examples for this type of thing?
    Is my requirement clear?
    Thanx
    Russell Foster

    Hi Foster
    In the launch criteria you can specify under the table name FND_USER, Relationship keys would be (USER_NAME, USER_ID)
    please check the check box "UPdate" uncheck "Insert"
    coming to the columns enter value "LAST_UPDATE_BY" and condition "IS Update"
    the value part cannot be updated.
    The launch criteria created specifies that when ever the colum Last_update_by of FND_USER is updated the flow rule will get fired.
    Please try and let me know if u face any issues
    thanks

  • SAP BPM Flow Rule set error: Result for ResultSet is required.

    Hi ,
    I want to create of Rule set or Flow rule set inside "Process development" perspective.
    I have defined one process under "Processes" folder. After this, I want to create a rule set under "Rule Sets" folder.
    While creating a rule set, it prompts for "Result for ResultSet is Required" but I don't get anything in drop down select. Please help me whats going wrong here.
    Regards,
    Aman

    Hi Aman,
    Have you mentioned the Return Type in signature while creating RuleSet ?
    Refer the document : SAP NetWeaver Business Process Management Resource Center
    -Abhijeet

  • PCG7: More Flow Rule help

    Hi, I have a trigger based Flow rule setup.
    It has 2 process flows.
    #1 is a check constraint (has an advanced rule that runs some SQL to check if a certain condition exists)
    #2 is a notification. The Notification has the condition that the previous constraint is true.
    My problem/question has to do with #1 (the check constraint).
    It sends a notification. I do not want it toi send a notification... I want it to validate the data condition ONLY.
    Also the Notification pauses the entire flow. which is also not what I want.
    If I open the notification, and click "Complete" button, I get new notification stating that it failed... the only way around this is to click the "Override" button from withing
    the notification, then the flow continues along it's way and finished processing.
    So, why does my Check Contstraint fire a notification ? How can I prevent both the notification, and the dependency of that notification processing ?
    Or, maybe I should be using a different Rule type for #1 ?
    thanx
    Edited by: rjfoster on Nov 11, 2010 9:37 AM

    ok, I read the documentation more thoroughly..
    The constraint type flow rule is doing what it is supposed to do..
    If the condition exists, it is supposed to send a notification, which is meant to notify somebody to correct the condition.....
    In my case there is no condition to correct, I just want a notification to be sent if a specific condition occurs...
    and because I am not eliminating my condition, hence why it keeps failing when I try to "Complete" it...
    Of course Override works, but I do not event want any action/intervention to occur... I would rather not have the constraint violation notification occur at all.
    So anyway, I guess a constraint flow rule is not going to work for my requqirements.
    I'll have to come up with something else...
    Here is what I need to do....
    1. Trigger flow event, when a table has an insert or an update...
    2. when this occurs I need to programmatically check (SQL can do it) if a certain data condition exists.
    3. If this data condition exists, I want to send a notification...
    thats it, thats all, end of story for my requirement.
    Any ideas as how what advanced flow rule types I might use for this ?
    thanx
    Edited by: rjfoster on Nov 11, 2010 2:01 PM

  • Why do we require Wildcard control flow rule?

    Hi,
    Why do we require wildcard control flow rule?
    Can anyone please explain me with a scenario?
    Thank you,
    Srinivas

    Wildcard rule means the rule is valid on all the taskflow's pages, so you don't have to wire the case separately from each page. Handy if you have for instance a button with a common action on many pages.
    See this example: http://blogs.oracle.com/jdev11g/2009/10/wildcard_control_flows_for_page_navigation.html

  • "sync-rule-inbound-flow-rules-invalid" error on synchronizing an Inbound Sync Rule from the FIM connector space to the Metaverse

    I have created an inbound sync rule in the FIM portal to import groups from an external system (SQL Server) into the metaverse.  I can import the rule from the FIM MA into the FIM connector space but when I run a full sync on the FIM MA I get the error
    "sync-rule-inbound-flow-rules-invalid".  The only way I have found around the error is to remove all the attributes from Inbound Attribute Flow in the sync rule.  However, this defeats the purpose of having the sync rule in the first place.  Searching
    the Web, I have come across posts from other people with "sync-rule-inbound-flow-rules-invalid" problems but the solutions do not seem to work in my situation. 
    A little background about the sync rule
    Metaverse Resource Type: group
    External System Resource type: group
    Relationship Criteria: accountName (metaverse) = "string field" (ConnectedSystemObject)
    Create resource in FIM: yes
    Inbound attribute flow:
    - Domain
    - Member
    - DisplayName
    - accountName
    - MembershipLocked
    - MembershipAddWorkFlow
    - Type
    - Scope
    I am new to FIM so it's possible I have overlooked something in the setup of this sync rule.  Any suggestions on possible causes of this issue would greatly appreciated.

    There is no scope filter.   In regards to the attribute flows, no functions are used.  Here is further information about the attribute flows
    Set up of Inbound attribute flow for the inbound Synchronization Rule.
    Metaverse External System (SQL Server View)
    - Domain  Domain (string)
    - Member Member (multi value attribute)
    - DisplayName ObjectDescription (string)
    - accountName ObjectID (string)
    - MembershipLocked 'false' (set up as a string literal)
    - MembershipAddWorkFlow 'Owner Approval' (set up as a string literal)
    - Type 'Security' (set up as a string literal)
    - Scope 'Universal' (set up as a string literal)
    Is this the info you were asking for?  If not, please clarify what details you are looking for in regards to the  sync rule.

  • Problem in work flow Rule 157

    Hello experts ,
    Created organization
    Company
      Hod of department    user-mgr01                        -- level 1
                             Manager             user-mgr03          level 2
                                         Employee 01        user-Emp01      level 3
                                  Employee 02        user-emp02       level 3
                                             Employee 03        user-emp03       level 3
    In work flow I put two decision Step
    1 for manager approval    here I used rule  00000168.
    2 for hod approval           here I used rule 00000157.
    After manager approved  workitem should go to hod . this my scenario
    employee 03   Trigger the workflow based on the rule 00000168 workitem will go to  manager
    It's working fine .
    After manager approved
    Next decision step will executed
    Work Item should go to superior of ( Manager ) that is  Hod of department, here I am using  rule 157.
    but it would go to manager. 
    How to solve .
    Regards
    Krishnan R.

    Hi
    Thanks for response .
    here  we should not  assign any hard coded values like position id, organisation id . but the workitem will go to his superior based on the organisation structure .
    i did small mistake ,ok it is working in workflow . when i run the workflow seperately
    i am executing the workflow through web dynpro abap ,
    it getting started and working fine upto manager approvel .
    but HOD approval decision step was not executed .here ( i am using rule 157 )  after approved manager .
    but i specific organisation id instead of using rule 157 in HOD approver decision step of workflow .
    it is working in uwl . 
    i want to use rule 157 in decision step of HOD  
    but it is not working in UWL .  what should i change
    Please give  suggestion
    Thanks and Regards
    Krishnan R .

  • Exchange 2013 Mail flow rule using RegEx

    We're trying to implement a rule on certain mailboxes that it shouldn't accept an email without a subject.
    I found documentation from Microsoft on exchange 2010 to Configure
    a Transport Rule for Messages That Have a Blank Subject, but I tried using the ^$ RegEx
    with Exchange 2013 and it doesn't seem to work.
    I also looked at the Transport
    Rule Predicates for Exchange 2013 and it clearly says thatSubjectMatchesPatterns
    matches messages where text patterns in the Subject field match a specified regular expression.
    My workaround was to reject all messages to those specific mailboxes except if subject pattern matches. but
    if I want to add now conditions ie. to reject emails with a subject "Sent from my snipping tool" I can't do it.
    I found Here that
    Exchange 2013 now supports extended RegEx but I didn't find that the syntax for ^$should
    be any different in extended RegEx.

    If you use any special character in the RegEx you must use
    \m Escape m, where m is one of the meta characters described above: ^, ., $, |, (), [], *, +, ?, \, or /.
    as decribed in http://technet.microsoft.com/en-us/library/jj674702%28v=exchg.150%29.aspx

  • Cannot block ZIP attachments through the mail flow rule in Exchange Online

    Hello Guys,
    I need some help as I have already tried the procedure to block zipped files in exchange online (Office 365).
    I assume the content filtering policy or malware policy is overtaking in someway, but I cannot get the outcome as mentioned in the above scenario.
    My goal is to trap all the emails with attachments containing .zip, .exe, .bat and .rar extensions to be moved to the quarantine mailbox. 

    Hello Guys,
    I need some help as I have already tried the procedure to block zipped files in exchange online (Office 365).
    I assume the content filtering policy or malware policy is overtaking in someway, but I cannot get the outcome as mentioned in the above scenario.
    My goal is to trap all the emails with attachments containing .zip, .exe, .bat and .rar extensions to be moved to the quarantine mailbox. 
    http://support.microsoft.com/en-us/kb/2959596

  • Why do my rules fail in the data flow from connector view to Meta view?

    I have Meta directory 5.0 alongwith the iplanet Directory Server 5.0 installed which is working fine.
    I have created an instance of NT Domain Connector which retrieves entries in a Connector view.
    Where do I get the examples about writing the data flow rules for the NT Domain Connector for flowing specific entries from CV to MV. Basically I do not want the NT Groups in the MV. Also I want to create an additional attribute e.g myflag whose value should be updated manually in the CV. And now if myflag = 0 I dont want this entry to be moved to MV and if myflag = 1 the entry should be moved to MV.
    I tried to write a few rule but it fails in testing only (Rule Tester). And I am not able to locate the exact error in my rule. Does it require any specific configuration ?
    Thanks
    Amol Talap

    You should post your rule.
    But either way, have you tried this:
    (objectclass==ntuser) or
    (objectclass!=groupofuniquenames)
    The first set allows only entries that are user.
    The second allows only entries that are not groups.
    As for the flags, try this:
    (myflag==1) or
    (myflag!=1)
    Same effect as above.
    Further more if rule testing fails, it could that you are not referencing the right Directory when using the rule tester. The rule tester does not always point to the right location.
    J.F.

  • GRC Form Rules

    Hi,
    I am trying to call GRC Approval Group; whenver Approve Button is clicked in the Move Order Form. But I am not sure how to prevent the standard Oracle flow/code attached to the button to be stopped from executing and call this approval hierarchy instead.
    Any help/suggestion please?
    Thanks,
    Gowri

    Gowri,
    Go to http://download.oracle.com/docs/cd/E12515_02/grc/html/docset.html and download the document for your version of Preventative Controls Governor (PCG), you want the user's guide in this case. You will need to have the GRC Responsibility (it was called LogicalApps in previous releases). Log in as this responsibility and you can check "Install History" which should tell you the version you're on. Get the correct documentation and go over the section on Form Rules and Flow Rules (you need GRC responsibility for these screens). This should give you a better idea on what you're looking for. I would think you also need a business analysts help, or someone who originally setup the rule. When looking at the Form Rules you can see which form they are attached to, and that should help tell you if the rule is the one affecting you. You will need to know the form name where this is happening for this to help you.
    I hope that helps.
    Edited by: yshah on Jun 1, 2011 10:32 AM

  • ExecuteWithParams in adf Task flow is not executing

    Hi,
    I have a generic page fragment(Task Flow) which accepts a parameter from the calling page, when I use it as a Region.
    Based on the value of the parameter passed I have to filter the table data or I have to execute a ViewObject .
    For that I used a bind variable in the View Object.
    And I dragged the ExecuteWithParams from DataControl to the Fragment defenition(TaskFlow).
    <method-call id="ExecuteWithParams">
          <method>#{bindings.ExecuteWithParams.execute}</method>
          <outcome id="__90">
            <fixed-outcome>ExecuteWithParams</fixed-outcome>
          </outcome>Now the Issue I am facing is when I run the page, the jsff page is returning as empty. It is showing a message like "No data to display"
    Also the Method call ExecuteWithParams is showing a warning that bindings is not known.
    Studio Edition Version 11.1.1.2.0
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Please Help....
    -Ranjith

    Hi Arun,
    I set the ExecutewithPrams as the default Activity, And I am getting the pageFlowScope parameter in the task flow, but while executing the execute with param I am getting a No data to display message in my table
    here is my task flow
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="Test_definition">
        <default-activity id="__1">ExecuteWithParams</default-activity>
        <transaction id="__35">
          <new-transaction/>
        </transaction>
        <input-parameter-definition id="__21">
          <name id="__22">pCode</name>
          <value>#{pageFlowScope.pCode}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <input-parameter-definition id="__23">
          <name id="__24">pLabel</name>
          <value>#{pageFlowScope.pLabel}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <managed-bean id="__27">
          <managed-bean-name id="__25">TestCommonBean</managed-bean-name>
          <managed-bean-class>view.bean.TestCommonBean</managed-bean-class>
          <managed-bean-scope id="__26">request</managed-bean-scope>
        </managed-bean>
        <view id="TestCommon">
          <page>/TestCommon.jsff</page>
        </view>
        <method-call id="ExecuteWithParams">
          <method>#{bindings.ExecuteWithParams.execute}</method>
          <return-value id="__36">true</return-value>
          <outcome id="__7">
            <fixed-outcome>ExecuteWithParams</fixed-outcome>
          </outcome>
        </method-call>
        <task-flow-return id="rollback">
          <outcome id="__18">
            <name>rollback</name>
            <rollback/>
          </outcome>
        </task-flow-return>
        <task-flow-return id="commit">
          <outcome id="__19">
            <name>commit</name>
            <commit/>
          </outcome>
        </task-flow-return>
        <control-flow-rule id="__8">
          <from-activity-id id="__9">ExecuteWithParams</from-activity-id>
          <control-flow-case id="__11">
            <from-outcome id="__12">ExecuteWithParams</from-outcome>
            <to-activity-id id="__10">TestCommon</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__20">
          <from-activity-id id="__28">TestCommon</from-activity-id>
          <control-flow-case id="__30">
            <from-outcome id="__33">commit</from-outcome>
            <to-activity-id id="__29">commit</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__32">
            <from-outcome id="__34">rollback</from-outcome>
            <to-activity-id id="__31">rollback</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>

Maybe you are looking for