How to replace the workflow with a custom error message

Hi all

In the workflow administrator responsibility, we can see errors for errorred different activities in the status monitor page and clicking on error in the status column.
As this error information is not useful sometimes so I would change this error message with my custom message for the frequently mistake of activities.

I can make the change in the workflow package and workflow.

Please suggest what and how achiev thise. Is it possible to add code in the exception block to give my custom message.

Can I use WF_CORE.context in my code.
for example: ('PORCPTWF', 'GET_REQUESTER_MANAGER', "Author of the APPLICATION DO NOT HAVE MANAGER");


Thanks in advance.

Best regards
Sonia

Hello

You must include the error handling in your PL/SQL to call WF_CORE. Context and return a meaningful message.

When you include calls to WF_CORE, don't forget to add a RAISE in your exception block to make sure that the error is passed upward the battery correctly.

HTH,

Matt
-----
WorkflowFAQ.com - the independent resource ONLY for Oracle Workflow Development

Review alpha chapters of my book "developing with Oracle Workflow" are available through my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Tags: Database

Similar Questions

  • How to replace the paragraph with a space mark

    Hello

    I received the contents of a manual in raster format, but each line of text ends with a paragraph mark. How to replace the paragraph with a mark space otherwise than by hand?

    In Word, this is pretty easy, but I don't see not any provision for it in the search box on 7.2 Frame.

    Yours,

    Michael F

    ========

    \p = end of paragraph

    \P = beginning of paragraph

    See: Help > keyboard shortcuts > keys for the search and replace

  • How to replace the arrow with a graph on a TitledPane?

    The TitledPane has an arrow that changes state (turns) to indicate whether the component is reduced or developed. Is there a way to replace this arrow with a chart customized for each State?

    Most certainly. Everything in the controls is style-able in the CSS. The area you are trying to style can be addressed through:

    .titled-pane > .title > .arrow-button
    

    So you can specify images here, for example, or you can simply change the trajectory of the arrow by adding another > .arrow on the end below, I posted the all CSS style that is built for TitledPane so you can see how everything is style. You can create your own style sheet, copy and paste this in there and then begin to tweak things and see how it affects the appearance of the TitledPane.

    See you soon
    Richard

    /*******************************************************************************
     *                                                                             *
     * TitledPane                                                                  *
     *                                                                             *
     ******************************************************************************/
    
    .titled-pane {
        -fx-skin: "com.sun.javafx.scene.control.skin.TitledPaneSkin";
    }
    
    .titled-pane > .title {
        -fx-background-color: -fx-box-border, -fx-inner-border, -fx-body-color;
        -fx-background-insets: 0, 1, 2;
        -fx-background-radius: 5 5 0 0, 4 4 0 0, 3 3 0 0;
        -fx-padding: 0.166667em 0.833333em 0.25em 0.833333em; /* 2 10 3 10 */
    }
    
    .titled-pane > .title > .arrow-button {
        -fx-background-color: null;
        -fx-background-insets: 0;
        -fx-background-radius: 0;
        -fx-padding: 0.0em 0.25em 0.0em 0.0em; /* 0 3 0 0 */
    }
    
    .titled-pane > .title > .arrow-button .arrow {
        -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
        -fx-background-insets: 1 0 -1 0, 0;
        -fx-padding: 0.25em 0.3125em 0.25em 0.3125em; /* 3 3.75 3 3.75 */
        -fx-shape: "M 0 0 h 7 l -3.5 4 z";
    }
    
    .titled-pane:collapsed > .title > .arrow-button .arrow {
        -fx-rotate: -90;
    }
    
    .titled-pane > *.content {
        -fx-background-color:
            -fx-box-border,
            linear-gradient(to bottom, derive(-fx-color,-02%), derive(-fx-color,65%) 12%, derive(-fx-color,23%) 88%, derive(-fx-color,50%) 99%, -fx-box-border);
        -fx-background-insets: 0, 0 1 1 1;
        -fx-padding: 0.167em;
    }
    
    .titled-pane:focused > .title {
        -fx-color: -fx-focus-color;
    }
    
    .titled-pane:focused > .title > .text {
        -fx-text-fill: white;
    }
    
    .titled-pane:focused > .title > .arrow-button .arrow {
        -fx-background-color: white;
    }
    
  • How to replace the iPhone with iCloud contacts contacts

    I see a lot on the other hand... but I need help.  I spent hours on my reductive duplicates of MAC (2-3 each) and out Hung old addresses, etc..  I've narrowed my list of contacts from 1200 to 458.  Once I did, I have archived my new list of contacts "just in case."  When I go in iCloud on my computer, I see 458 contacts.  Large.  However, my iPad and iPhone are always a mess.  I thought that this was happening in iCloud would replace the junk on my devices.  I have read articles that said disable contacts in iCloud and it will ask you what you want to do with contacts - delete.  Yes, I did.  It has eliminated about 90 contacts and that's it.  Also, I went to all my e-mail and accounts disabled using contacts from gmail, yahoo, outlook etc.  Who does nothing either.

    Summary: What's in my account iCloud, 458 contacts, is correct.  Now, how the hell do I clean my iphone and ipad and load these 458 contacting them and get rid of the 1200-1500 in each device now?  Waaaah.   Very frustrating that there is not a global deletion that I can find.

    Please help a rookie.  MM

    Turn on the iCloud contacts for all devices

  • How to replace the HDD with SSD for Inspiron 15R 5521?

    Hello

    I have the Dell Inspiron 15R 5521 Intel i7 with Windows 8 is installed. I would like to replace the hard drive with the Samsung SSD 840 EVO series.

    http://www.Amazon.com/Samsung-Electronics-Evo-Series-2-5-inch-MZ-7TE1T0BW/DP/B00E3W16OU/ref=cm_cd_al_qh_dp_t

    First of all, this SSD will be compatible with my laptop? Second, I don't know how to install the Windows 8 and all the necessary drivers for this laptop works again.

    I have very little knowledge of operating system installation. Can someone help me with step by step instructions please?

    Thank you.

    Hi Daniel Hong,.

    This drive should work fine. I have a link below an operating system for your reference installation guide.

  • How to replace the text with the video?

    Hello

    I bought this model for AE http://videohive.net/item/commercial-plan/109232

    Everything is going well except importing video inside.

    If you take a look at the video preview, there is an option to place the 4 images/videos in the model. However, when I tried to import the video, it does not appear. I tried right clicking on the active panel, and then replace the file existing with my video. No luck.

    The video I tried to import is video MP4 (in .m4v format).

    Also I tried to import a MP3 file does not play in the file after.

    No idea why this is happening?

    Thank you.

    What version of AE you have. Earlier versions had problems with the MP4 video. It is always better to transcode strongly compressed sources before you start to manipulate the video.

    Somewhere in this model there are place video support or a layer of support of the place. You must find the original film layer not the demo, not the nested model. Once there is everything what you need to do select this place holder layer in the timeline and select your new video in the project Panel and press and hold the Alt/Option key and drag on the timeline. The images will be replaced.

  • How to simplify the code to generate custom error codes and messages

    I designed a vi that generates the error when any data entry is missing, it works correctly, but the problem is that I want to simplify, because it is part of the main program and its block diagram is great to use as such (I tried to use this vi as a Subvi in the main program, but that does not work correctly) so I need help to simplify the code or if there is no other better medium to generate the error message.

    Hello

    As shown in the previous example, to a different question of yours, it is always good to reduce with diagrams of huge block with repeated code.

    When you overwrite functionality even repeated several times, put it in a loop and run it to have recurrences of 4 or 5 of the same code.

    It will be evolving in the future.

    joined the vi changed for you.

    Note: when you want to simplify your program, isolate your code in functions, put each function inside a under vi.

    in your case, you can have the control to an empty string for all channels within a Subvi. build an array of strings and go through the subvi. Control in the sub that VI is that strings are empty.

    an array of Boolean output error. build your error string in another under vi. the wires together.

  • How to disable the annoying NTVDM. EXE error message

    I spent an hour or two to try to determine what is causing the NTVDM. Error EXE that occurs during startup - all to nothing does not.

    Somehow I think that there is a setting that will turn off the annoying message - as it serves no useful purpose.

    Someone has any idea how to do this in Vista?

    Thank you

    -pr-

    It is easy to use Google Reader and share it here. What will be the exact wording of the error message?

    I used the AUTORUN application and found two remnents in a program file deleted which do not uninstall correctly. Error no longer appears on over the connection.

    Thank you

    -PR-

  • How to past the installation Adobe Reader XI error message?


    OS: Windows 7 - PC

    Current installations of Adobe: Adobe AIR, Adobe Flash, Adobe Shockwave Flash

    ______________________________

    An imperative of USPS apparently new to print shipping labels: Adobe Reader 11


    I followed the link to USPS to the Adobe download page, use this download link:

    http://aihdownload.adobe.com/bin/Live/install_reader11_en_mssd_aaa_aih.exe

    However, on my PC - failure! This is the error message that is displayed instead of the player:

    The application has failed to start because its side-by-side configuration is

    incorrect answer. Check the application event log or use the command line

    tool sxstrace.exe for more details.

    Aaack! I don't know the application event log or activity of side-by-side configuration command line! (I tried to access sxstrace.exe on the "run" menu, but that only put a screen command line with words for a quarter of a second, then he just disappeared!)

    I want to just print a shipping label and resume my life... Please help...

    Thank you.

    Error: The application could not start because the side by - Microsoft Community

  • Pavilion dv6700 CTO: how to replace the drive with SSD hard dv6700

    Am trying to replace has no HD with SATA SSD, but the pins are different (flat LANDSCAPE on the SSD and vertical on the original drive). There is no information on the removal of the black connector. How can I get the new drive to adapt?

    The dv6700 uses a piece of plastic connector via the standard SATA connections on the hard drive. It looks like the part of the hard drive but is a separate room.

    See the standard locations of SATA connection on the bottom, then the pins on the top brass? Carefully remove this piece of plastic from the old hard drive and the place are good go on the SSD and you.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • Advanced search and replace. How to replace the space with carriage return?

    10.9.13.0/24, 10.9.4.2/32, 10.9.4.3/32

    in

    10.9.13.0/24
    10.9.4.2/32
    10.9.4.3/32

    Find replace them ',' with carriage return.

    I still find articles on an advanced search and replace, but I can't seem to locate it.

    OS X El Capitan 10.11.3

    3.6.1 the numbers

    HI Brendan,

    You don't need an advanced find and replace for it.

    In the search box, press, then space.

    In the box replace by, press option-return.

    Then click Find and replace and find until you are finished.

    Kind regards

    Barry

  • How to replace the mouse with the PID

    1 Microsoft Wireless Laser Mouse 7000

    2. the mouse works very well but the tranceivers seem to be brocken. When I plug it into my port USB it doesn't say not recognized. Error code 43

    3. Yes, I did the troubleshooting steps to go on http://support.microsoft.com/kb/310123 and many other sites I've tried.

    4. I called the microsoft customer service in Australia, and they didn't know what had happened to the avalanche Transceiver, I told them error and always tell me the steps I tried already.

    Certainly you would have tried everything underneath, including reinstalling the drivers.  If you did then I think that the device has failed and must be replaced.
    Troubleshoot the incidents of the response to the mouse or wireless keyboard

    John

  • You want to know why the icons displayed for only some bookmarks and how to replace the rectangle with an icon dotted valid in these cases.

    As explained in the question, some of the icons for sites appear only as a dotted rectangle. There are several favorites that have been imported from a html file and some of them have no icon showing on the list of bookmark or toolbar for Firefox, but they did it on the original browser where they wre imported. As a general rule, the icons 'fills' when each of the imported sites are visited some do not no matter how many times visited.

    I checked to make sure that the fonts and colors are chosen by the site server, so this isn't the problem.

    Although it is a function a little cosmetic (navigation works fine, just no icons), the icons site much faster recognition visually, making the browser it much faster and easier on the eye.

    Any help to fix this would be greatly appreciated for a user of Firefox "second-time-around."

    Firefox normally restore the favicon if use you this bookmark.

    See also:

  • How to replace the variable with the help OF the operator?

    Hello

    I'm creating a form where the user selects the check box which products he wants to see. After the choice, I should show all sales of this product, but the selection does not recognize the variable after the IN operator, for example:

    SELECT the product, price, quantity
    FROM the sale
    Product WHERE IN (vcProducts);

    Can someone help me?

    Cree

    I guess that vcProduct is a varchar2 variable where you have a chain of your prodids, as ' 4711,4712 concatinated, 4713'. May be you have each place value '. Is not the question, which is not part of the sql syntax set. You either have a list of enumeration or a subselect.

    Where do you need it? In the block or Pl/Sql where clause.
    In the latter case, you can configure the list in a variable (with enclosing "") and set the block where property.

    In the first of may by INSTR is useful, INSTR (vcProduct, vcDelim | table.prod_id | vcDelim) > 0. Make sure you have your list attached and separated by the vcDelim. If you prodct table with the number of lines (million), it can be slow because no index will be used.

    Dynamic sql or.
    Or write a subquery und temp-table.

  • How to replace the aol search in the toolbar of windows xp with google?

    How to replace the aol search in the toolbar of windows xp with google?

    Hi majortom68

    Follow the link below to learn how to add/remove the default search in internet providers explore.

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-or-choose-a-search-provider-in-Internet-Explorer

    Good luck.

Maybe you are looking for