Developping multiple level SOA approval in OIM11g

Hi Team,
How to achive the below functionality in SOA work flow:
1. Once Request raised , it will to 2 managers & 1 Super Manager(approvers) queue. for Ex : M1,M2,SuperManager. ----------> 2 hours,2hours,5Hours
2. A task should be created and ,It will sit in M1 Manager (approver) Queue waits for 2 hours, if he didnt act on the same (approve/reject) it should expired and should be cleared from the queue.
3.After 2 hours It should go to M2 Manager(2nd approver) queue and wait for 2 hours if he didnt act on the same for 2 hours again is task should expire from his queue and should be cleared.
4.Then it should go to 'Super Manager' Queue and wait for 5 hours, if he didnt act , then request should get expired.
to achieve this I have used the below code snippet:
<onAlarm for="bpws:getVariableData('managerapprovatime')">
<assign name="setExpiredStatus">
<copy>
<from expression="'EXPIRED'"/>
<to variable="ApprovalTask_Var1"
part="payload"
query="/task:task/task:systemAttributes/task:state"/>
</copy>
</assign>
</onAlarm>
from the em console I can see it is excuted the above code(SOA compsoite), but task are still in assign state and appearing the Approver queue even after 2 hours, 2 hours ,5 hoours
Please let me know how I can acheive this.
Thanks in Advance.
Regards,
Akash Ram

Re: Configure notifications in bpel
-Bikash

