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

Similar Messages

  • 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

  • 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.

  • 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

  • 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;

  • 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

  • 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.

  • 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.

  • Defaulting Rule - Help Needed

    hi,
    I want to default the Order Line based on specific Item. I have created the Defaulting Condition Template specifying the item for Entity Order Line.
    At the Item Type : I have added a new defaulting condition with a precedence later than the Regular Line and have added a constant value as the order line type.
    But it doesnt seem to work out. I have compiled the defaulting rules. But it still does not seem to work out.
    Can any one help or atleast point out how to get this thing working ?
    The idea is to have separate line type created for manufactured shippable items and separate line type for service items. Service module is not being implemented.
    since, the number of service items are not large so I am planning to hard code with the service items.
    I am not sure how the PL/SQL process would work. But if somebody could point out the PL/SQL usage for this with pseudo code. I think it might help out.
    Thanks,
    Dhiraj

    Hi Dhiraj,
    I understand that you are looking for different line types for different item types. This can be easily set up in the transaction type definition form itself. You don't have to setup special defaulting rules for this.
    In the transaction type form , when you assign line flows, it lets you choose item type. So you can set different line types for each item_type.
    Regards,
    Swapna.

  • 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 .

  • Applescript process message body from mail rule help please

    Would someone be kind enough to help me figure out how to do this?  I've been reading for hours on other posts and I can't get this to work.
    Here is an example:
    I would like to set up a mail rule to run an applescript that searches the body of the email for "-Front Door- Open".  I then want to parse the body and sets myDevice= "-Front Door-" and myState="Open".  After I have these variables set, I want to make an call to something like https://foo.me.com/api/token/${state.accessToken}/smartapps/installations/${app.id}/Notify?device=${myDevice}&type=ContactSensor&state=${myState}
    I understand how to do the mail rule, I just can't figure out the applescript part of it.

    The script works just fine - at least, as designed if not as expected.
    When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
    If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
    And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
    In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
    Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech.

  • PL/FLOW please help !

    I try to install PL/FLOW to APEX . There is an error after commad @plflow.pks runs.
    Warning: Package created with compilation errors.
    Errors for PACKAGE PL_FLOW:
    LINE/COL ERROR
    1439/1 PL/SQL: Declaration ignored
    1447/8 PLS-00201: identifier 'INT_TABLE_TYPE' must be declared
    it shows that problem is here :
    FUNCTION has_roles(
    pati_id_in IN wf_participants.id%TYPE
    , call_history_in IN VARCHAR2 DEFAULT '' -- to detect loops in PROXY OF, string of '(pati_id)(pati_id) etc'
    RETURN int_table_type;
    in BODY is a description
    || int_table_type is nested table and not index-by-table, so it is usable
    || from SQL (see table 19.2 comparing oracle collection types in the PL/SQL book).
    Does anyone have a same problem? Does anyone created workflow application based on PL/FLOW in APEX? I would like to share experience with PL/FLOW.
    Thanks for help.
    http://plflow.sourceforge.net/

    pmubcz,
    You'll have to create this type apparently it was left out of the code...
    create or replace type int_table_type as table of number(8)
    grant execute on int_table_type to public
    I have used PLFLOW before with very good success, but never with Apex, although it should be no problem.
    Keep Smiling,
    Bob R

  • Column flow plugin help

    Hello!
    If someone has experience with Column Flow plugin for InDesign, please help me get started.
    I have made 2 paragraph styles, with names starting with numbers 1 and 2 to indicate number of columns. Unfortunately, plugin just splits text into separate text frames but paragraphs with style named "2xxx" remain in just 1 column.
    Thanx in advance.

    With the version available for download, you need to set  the number 
    of columns in the object style.
    Column Flow has been drastically improved ( i.e. there can be any 
    number of different column settings, the number does not need to be 
    set in the style name, you can use up to four different object styles, 
    etc.), but the new version is not yet available on the web site. (The 
    documentation needs to be updated, etc.)
    Send me an email and I'll be happy to send you the newest version.
    harbsATin-toolsDOTcom
    Harbs

  • Business rules help

    Hi da,
    I have few queries on business rules.
    1. what is the use of business rules ? and how can we use and where can we use it. is there any usefull guide?
    I can see BR outline tab in EAS console with some of functions. ( I just recently finished my essbase training and we never told about these business rules).
    2. In shared services when I try to open Business Rules under projects it is showing the error" Refer to essbase security guide" . ( I externalized all users to Shared services). So how can I access Business Rules in shared serives? or is there any other way to access.
    {OS: windows server 2003 sp2
    DB: Sql Server 2005
    Hyperion System 9( 9.3.1).}
    Help will be appreciated.
    Thanks and Regards,
    Sri-Oralce.

    Hi Sri,
    1. Basics of BR ( Business Rules ) can be found in planning document ( there are 2 planning docs 1. user guide and 2. Admin guide). Pls find that
    2. From Planning perspective , we create Business Rules ,which are nothing but another version of essbase calculatino scripts , thats why you do see in EAS.
    3. Essbase training does not include Business Rules ( planning does include).If you are comfortable with calculation scripts, then BR's should be comfortable to you.
    4. To see BR's in shared services , I have a question , did you install Planning and all.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

Maybe you are looking for

  • Error while running simple JAXB test class

    I am new to JAXB and trying to run simple tutorial code. I created Java project and added required jar files in a classpath. But I get error as "com.jaxbtest" doesnt contain ObjectFactory.class or jaxb.index I am using Eclipse and I have added these

  • Why only MacBook Pro retainer bottom case shows white particles?

    Any user have that issue for any Macs . But I sure that at home three MacBook Pro & Air , retainer display , only retainer shows white particles! Whole body only bottom case problem .the answer was material problem! Repair job no : R 87983663

  • Where do we put Validations in Internet Sales Application

    Where do we put validation on user input data in ISA. like in Actions,BO,BE.Please tell where exactly we do it. I need to compare Sold to Party with Ship to Party and Bill to Party.Any idea how i can do it.

  • Image Gallery with Paged View

    Hello I'm developing an application with an ASP backend, to allow users to input photos and have them immediately display in a gallery. It all works fine except I can't figure out how to make the slide show loop only within the current page. There's

  • Use unvalidated string input fro Tyr it mode?

    I remember from the past I could set an option to "unvalidated string input"for Try it mode as well. Currently the default is set to unvalidate string input entered in Know it and pressing typing complete. I wonder if it still is possible to have the