Escalation Action

Hi....
We need an escalation action...Ie, When ORder is in Status in process for continously 5 days, we want it to change the status to Voilated.
Can anyone please suggest how this could be done? I know status config..
but wanna understand from action part.
regards,
KP.

Hi KP,
Implement Badi EVAL_STARTCOND_PPF for your logic order status in process for 5days or any complex logic .If condition is satisfied pass ep_rc = 0 in the method else ep_rc = 4.
Create action profile,definition  and choose process type -> Method
Create schedule of action , activate the definition ,  under start condition tab choose the start condition which created in step 1.
Assign Action profile to transaction type. Hope this ll help you for your requiement.
Thanks,
Naveen

Similar Messages

  • Escalation Action for Service Request Management

    Gurus
    I am using action profile for Service request management in SAP 7.0.
    I want to know what this particular condition IT_INCIDENT_ESCALATION does?
    Also what needs to be the process parameters for this?
    It has processing type as Method Call with method- escalation
    Thanks
    Tarang

    Hi John,
    Good Morning.
    I have a question on what are the benifits of smart value help in CRM 7.0. We have upgraded our system and didnt achieve the true functionality of smart value help.
    Ex - We entered country as 'US' in Country field and entered C* in Region field. I could see all regions starting with C* in the smart value help. It is not filtering based on the country selected. It should show me only regions which are in US and starts with C.
    Is this a limitation. F4 helps works perfectly. I think we are missing some notes here.
    Appreciate your feedback.
    Regards,
    Ch Deepthi.

  • Set deadline according to factory calendar

    Hi workflow experts,
    I have 3 questions regarding deadline monitoring.
    1. Is it possible to use bussiness days from factory calendar instead of calendar days for workitem deadline ?
    2. Is there a FB for changing the deadline of a workitem ? I found only SAP_WAPI_GET_DEADLINES for reading the deadline.
    3. what is the simplest way of repeating the modeled action ( in my case send a reminder mail) for overdue workitems every day after they got overdued ?
    best regards
    Kerstin

    Hi guys,
    thank you. Seems nobody uses the built-in deadline handling because of its poorness ?
    I have a simple task:
    - monitor the deadlines of all user decision steps in my workflow  ( based on working days)
    - send a reminder email after the deadline is reached to the actor
    - send an email every working day to the same actor until the workitem status is COMPLETED.
    I would like to do this without a lot of additional modeling.
    In sdn there are some other suggestions for repeated escalation to the same actor:
    - delete the workitem and recreate it with new creation date to achieve a repeated escalation action triggred by workflow engine
    User Decision - Deadline monitoring - Obsolete workitem
    In How to Create General UWL Notifications the deprecated SWW_WI_CREATE is used where the LATEST_END_DATE is an import parameted.
    I'm still not sure which is a simple and robust solution - may be I will use the deprecated FM too if there is no alternative.
    regards
    Kerstin

  • '[FAQ] Twonky DLNA Media Server Setup & Use

    Some Frequently Asked Questions Regarding Twonky, And Some Answers The MyCloud includes a Twonky DLNA Media Server.  Sadly it doesn't seem very well integrated into the MyCloud, and the two fight for supremacy.  I've spent a long time trying to understand how it works, and reading the forum, I see many other people also have trouble with it. So I thought that, rather than trying to answer these questions individually, I'd try to write an FAQ covering the things I've found, and the problems I or others have encountered, and the solutions.
    I'm not a member of WD staff.  I'm not a MyCloud, Twonky or Linux expert (but I'm moderately competent).  But I am stubborn, and determined to find out how to make the thing work the way I want it to.  If more expert users find fault in this FAQ, or have other insights to offer, then feel free to post comments.  I'll edit this first post and make corrections and add any FAQ&A that are added.
    Where I am unsure of something, I'll enclose it in [brackets].  Feel free to investigate and confirm or disprove my observations... Where I mention control settings, I use a | to indicate a level of hierarchy in the menu system.  This is to distinguish control settings and file system paths.
    Ideally, we'd shame WD into doing a better job of integrating Twonky into the MyCloud, so it's not such a struggle, and doesn't require Linux administrator-level skills to make it work properly. Starting the Media Server and setting up a Media LibraryQ. What is a Media Server?
    Q. How do I start the Twonky Server?
    Q. How do I control the Twonky server properly?
    Q. Where should I put my media so Twonky finds it?
    Q. Why doesn't Twonky find my media?
    Q. Can I stop Twonky searching in certain folders in my media storage folders?
    Q. What are the 'Shared Media' folders for?
    Q. Why can people using DLNA clients see media in my private share?
    Q. How do I control when Twonky rescans the media store? Optimising operation of the Media Server
    Q: How does the Twonky service work on the MyCloud?
    Q. Where is the Twonky database stored?
    Q. Where are the Twonky settings stored?
    Q. What do all the settings in Twonky's configuration file do?
    Q. How do I clear Twonky's database and start again?
    Q. Where can I find debug log files for Twonky?
    Q. How do I stop MyCloud breaking the Twonky Server?
    Q. Can I change to location of the 'Shared Media' folders?
    Q. Why does setting a Twonky access control password prevent the MyCloud from sleeping?
    Q. Can I replace Twonky with another Media Server?
    Optimising behaviour for Media Clients
    Q. Why does my media player not show the right track information?
    Q. How can I get Twonky to provide full size artwork to clients, rather than crude thumbnails?
    Q. How can I change the media 'views' I see in my DLNA client?
    Q. Can I add my own category to the Music/Photos/Videos categories?
    Some Prerequisites
    You'll need to know how to use the WD Dashboard browser interface to control the MyCloud:
    http://wdc.custhelp.com/app/answers/detail/a_id/10420
    You'll need to know how to use the Twonky UI browser interface to control Twonky:
    http://wdc.custhelp.com/app/answers/detail/a_id/3299
    You'll need to know how to use SSH to log in as root to the MyCloud:
    http://wdc.custhelp.com/app/answers/detail/a_id/10435
    Note the big warning signs about warranty.  IMHO, it's a bit off to make dire threats like this when you often NEED to SSH login to get the advertised services to work properly.
    Some Unix experience will help, but I'll try to explain all the commands you'll need.  Experience with a Unix text editor such as vi or nano is assumed.

    Q. How does the Twonky service work on the MyCloud?
    A: [Twonky is installed as a Linux service.  Like other such services, there is a service control file in the /etc/init.d directory]:
    /etc/init.d/twonky
    This is called when the twonky service is invoked, and there are a number of options for the control of Twonky using an SSH root login:
    service twonky start
    service twonky stop
    service twonky restart
    service twonky status If you execute the start or stop commands with Media Streaming turned on in the Dashboard, you are likely to confuse the Dashboard; you may get an 'Error 400162'.
    'start' calls writeTwonkyContentDir.sh, which, as we'll see later (Q: How do I stop MyCloud breaking the Twonky Server?), reads the /etc/contentdir file and modifies the twonkyserver.ini file to set the media search paths and types, and then starts the Twonky server.
    [It is assumed that the MyCloud Dashboard uses these Twonky service calls to start and stop the Twonky server].  Q. Where is the Twonky database stored?
    A: Since Twonky is a service running on MyCloud, it is not visible in the shared space, so you have to log in via SSH, and navigate around the MyCloud's Linux file system.
    Once you have logged in, use the cd command to change directory to Twonky's area:
    cd /CacheVolume/twonkymedia Now see what's there with a directory list:
    ls -l  Q. Where are the Twonky settings stored?
    A: One of the files listed above is the Twonky configuration file:
    twonkyserver.ini This file contains all the settings that control how Twonky works.
    Now, this is where some of the fighting occurs, because both MyCloud and Twonky can modify this file...
    When you are happy that Twonky is working correctly, I'd recommend making a copy of the file in your Public area, where it won't be mangled by MyCloud firmware upgrades or restarts.  For instance:
    cp /CacheVolume/twonkymedia/twonkyserver.ini /shares/Public/twonkyserver.ini
    If things go wrong, you can reinstate this file by swapping the source and destination.  Q. What do all the settings in Twonky's configuration file do?A: [Most of them are provided with comments that explain their purpose].
    [There are some 'magic numbers' embedded in the configuration file that seem to cause problems, and I don't know what changes those; I suspect that a firmware upgrade does it.  If anyone can monitor these values before and after a MyCloud firmware upgrade and report any changes, I'd be obliged:
    # UserID Please Do NOT change it manually
    userid=<redacted>
    # twonky info for Media Feeds Please Do NOT change it manually
    twonkyinfo=<redacted>]  Q. How do I clear Twonky's database and start again?
    A: If Twonky doesn't seem to be behaving correctly (not finding media correctly, or partially, or finding unwanted media), then it may be useful to clean up the database. There are a number of escalating actions you can take.  Starting with the mildest, and increasing in severity, these are as follows:
    1. Initiate a library rescan, using either Settings|Media|DLNA Database|Rescan in the Dashboard, or Settings|Advanced|Server Maintenance|Rescan Content Folders in the Twonky UI.
    2, Initiate a library rebuild, using either Settings|Media|DLNA Database|Rebuild in the Dashboard, or Settings|Advanced|Server Maintenance|Restart Server in the Twonky UI.
    3. Finally, you can completely clear out Twonky's working area. [This can be useful if you notice the '[Error] - LOG_SYSTEM: Error: 2 No such file or directory' report in the Twonky logfile.  I don't know what causes this error, or whether it has serious consquences, but I have found it to be associated with periods of diffcult behaviour.] Turn Twonky off using the Settings|Media|DLNA Media Server|Media Streaming control in the Dashboard.  Then SSH root login, and hide the entire Twonky working area:cd /CacheVolumemv twonkymedia twonkymedia_bak Restart the Twonky Server using the Dashboard; it will re-create Twonky's working area with a clean version with default settings.  You can then use the Twonky UI to put your settings back in place.  You might try doing this one-by-one, saving the settings and restarting the Twonky server from the Twonky UI each time, then checking the logfile after the Twonky UI has re-appeared. Once you're happy with the operation of the clean startup, you can delete the old Twonky working area:
    rm -f -R /CacheVolume/twonkymedia_bak
    The -f -R flags mean 'delete EVERYTHING from here down... yes, I mean it'.  nb. it will only delete the Twonky database; it won't delete any of your media.  But do be careful that you type the command in correctly; rm -f -R is a powerful command (-f means force, -R means recursive), and could do a lot of damage if you get it wrong...
    Q. Where can I find debug log files for Twonky?
    A: You can enable activity logging using the Settings|Advanced|Logging control in the Twonky UI.  You can also open the logfile from there.
    Alternatively, the logfile is stored in Twonky's area:
    /CacheVolume/twonkymedia/twonkymedia-log.txt
    There's also a MyCloud system logfile that records actions on the Twonky server, such as start and stop:
    /CacheVolume/update.log  Q. How do I stop MyCloud breaking the Twonky Server?
    A: Firstly, go to the Settings|Firmware page in the Dashboard, and disable Auto Update: firmware upgrades completely destroy the /CacheVolume/twonkymedia area, and replace it with new, default version, so you'll be back to square one.
    Secondly, we can stop the problem of Media Streaming restarts overwriting the Twonky UI settings.  Using an SSH root login, enter the following commands:
    cd /usr/local/sbin
    mv writeTwonkyContentDir.sh writeTwonkyContentDir.sh.old
    This disables the script that MyCloud calls when it starts Twonky, which overwrites your settings.
    Another way of fixing the settings is to leave this script alone, but change the file it uses as the source of the settings.  Admittedly, this will still override any changes made via the Twonky UI.  The file is found here:
    /etc/contentdir
    Replace this with a single control line, with no line terminator, e.g.
    +M|/Public/Music,+P|/Public/Pictures,+V|/Public/Videos This will select my earlier settings.
    The format is a comma-separated list of shares and media search and aggregation control flags:
    + enable media searching on the share
    - disable media searching on the share
    A look for all media types
    M look for music
    P look for pictures
    V look for videos
    lower case letters enable aggregation of these media types.
    The | terminates the media type string [you can search for multiple types in a share].  Q: How can I change the location of the 'Shared Media' folders?A: This brings us deep into the guts of the twonkyserver.ini file...  There are a number of settings that control where Twonky stores uploaded files and 'servermanaged' media, [which are used for aggregation], and there is no control setting for them in the Twonky UI.  To change the location of the folders we have to do an SSH root login and edit the twonkyserver.ini file.  The lines in question are as follows:
    uploadmusicdir=/shares/Public/Shared Music
    uploadpicturedir=/shares/Public/Shared Pictures
    uploadvideodir=/shares/Public/Shared Videos
    servermanagedmusicdir=/shares/Public/Shared Music
    servermanagedpicturedir=/shares/Public/Shared Pictures
    servermanagedvideodir=/shares/Public/Shared Videos
    You can change these locations to suit your desired file system.  For instance, you could create a single 'Shared' folder in the Public area, with sub folders for the different media types, e.g.
    uploadmusicdir=/shares/Public/Shared/Music
    Or you could create a Shared sub folder within each of your main media folders, e.g.
    uploadmusicdir=/shares/Public/Music/Shared
    However, if you choose that option, you will need to stop Twonky searching there, by adding 'Shared' to the list of ignored directories discussed above.  Q. Why does setting a Twonky access control password prevent the MyCloud from sleeping?
    A: It has been reported that if a username and password are set using the Settings|Advanced|Secured Server Settings control in the Twonky UI, that the MyCloud then never sleeps.  [It appears that the MyCloud continues to interrogate the drive in some way, hoping to get status of the Media Server from Twonky, but Twonky won't talk to it because it doesn't have the required permission.].
    I don't think this is very important, since the MyCloud is mainly intended for home use, and the Twonky control UI isn't visible external to your local network, and all users on your local network must be trusted*, since you've given them the network access code, [and they have access to the Public area, and could wreak havoc there...] If you need to make your music library available to visitors who cannot be trusted, create a private share and put all your media under that, then enable media serving on that share, and get Twonky to search for media in that private share. DLNA ignores acces control, so DLNA clients will be able to see the media on your private share, but visitors will not have access to your private share via network file access. [However, if you feel that secured access to the Twonky UI is necessary, then I would suggest that you disable the Twonky server using the Settings|Media|Media Streaming conrol, then SSH login as root, and start Twonky using the command:service twonky start You won't get the media scan status in the Dashboard, but the Twonky Server and UI will be running.]
    * Breaches of this trust should be punished in an appropriate manner...
    Q. Can I replace Twonky with another Media Server?A: Yes; forum users hvalentim and Nazar78 have posted good threads about this:MiniDLNA for V3 firmwareMiniDLNA for V4 firmware Kudos to them :-) 

  • AUDIT action (create, delete, privilege escalation, set and change password from users account and group) users and admins in Solaris 10

    Hello.
    in Solaris 10 i need auditing process create, delete, privilege escalation, set and change password and etc... from users account and group.
    I set settings:
    in file syslog.conf:
    *.info;mail.none;cron.none;audit.notice            @IP-Remote-syslog-server-SIEM
    in file   /etc/security/audit_control:
    dir:/var/audit
    flags:lo,ad,ex,cc,am,no,fc,fd
    minfree:20
    naflags:lo
    plugin:name=audit_syslog.so;p_flags=lo,ad,ex,cc,am,no
    in file   /etc/security/audit_user:
    root:lo,ad:no
    Now I see in the logs only the fact of a connection via SSH and run processes on behalf of users. Creation. delete users, change passwords for some reason do not is logged.
    Many users. For each individual write permissions in the file /etc/security/audit_user not possible, it is likely to forget any new user (or there is a possibility in this file one line to describe the audits for all accounts?)
    Where is the mistake?

    You are most likely hitting Bug 15779000 user/role/groupadd/mod/del don't audit their use.
    And the fix is only available in S11.2.
    -- Renaud

  • Webdynpro Development Component Callable Object Escalation

    Hi,
    In gp sequential block workflow  using webdynpro development component callable objects  When the initiator intiates a workflow ,it is assigned to the first approver.Now if the approver does not take any action within 2 days i want to escalate the task to the second approver.How can i do this escalation?
    There is a standard parameter call <b>due date</b>...in action.How can I set this value dynamically from my application..
    During escalation , the next approver has to be taken by executing an rfc in the background
    Please help....
    Thanks,
    Shamila

    Hi,
    You can define a CAF Core application service (implemented in the CAF Core layer) or a background CO (implemented by a J2EE class interface) which can call a RFC to get the next approver and return the next approver's user id as an output parameter. You can use dynamic user assignment in the next action (approval), by selecting the processor as "Filled From Context Parameter" (at the Roles tab in block level) and select the user id output parameter of the background CO/CAF app service CO.
    You can get more details on different types of CO at the CAF Tutorial Center @SDN
    Thanks,
    Dipankar

  • Work Item to be disappeared from user1 inbox when escalated to user2

    Hi,
       I created a customising workflow for Credit Memo Request with 2 escalations  for approval. I have used Fork operation to get this functionality with Requested start option in 2nd and 3rd branch to escalate after 3 and 6 days respectively if not the document is approved by the agent in branch 1.
    Every thing works fine, but the client wants the work item to be removed from USER1's inbox when escalates to USER2 and from USER1 & USER2's inbox when escalated to USER3.
    Could you guide how can we do it in my case.
    Thanks in advance.
    Edited by: Jaya on Sep 30, 2010 10:26 AM

    HI Jaya,
    you can make use of 'Processing Obsolete' here as it would remove workitems from the approvers inbox whose deadline is missed.
    First of all , in the decision step make 'processing obsolete' active under 'outcome tab' of the task.
    Use latest end with time as 3 days and  action as modeled.Now in modeled deadline, make use of process control step and select 'set workitem as obsolete'  and put step number of your dialogue step in 'workflow step'.
    This will make the workitem diasppear from the approver inbox once the deadline is missed after 3 days.
    Now to repeat the process fro 2nd and 3rd approver , put all of this in a loop, and before loop ends, find the next approver id in the outcome 'Processing obsolete' of the desicion step.and pass this id to the expression used for approver.
    The loop condition can be a flag that is set to X when a deadline is reached. To do so, add a container operation in modeled deadline before process control step that will put the flag X.
    So loop will continue to second pass if deadline is missed and hence so on till 3rd approver.Formulate condition for highest level of approval too.
    Hope this helps.
    Regards,
    Sangvir Singh

  • Purchase Requisition workflow escalation

    Hi All,
    I need help with purchase requisition workflow escalation. The workflow for the requisition escalate to the next level if not approved within 24 hours.So i dont want the workflow to escalate on weekend.
    I want to know what can i do.
    Tx Rosi

    Hi
    For your Requirment :
    "the requirement is that if an approver doesnt approve in 2 days time then the PR will automatically go to the next approver for release."
    Please follow the below steps.in copy of  WS20000077.
    1.For taskTS20000159:Overall release of requisition , go to
    Latest END tab:  put ACtion as :Modeled ,  Refer.date/time:Workitem creation , below time : choses: DAY,  and on left add 2.
    Outcome :Deadline Montoring.
    2.Then come to OUTcomes tab of the same task:  see  there are 3 lines 1.Step executed, 2.Latest end:Deadline Montoring, 3.Processing obsolete:Processing obsolete ,, all are ACTIVE or not , if not, Activate .then  all should be Green.
    4.next in the OUtcome :Deadline Montoring , use a process control step. to Set missed workitem to obsolete,  in Function: chose : set Work item   to Obsolute. and Workflow Step : chose then step no for the above task(TS20000159:Overall release of requisition).
    5.In "Processing obsolete" path, again call the same task TS20000159. in different activity . and see to the agent assignment.
    I think this will slove your problem.
    How it works:
    1st the PR is send in a WI to the perticular agent by the 1st activity . if the agent do not execute for 2 days. then that WI will set to obsolute . and process flow to" Processing obsolete" path, then agian PR is send to the next agent using the same task but activity created in  step 5.
    thanks
    Kakoli.

  • Action Playback option changes the Result of an Automated Script.

    When using the Playback Option in the Actions menu, then the  Results are different with different Acceleration methods.
    So the Result is different with, Accelerated - Step by Step - Pauze for [1],
    I Expierence the issue with Windows and Mac as well.
    This happens with Illustrator CS5 (15.0.1)
    # Workflow
         Creating the action:
         Open Illustrator, open the attached document: 4102107 Exact.pdf
         Create an New Action, enable Transform window
         Select the Black Square and the Red text Exact
         Go to Object, Scale > 33.3% and press Copy.
         Then go to Transform an from the upper corner and enter on the
         x=397,13 pt y=212,25 pt
         You see the Image moved to the correct clip.
         Open the Document in Illustrator,
         Go to Actions > Select the created action >Now go to the Panel Menu from Actions > Select Playback option.
         You get a new Dialog where you can select a different acceleration mode: "Step by Step" - "Accelrated" - "Pause for [Numeric] Seconds"
         So the issue is, when you select here a different accelration the result is different.
    >Is this as Designed? If So, why because when i understand the function of an automated script. It should exactly get the same
    result as programmed, why else would you want to use the script if the result with be different without nothing.
    There is running an Escalation case about this, But hopefully anybody more experienced can comment me about this. Or inform wheter  it's a bug?
    Please help me in this. (thank you in advance!)

    To make a few things clear I have created a Video of the issue.
    Have a look on:
    http://adobesupport.emea.acrobat.com/p65456795/
    Maybe i really blow in explaining what exactly happens, but i'll try it again.
    When creating an action (as shown in the Video) You can see that the result
    is totally different and when creating the action. This is error 1.
    - I recieved a respons that we just shouldn't use the Transform Panel. So i requested to know why there is a panel created, if we cannot use it.
    No respons.
    Then when you select a Playback option in the setting of the Actions Panel,
    the Result differs. As you can see when executig in the Accelerated the Movement gets placed WAY out of the file.
    When selection Step by Step or Pause for [Numeric] Seconds, then the result is that the movement gets placed
    at the bottom of the file. Both of the Results don't even come close in the Action which is created.
    Hopefully this will calrify what i ment.

  • Buyer Setup & Approval Escalations

    Hello,
    Need your help on the below issue:
    Today many people who have Standard PO & Blanket Release approval also have the ability to approve a Blanket Purchase Agreement.
    As per our business policy, we are separating Blanket Release approval (Materials jobs only) & Blanket Purchase Agreement approval (Sourcing jobs only).
    The issue we are having is that the Materials teams are still trying to update & approve Blanket Purchase Agreements and Sourcing is trying to update & approve Blanket Releases.
    Because both groups are setup as a Buyer (required even to just view the PO form) Oracle allows updates to documents that there is not approval authority for and as a result the workflow automatically escalates through their supervisor chain - who also does not have approval athority which causes escalation straight to higher authority (Reference the example below)
    Are you aware of any way to prevent editing of Releases or BPA's by teams that do not have job authority to approve them? We need to determine a systematic way to prevent these from escalating to upper management because someone has made a modification that should not.
    Example
    Subject: FYI: No approver was found for Blanket Purchase Agreement 6000016796
    To               Strosin, Raphael
    Sent               19-JAN-2011 02:44:16
    ID               158036687
    No Approver was found for Blanket Purchase Agreement 6000016796.
    PO Amount:      EUR
    Supplier: AMITRONIC OY
    Supplier Site: LAHTI 101
    Last Approver: Strosin, Raphael
    Preparer: Oksanen, Sirpa
    Please, find the correct approver and re-submit document for approval.
    Purchase Order Lines
    Line     Item Number     Rev.     Item Description     UOM     Quantity     Unit Price     Line Amount
    1     72509     001     SEALING-EMI, TIIVISTE-EMI 8.9x2.8x4.75mm, L=38cm     Each          13.05     
    2     M1037086     000     SEALING-EMI, Fingerstock Gasket, slot mount, one finger 7.874x6.35mm     Each          .12     
    Approval Sequence
    Sequence     Who     Action     Date     Note
    7     Strosin, Raphael               
    6     Erneberg, Jan     Forward     19-JAN-2011     
    5     Vuola, Juhani     Forward     19-JAN-2011     
    4     Matikkala, Mikko     Forward     18-JAN-2011     
    3     Oksanen, Sirpa     Forward     18-JAN-2011     
    2     Oksanen, Sirpa     Submit     18-JAN-2011     
    1     Nadhan, Sendhil     Approve     20-JUL-2009     
    0     Nadhan, Sendhil     Submit     20-JUL-2009     
    Thanks,
    Shilpa.

    SP Dash,
    I think he has already created 2 approval groups - say BPAGroup and ReleaseGroup.
    His problem is that person from BPAGroup has access to modify a release. When he/she does that, since he does not have the Authority to approve, the Release approval goes all the way to somebody high up in the company.
    He wants to restrict the access to make changes so this does not happen.
    user11303545, a responsibility based personalization will work even if two responsibilities use the same PO screen. The CONTEXT will take care of that. But if you have other concerns, you can certainly use Karthik's suggestion of creating one personalization and adding a check on the buyer's job/position.
    Hope this helps,
    Sandeep Gandhi
    Edited by: Sandeep Gandhi, Independent Consultant on Feb 21, 2011 9:41 AM

  • Human task escalation ERROR

    Hi,
    I have a BPEL process with a human task. This human task has set the expiration time and the escalation policy (2 escalation steps).
    The BPEL works alright if nobody does nothing to the task. It fails if the task is claimed by a user but after the user doesn't finish the task (doesn't take any actions on the task, neither approve/reject)
    The task is expired and the status is "with errors". In the logs the following error appears:
    <2008-06-25 16:08:40,093> <ERROR> <oracle.bpel.services.workflow> <::> ORA-20003: Error while inserting routing slip
    ORA-06512: en "ORABPEL.WFTASKPKG", línea 47
    ORA-00001: restricción única (ORABPEL.SYS_C005188) violada
    ORA-06512: en línea 1
    java.sql.SQLException: ORA-20003: Error while inserting routing slip
    ORA-06512: en "ORABPEL.WFTASKPKG", línea 47
    ORA-00001: restricción única (ORABPEL.SYS_C005188) violada
    ORA-06512: en línea 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.execute(PreparedStatementBCELProxy.java:333)
         at oracle.bpel.services.workflow.repos.driver.oracle.OracleWFRoutingSlip.insertRoutingSlip(OracleWFRoutingSlip.java:123)
         at oracle.bpel.services.workflow.repos.driver.PersistencyService.insertRoutingSlip(PersistencyService.java:216)
         at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:3321)
         at oracle.bpel.services.workflow.task.impl.TaskService.localHandleRoutingSlipInterpretationResult(TaskService.java:1246)
         at oracle.bpel.services.workflow.task.impl.TaskService.handleRoutingSlipInterpretationResult(TaskService.java:1298)
         at oracle.bpel.services.workflow.task.impl.TaskService.expireTask(TaskService.java:2614)
         at oracle.bpel.services.workflow.task.impl.TaskService.expireTask(TaskService.java:2574)
         at oracle.bpel.services.workflow.task.ejb.tasktimer.TaskTimerBean.expireTask(TaskTimerBean.java:35)
         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at TaskTimerBean_RemoteProxy_68d4144.expireTask(Unknown Source)
         at oracle.bpel.services.workflow.task.impl.WorkflowTimerAgent$ExpirationJob.execute(WorkflowTimerAgent.java:676)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    Has anyone found the same problem?
    Regards,
    Zaloa

    Hi Charles,
    First of all thank you for the reply.
    Right now I'm working in a development environment, where we don't have a cluster. In production environment we do have a cluster for the soa suite so it would be good to know the patch for the cluster.
    On the other hand, I upgraded from 10.1.3.1 to 10.1.3.3 but I didn't run the database script. After reading this post, I executed the upgrade_10131_10133_oracle.sql script but I'm getting the same error.
    One thing that I don't understand is that the log says:
    java.sql.SQLException: ORA-20003: Error while inserting routing slip
    ORA-06512: en "ORABPEL.WFTASKPKG", línea 47
    ORA-00001: restricción única (ORABPEL.SYS_C005188) violada
    ORA-06512: en línea 1
    I connect to the database using orabpel user and I don't find the WFTASKPKG table. Is this normal? What is going on?
    Also, the escalation works alright if no user claims the task.... so I guess it is not an LDAP configuration issue. (both users exist and have title and manager set up)
    Regards,
    Zaloa

  • 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

  • Using tcm to load test scripts into mtm, but action fails.

    Hi,
    I am trying to load test scripts into mtm but action fails saying : "The work item cannot be saved because at least one field contains a value that is not allowed."
    My guess is that this issue is due to the parameters/attributes we give to a test case([testmethod], [description()], etc.). I am unable to find what all parameters/attributes that can be given to a test case.
    Please help me with this issue.
    Regards,
    Payal Prajapati
    Payal Prajapati.

    Hi,
    I use VS 2012.
    One of my test method code is:
    /// <summary>
            /// Test Scenario to validate auto escalation of chat if within some time analyst does not respond to user.
            /// </summary>
            [TestMethod]
            [Description("Validating scenario, Auto-Escalation of chats to other Analyst.")]
    [Priority(2)]
            [TestCategory("Acceptance")]
    public void ValidatingAutoEscalationOfChatsToOtherAnalyst()
                User alice = new User(User1);
                alice.SubmitChatInfo();
                Analyst admin = new Analyst(Analyst_Admin);
                admin.Login();
                Analyst analysttier1 = new Analyst(Analyst_Tier1);
                admin.SelectQueues(Tier1Queue);
                admin.MakeAvailable();
                alice.USendMessage("I have a problem.");
                admin.AnalystWaitForAutoEscalation(25000);
                string Message1 = alice.GetAnalystName();
                analysttier1.Login();
                analysttier1.SelectQueues(Tier1Queue);
                analysttier1.MakeAvailable();
                alice.USendMessage("I have a problem.");
                string Message2 = alice.GetAnalystName();
                analysttier1.ASendMessage("hello, i'm here to help.");
                SprtTestContext.sprtTestContext.WriteLine("Earlier agent was: '" + Message1 + "' and present agent is: '" + Message2 + "'.");
                Assert.AreNotEqual<string>(Message1, Message2, "=> Issue in auto escalation.");
                analysttier1.WrapChatClose(4, "fixed", "comments");     }
    Payal Prajapati.

  • Conditions for triggering actions - times in SLA

    Dear CRM experts,
    I'm configuring actions in SAP CRM 2007 - Service Scenario: in particular, I'm trying to configure actions for triggering of e-mails when SLA deadlines are reached.
    Let's assume that the following are the dates in my service ticket:
    Opening of the ticket --> 10/05/09 - 10:15 A.M.
    First level of escalation --> 10/05/09 - 02:15 P.M.
    To Do By --> 10/05/09 - 06:15 P.M.
    When I write the Starting Condition for the action, I can only compare the Date Types (Opening of the ticket , First level of escalation, To Do By ) with the Local Date of the System...
    The problem is that the condition considers only the DATE(10/05/09), but not the TIME!!
    But in our scenarios, the time is a critical parameter!
    Any idea on how to solve my problem?
    Thanks in advance,
    regards,
    Andrea Ricci

    Dear Andrea,
    I have similar requirement,Where as i have maintained the first respone as date type and in duration i have maintained 15 Min.
    Where as in action condition I have maintained Fisrt response<current date. Notification receipt as Todays date and time.
    Please guid me in details.
    Regards
    Ashwin

  • Task escalation through OIM

    Hi,
    Can any one please tell me about task escalation in OIM.
    I mean when approver is not approving a request within a given time period then request should go to next assigned approver for approval.
    Thanks

    Are you able to escalate the ApprovalTask to approver's manager. If so, please help me.
    I've implemented the ApprovalTask in SOA Composite.I need the task to be automatically escalated to the assignees manager if there was no action within stipulated time.
    I get an error:
    Error in evaluating management chain participantCould not compute the management chain from user rickyponting upto levels 2 upto title Manager. The management chian is used in the routing slip that is associated with the task definition default/TestEscalation!1.6*soa_d3607f68-6b7a-45e5-9c94-76f733af67c6/Humantask1Verify that the users are seeded correctly to compute the management chain.
    Please help me!.