Similar Messages

  • Multiple Levels of Approval Workflow in SPD

    Hi-
    I'm building a workflow that has multiple levels of approval behind it.  I know how to set up the multiple levels of approval, but sometimes this workflow needs to have 2 approvals and sometimes it needs to have 3 approvals.  I'm hoping to pull
    the info in from a SP List, but am not sure to do with the different number of approvals needed.  Does anyone have any suggestions?
    Thanks a lot!

    Yes you can create a column in SP List containing the Approver names. This should be a People/Group field or Single line of text can also work.
    In your SPD workflow you can track the status of the previous Approver and based on this you may allow the workflow to move to next or stop it. Assuming that you will create a Status column having two values - "Approve" and "Reject".
    If Approver selects "Approve" then workflow proceeds for next approval or else the workflow stops or if Approver chooses "Reject" then you may create a new task for the previous Approver and send him an email - Just a suggestion if you
    have back and forth approval system.
    If it is a simple sequential approval then can go for out-of-the-box Approval Workflow available. If there is some level of conditions then SPD workflow is an option.

  • Query base multiple levels  PO approval procedure

    Hi,
    My customer is having following requirement for PO approval procedure and would like to seek for solution.
    The suppliers are either CAPEX or OTHERS supplier which I think of using UDF U_CAPEXSUPPLIER=Y or N in BP master setup.
    OTHERS supplier PO
    <RM2000 approved by local accounts
    >RM2000 approved by CFO or one of directors
    CAPEX supplier PO
    <RM5000 approved by CFO
    >RM5000 approved by one of Board of Directors
    The 2000 and 5000 figures are applicable to both local and foreign purchase. ie if it USD suppliers then limit is USD2000
    Thanks and regards
    Thomas

    Thomas,
    Open Query Generator....Click Execute.....With the Red message at the bottom..you will see the SELECT *
    click on the Pencil icon and copy over each of my queries and save it using a different name.
    Then Add an Approval Stage for each Approver..
    Using the Approval Template..Give a Name...Make Sure Active check box is CHECKED next to the Name
    Select the Originators (users whose document should go through the approval process)..In the document tab select the documents for which this approval applies..Stages Tab..select the associated Approval Stage defined earlier..
    Term tab: Select When the following Applies
    In the lower window...double click onn the first row under Query Name..Select your query and ADD. 
    Make Sure Active check box is CHECKED next to the Name
    Suda

  • Configuring multiple level approval workflows

    Hi,
    1. I would like to know how to configure multiple levels of approval in a workflow.
    For example, when a user self registers himself, the request must be sent to level1 manager and after his approval it must be sent to level2 manager for final approval.
    2. I would like to know the difference between "provisioning" and "provisioned".
    Path : Process definition->task->TasktoObjectStatusMapping
    Thanks in advance

    Hi,
    For question no 1.
    1.You need to create a approval process.
    2.Create a approval task for example "Approve by Manger1". assign this to Manager level 1.If its not static assignment then you need to create task assignment adapter.
    3.Create another approval task for exmaple "Approve by Manger 2" assign this to manager level2.
    4.Have the 2nd task depends one first one so that until one is completed 2nd one will not start.
    For question 2.
    Provisioning status refer to when provisioning process is not complete.
    Provisioned status refer to when provisioning process is complete.
    You can map this status on the completion or rejection of any task.Usually provisioned status is mapped with success of create identity task.
    Let me know if you have any more questions.
    Regards
    Nitesh

  • CATS multiple level approval

    Hi,
    Is there a possibility of having multiple level approval for CATS workflow to be initiated from ESS using Java WD application.
    Much Appreciated.
    Karthik.

    Hi,
    We have a similar requirement . I have developed a workflow and dummy task to trigger the workflow . But since it is a background task this cannot be maintained in the config.
    Secondly how can i retrieve the pernr and key date from the CATS DB table.
    Can you please let me know how this can be achieved.
    Thanks,
    Saujanya

  • Multiple level approval for overall PR release

    Hi all
    is there a template for multiple level approval for overall PR release  ?
    is there some alternative  if there is no template ?
    thanks in advance .
    Naval Bhatt

    Hi NB,
    there is no std template for multiple approvers for PR release.
    Create a copy of std template and implement ur logic to it.
    Aditya

  • N-Level Contract Approval (workflow problem)

    Hello friends,
                        We are using SRM 5.0 , ECS scenario.. My problem is related to N-level contract approval. I had activated workflow WS 14000148 for N-level approval.. In development system it is working fine but in production system I am facing following errors after first release of contract.
          Executed Auction             Error Message
    Exception occurred        Error when starting work item
                                      000000008004
    PROCESS_NODE      Error when processing
                                     node '0000000007'
              (ParForEach index 000000)
    CREATE          Error when creating a
                                    component of type 'Step'
    CREATE_WIM_HANDLE   Error when creating a work
                                           item
    CREATE_VIA_WFM           Error within method
                         CL_SWF_RUN_WIM_FACTORY-
                        >CREATE_VIA_WFM
    GET_WITYPE        Unable to determine work item
                                 type for step at node                        0000000007
    GET_TASK_HANDLE         Error when loading task
                                        WS14000085
    FIND_BY_WFDWIZ         Workflow definition of
                                        task 'WS14000085'
                                        cannot be Activated
             Sub-workflow WS14000085 available in main workflow WS 14000075 which is deactivated. But problem is when I am trying to see workflow  WS14000085 through SWDD in production, no workflow is there but same workflow I can see in Development system.  Any expert have any idea why same workflow I can see in development but I am not able to see in Production system.
    Thanks in advance.
    Abhijeet Panse

    Hi,
    It looks workflow template is missing.
    Please check the note 962488 "Workflow definition '&' not in version '&'".
    1. Run the function module SWD_WFD_REPLICATE_FROM_9999 and copy it.
    2. Re-activate the WF definitions in the transaction SWDD
    3. Check Consistency in the transaction SWUD
    Also check the sub workflow.
    Regards,
    Masa

  • Multiple levels escalation for deadline monitoring

    Hi all,
    We have a business requirement to perform multiple levels escalation in one of the workflow steps. If the approver does not approve the work item(WI) after one day,  a mail notification will be sent to the approver.  A second mail will be sent again if approver still doesn't approve WI after 48 hours.  Then the third/fourth mail will be sent to approver and approver's boss if approver still doesn't approve WI after 72 / 96 hours.  The fifth mail will be sent to approver's boss's boss if WI is not approved still after 5 days.
    I know how to do simple and modeled deadline monitoring in workflow builder. But I don't know whether our business requirement can be achieved in workflow builder( and this is a step in dynamic parallel processing).  Other option I have is to create an ABAP report to go through the table stores workflow run time data and make this report run several times a day in the batch to send mail notification reminder.
    Did anybody have a similar business requirement like ours? What's the best way to handle it - build it in workflow builder or write an ABAP report?
    Thank you in advance,
    Merta

    Hi Merta,
    We had a similar requirement and this is how I achieved it:
    1.  Pleace your approval task into a loop (while not approved) and create a container element as the approval flag.  This allows you to get out of the loop when the item has been correctly actioned.  Also create a DL element to hold your calculated deadline value;
    2.  Create a method and task to determine the next escalation point based on how many loop passes the instance has had, ie:
         Pass 1 - DL = sy-datum + 1 day;
         Pass 2 - DL = DL1 + 1 day, and so on.
    3.  Create a method to determine who should get what.  Link this to a condition so you know whether to send a mail or escalate the entire workitem.  Create the notification as a send mail within the condition;
    4.  Change the Deadline parameters in your step to "Refer.date/tim" = Expression and bind the DL element;
    5.  Set the processing obsolete property to ensure the workitem is killed when a new pass (and therefore and new deadline/agent etc) is started.
    See the following:
    This one handles the loop/obsolete concept.
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4b97e453d11d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/bc/ecdd5ad24e11d2b494006094b9ea0d/frameset.htm
    Regards
    Gareth

  • Unable to create cross tab report with multiple level dynamic columns

    Hi Gurus,
    We are trying to develope group above cross tab report with BI Publisher.
    i am unable to achieve multiple level columns dynamically.Using cross tab wizard i can achieve single level measure column ,but not the second level column.
    Output should look like this:
    Country1
    Region1 Region2 Region3 --(level1 column)
    d1 d2 d3 d1 d2 d3 d1 d2 d3 -- (level2 column)
    Row1 10 20 30 70 80 90 40 70 90 --data
    Row2 21 24 54 65 23 64 64 76 87
    Here regions and d1 d2 d3 may vary based on xml data.Also we have page break on country.
    Thanks,
    Mahesh

    Hi kavipriya,
    Any update on this.I have set the rtf and xml to ur gmail id.
    Thanks,
    mahesh

  • Approval of Working Time & Multi Level CATS approval

    Hi experts,
    We have implemented CATS multi level approval as below.
    1. In the CATS user exit we call a Workflow which is a multi level
    workflow.
    2. We are using the standard Webdynpro for CATS entry and approval.
    Problem:
    Once the first level manager(Say A) approves the timesheet work item
    gets triggered for the next level approver(Say B). Since approval is a
    standard webdynpro, the status of the CATS record immediately changes
    from 20 to 30. So in the workflow, before sending the work item to
    second level approver, we change the status of the time record back to
    20 (Since it is yet to go through all approvals).
    Now in the Team--> Approve working time section of the MSS, manager 'A'
    still sees the record for approval, even though now the approval is
    pending from 'B'. Moreover 'A' can approve this item as well (which
    should not be the case).
    Please provide a solution so that 'A' will not have the working time
    item in his 'Working time section' after the A approves it in the UWL.
    Thanks
    Krishna

    Solved it myself.
    My solution is documented here.
    http://learnhrabap.blogspot.com/2010/09/cats-multiple-level-approval.html
    Please leave your comments if you have any better solution for multi level approval.
    Thanks in advance,
    Krishna

  • CL_SALV_HIERSEQ_TABLE - Multiple level heirachial sequential list

    Class CL_SALV_HIERSEQ_TABLE  -  Can this class be used for multiple level heirarchial sequential list ?
    It works perfect for 2 level heirarchial list u2013 Thanks to Rich Heilman. Say for Eg, SCARR and SFLIGHT.
    My requirement has more levels. I looked into all the methods of the class, but none of them seems to help to append more levels.
    Here is my requirement.
    Selection screen had date range,  partner functions etc ..
    -->Select all Inquiries for given date range or (TABLE u2013 VBAK) given sold to party/ship to party etcu2026
    -->Get all statuses (system status /user status etc (TABLE u2013 JCDS and TJ30T ).
    -->Select all Quotations for given inquiry, if any
    -->Select all Orders for the selected quotations, if any
    -->Select all deliveries for selected orders, if any and read status, whether shipped or not (VBFA/LIKP/ VBUK )
    And list these in a multilevel heirarchial mode
    Inquiry1/created by/created on/ sold to party/ Application engineer/inside sales Rep
         Status1 / description/ active /  changed by / date      
         Status2/ description/ active /  changed by / date
         u2026..
         u2026..
         Status 5u2026..
              Quotation1 / Created on /created by/quantityu2026
                   Order1/created on/created by/
                        Delivery1 /created on / created by/ not shipped
                        Delivery2/ created on / created by / partially shipped
                   Order2/created on/created by
    Inquiry2/created by/created on/ sold to party/ Application engineer/inside sales Rep
         Status1 / description/ active /  changed by / date      
         Status2/ description/ active /  changed by / date
         u2026..
         u2026..
         Status 5u2026..
              Quotation1 / Created on /created by/quantityu2026
    I need atleast 3 internal tables, 1 for Inquiry, another for status data, another for Quotation/order/delivery.
    Anyone has any clue, how to achieve this ? cl_salv_tree also doesnu2019t seems to helpu2026
    As per my understanding, we could pass only 1 single structure to a tree output.
    For eg, all lines of the tree output should be of the same structure. (please correct me if I am wrong )..
    But In my case, the fields on each level are different, and I need to pass different structures to the tree.
    Please let me know, if anyone have a clue..
    Thanks much

    Sujamol (or anyone),
    did you ever manage to do this? I would like to do the same.
    Report SALV_DEMO_HIERSEQ_COLUMN does it for two levels. What about 3, 4.....?
    Thanks.

  • Problem in Aggregate with Multiple level of dimension

    Hi,
    I have a BI repository with a snowflake schema. I have also designed the business model with snowflake, It works with drilling and all but I am facing problem when I am
    creating  a logical column aggregating with a higher level of dimentation. Let me illustrate that :
      I have the Following Hierarchy :
    Tournament(id, Name) ---- > Round (id, name, tournament_id) -------> Match (id, Name, RoundId ) |  Match is fact table and other 2 dimension.
      I also created a logical dimension called tournament with 3 levels.
      Now say I want to create a logical column Total Number of Matches , aggregating  to the dimension level of Tournament. The result gives counts a 0 for every tournament. However
      it is working perfectly when the dimension level is Round (which is the immediate next level after fact).
      The Logical request generated (in case of Tournament level) :
       MatchId:[DAggr(Measure1.MATCHID by [ Matches$.TournamentId]  SB Tournament)] as c1 GB.   
        There is no such column as TournamentId in Matches$ table. How does the BI server got this ?
       The execution plan  evaluate this:
         cast(NULL as  INTEGER )  as c1 GB [for database 0:0,1]
       Can someone please explain why is this happening, is it because of the snowflake schema, but I guess if BI server can handle a snowflake schema it should work the Aggregate
       properly in multiple levels of dimensions, or it is something I am doing wrong.
       Execution Environment:
         Windows XP ,  OBI 10g on OC4J.  Data source : MS Excel (ODBC 3.5)
      Regards,
      Ru

    Hi,
    With reference to your question.
    Can any operator perform this task..I don't think any single operator will help you.
    I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
    In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
    Cheers
    - Mohammed

  • Multiple levels in a mobile game

    Hi
    Im a little confused on multiple levels in a j2me game with respects to re-initialising the level, once level 1 is complete.
    How, and what would be the best code practise, once level1=true(complete) to load level 2. Where do i actually send my code back too, to start the next level. Do i do some kind of garbage collection/reset, then simply load all the graphics in for level 2?.
    Also, some games feature levels like in an RPG, where each room is loaded when the character reaches the exit - how is this being called from the j2me code?
    Thanks
    Steve

    Would you be able to explain it to me?  Here is a picture of what i'm trying to do..
    When 'player_mc' touches' hitbox_mc', the movieclip 'bat_mc' plays once and erases itself.
    And for the level change its the same concept... Player touches box and gets sent to second frame on timeline which is t he next level...
    Been trying to figure this out all weekend and just turned to pros for help now..

  • ARRAY and records at multiple level ? please help

    Hi experts!!
    I am struck up with a problem. If u can please help me.
    I need a structure of this type.
    create type GRADE as object(
    grade varchar2(30)
    / -- works fine , creates
    create type GRADE_ARRAY as VARRAY(10) of GRADE;
    / -- works fine and creates
    create type SPECIES as object
    Species_number number,
    array_of_grade GRADE_ARRAY
    / works fine
    create type SPECIES_ARRAY as VARRAY(20) of SPECIES;
    -- error comes here.. Can not have multiple level..type error
    and so can not go ahead. In fect I wanted to use next level also. like this.
    The next command remains my dream only then because I could not create the SPECIES ARRAY it self..
    create type TIMBER as object
    timber_mark varchar2(6),
    no_species number,
    array_of_species(20) SPECIES_ARRAY
    the problem is for multiple level ARRAY AND RECORD/object combination..
    I tried with OBJECT AND VARRAY it does only for one level.. not even two level.
    my Mail ID:
    [email protected]
    Thanks and Regards..
    Virendra chauhan

    I think multi-level collections was first implemented in 9.2. You failed to mention what version of the DB you are using.

  • Multiple level bursting in OBIEE

    I am creating a report in OBIEE, which needs to be bursted.
    the bursting should be done at multiple levels
    For ex:
    take a sample report of employees table, dept table.
    I want to burst by dept-wise , Job-wise and manager-wise.
    i mean, 10 dept PDF , 7 position PDF and X manager PDF.
    Will i be able to do this by using bursting query ??

    I was at a conference and heard that someone actually uses OBIEE. Is that you? Or is it two people now?

Maybe you are looking for