Maybe you are looking for

  • How to read the value from one context node in other in the same view.

    Hi, I am working on enhanced component ICCMP_BP_CP/BuPaContactPersonCreate ,  i need to read the partner_guid from Customer context node in  contactpersonaddress context node. Could you please guid me how to achieve this? if possible, please explain

  • NOKIA 2310 On and Off problem

    Hi. I'd NOKIA 2310. I'm using this for the last 3 years. I'd never attached this fone with Computer.But now-a-days I'm having some strange problem. When i switch on the mobile its automatically switch off and then on again. It Atuomatically Switch on

  • Problem with Tab Key in JFileChooser when Details view is selected.

    Hi all, Iam using a JFileChooser in my application.When i click Details option in the JFileChooser the files with the size,Type and modified date are displayed. When i am using tab to navigate through the JFileChooser,when the tab enters the area whe

  • IMovie and Cinema mode = MAJOR headaches!

    Hi there. I've been having this issue for some time now and while I've read similar topics on multiple forums (including this one) I have yet to find a viable fix. My problem is importing video from my Panasonic mini DV cam after shooting in Cinema m

  • Changing billing info country

    I've just moved from Australia to England and I have a new credit card so I want to change my billing address. However the only selections coming up are United States and Australia. Any idea how to do this or do I have to make a new Apple ID?