E-mail notification must be triggered on impact the apply changes?

Hi all

Creates a form similar to a form of appeal, whenever the user create a new request and submit the request. E-mail notification will be sent to the user and the administrator.
Here when admin ppl rejects the request, an e-mail notification triggered by the user as the application was rejected.

I have three radio buttons in the form

1.submitted (Default).
2.rejected.
3.accepted.

When the administrator change request and select rejected box and apply the changes, a notification e-mail should be raised to the user.

Now I have a submit after process of change which is triggered whenever the user press on apply changes and it will send the notification to the user and admin time.
How do e-mail notification which should be triggered when the administration rejects the request and submit the form?
use the apex 4.0 version

When the Admin selects the radio button of rejection and tha press on apply changes, then the notification by electronic mail must be sent to the user.

Appreciate your help!

Thank you and best regards,
Robette.

Hello

Copy the following code,

BEGIN

IF(:ACESS_APPROVAL = 'Rejected')THEN

     APEX_MAIL.SEND('Your request has been rejected');

ELSIF(:ACESS_APPROVAL = 'Accepted ' or :ACESS_APPROVAL = 'submitted')THEN

     APEX_MAIL.SEND('Your request will be notified.');

END IF;

END;

Tags: Database

Similar Questions

  • Where can I change e-mail notification "new customer comment"?

    Currently I use the Module reviews the customer's Web site. When someone posts a comment, the customer receives an e-mail notification "New customer comment", so that the customer can moderate comments. The problem is that all the emails notification of workflow for my client's Web site are brand for his company and this e-mail notification "New customer comment" bears the mark and the address of my business and not his default "from". How can I change this?

    I must point out that in a conversation with the support, the person I chatted with that said that it could not be changed because it was an email notice aside server that could not be edited / brand by me. Given the presence of brandable Workflow notification emails, I have a hard time with this response.

    Thanks for the help!

    Tim

    Hi Tim,.

    It is correct that this mail system is not customizable at this stage and is already on our wish list.

    Please check our blog for monthly releases it's become available. - http://businesscatalyst.com/_blog/bc_blog

    Kind regards

    -Sidney

  • using Oracle job e-mail notification

    Hello

    I am trying to configure a job e-mail notification using Oracle 11 GR 2. By documnetation online, I made the following configuration, but email notification work is a failure. If you guys have any ideas, please help.

    Step 1:

    BEGIN

    DBMS_SCHEDULER.set_scheduler_attribute ('email_server', 'oracle.kotaise.com:25');

    DBMS_SCHEDULER.set_scheduler_attribute ('email_sender', ' [email protected]');

    END;

    /

    Step 2:

    BEGIN

    () DBMS_SCHEDULER.create_job

    job_name = > 'email_notification_job ',.

    job_type = > 'PLSQL_BLOCK ',.

    job_action = > ' NULL BEGIN; END;',

    start_date = > SYSTIMESTAMP,

    repeat_interval = > ' freq = minutely; BYSECOND = 0',

    enabled = > TRUE);

    END;

    /

    Step 3:

    BEGIN

    DBMS_SCHEDULER. () ADD_JOB_EMAIL_NOTIFICATION

    job_name = > 'email_notification_job ',.

    recipients = > ' [email protected] ',

    sender = > ' [email protected] ',

    subject = > 'Scheduler Job Notification-%job_owner%.%job_name%-%event_type%. "

    body = > ' event_type % occurred at % event_timestamp. ERROR_MESSAGE %'.

    events = > "JOB_FAILED, JOB_BROKEN, JOB_DISABLED, JOB_SCH_LIM_REACHED");

    END;

    /

    Step 4:

    I created the following post that runs a package that runs a package "test_package.pdata". This package is not created yet, because I wanted to see if the email notification works or not. As expected the 'TEST_JOB' failed due to missing package. But notification email '' email_notification_job' ' work, which takes place every minute, cannot send an e-mail notification.

    BEGIN

    SYS. DBMS_SCHEDULER. CREATE_JOB

    (

    job_name = > 'test_job '.

    , start_date = > SYSTIMESTAMP

    , repeat_interval = > ' freq = minutely; BYSECOND = 0'

    , end_date = > NULL

    , job_class = > 'DEFAULT_JOB_CLASS '.

    , job_type = > 'PLSQL_BLOCK '.

    , job_action = > ' BEGIN test_package.pdata; END; »

    , comments = > NULL

    enabled = > TRUE

    );

    end;

    /

    I questioned the DBA_SCHEDULER_NOTIFICATIONS table, and I see that email notification work has not begun.

    JOB_NAME EVENT RECIPIENT

    EMAIL_NOTIFICATION_JOB [email protected] JOB_FAILED

    EMAIL_NOTIFICATION_JOB [email protected] JOB_BROKEN

    EMAIL_NOTIFICATION_JOB [email protected] JOB_SCH_LIM_REACHED

    EMAIL_NOTIFICATION_JOB [email protected] JOB_DISABLED

    Thank you

    OK, now I understand your lack of understanding

    The ADD_JOB_EMAIL_NOTIFICATION procedure relates to employment that you specify in the parameter job_name. In your case, e-mail notifications will be sent against your email_notification_job, no test_job. You must use the ADD_JOB_EMAIL_NOTIFICATION for all the jobs you are interested in the result. So if you are interested in the results of running TEST_JOB, then you must specify this work for the ADD_JOB_EMAIL_NOTIFICATION procedure.

  • E-mail is not get triggered through workflow

    Hi all

    E-mail is not triggered through workflow mailer. We have configured the notification workflow. All 3 components of the Workflow Manager are running

    The problem is with and send us mail using telnet and mail triggered successfully. The same is not get triggered through workflow.

    We did the telnet to the smtp server of the concurrent server.

    Telnet 172.15.7.20 25

    We are able to send mail successfully using [email protected] . We received the letter. I have a screenshot which I can not attached it.

    SMTP server is windows server and is configured for simultaneous server and am able to Telnet to competitor and no application server.

    Here is the configuration made envelope of workflow.

    outgoing e-mail account

    Outgoing Protocol - SMTP server - which I am above for telnet

    the name of the outgoing server - smtp server - which I am above for telnet

    Incoming email account

    Incoming - IMAP protocol

    incoming server name - name of the concurrent server - where I'm able to telnet to the smtp server.

    Sender of the notification is also come without any question though mail is not have triggered.

    Please suggest if I'm missing something or that I have to configure something else.

    Detail ENV-

    Version of DB - 11.2.0.4

    Apps vesrsion - 11.5.10.2

    Both are on linux. SMTP server is a windows server.

    Apps and simultaneous are separate server.

    Thank you

    Hello

    The issue was due to incorrect smtp server. We put simultaneous server node information in the smtp part.

    After the smtp server ip address, mail to fires.

  • A script for the e-mail notifications to all detectors of vCenter device 54 default works as expected, however it ends with an error.

    Hello

    We test the automatic configuration of alerts by email of all the alarms of 54 by default since version 5.0 of the device of vCenter.

    Since this is something that we intend to do on all the installations/upgrades, it can be a time-consuming task having to manually set each alarm set on each vCenter so I indicated to an article in the blog of VMpros which appears to address a similar task and who suggests using PowerCLI script to take care of this:

    http://blog.vmpros.nl/2011/07/04/VMware-change-alarm-actions-with-PowerCLI/

    I fixed the script from its original version because it shouldn't change certain actions of alarm to send alarm notifications at a different e-mail once a week. Instead, we will propose a one-time activity.

    After configuring vCenter server connection information and change the e-mail addresses, I have successfully tested the custom script to add notifications by e-mail to a test alarm (named "Test alarm") to a simple action, that I had created earlier (turn on/off a virtual computer in our laboratory). The added script notifications by e-mail to our alarm test as expected without error.

    Before you change the script to add e-mail notifications to all 54 defect detectors as needed, I decided to test the custom script against one of the predefined alarms (named 'Host the status of material power'). While the script added notifications by e-mail to the alarm 'Material receiving power status' as expected, he finished with errors.

    I just want to make sure that our custom script contains no script errors before using it on all the installations/upgrades (any suggestion or criticism is welcome).

    I pasted the error resulting from the prompt of Windows PowerShell commands below.

    Thank you and best regards,

    Massimiliano

    ==================================================

    PowerCLI D:\ >.\Change_Alarm_Datacenter.ps1

    Action Type Trigger

    -----------     -------

    SendEmail...

    SendEmail...

    SendEmail...

    New-AlarmActionTrigger: 21/05/2012-16:35:11 new-AlarmActionTrigger A

    specified parameter was incorrect.

    D:\Change_Alarm_Datacenter.ps1:37 car: 82

    + Get-AlarmDefinition-name '$actAlarm1 ' | Get-AlarmAction | New-AlarmActionTri

    walking landing < < < < - StartStatus 'green' - EndStatus "yellow."

    + CategoryInfo: NotSpecified: (:)) [-AlarmActionTrigger] new, Inva)

    lidArgument

    + FullyQualifiedErrorId: Client20_AlarmServiceImpl_NewAlarmActionTrigger_

    ViError, VMware.VimAutomation.ViCore.Cmdlets.Commands.Alarm.NewAlarmActionT

    rigger

    UID: /VIServer=administrator@vcenter5:443/Alarm=Alarm-alarm-17/SendEma

    ilAction = 1508771755/AlarmTriggeringActionTransitionSpec =-83030421

    6.

    StartStatus: Green

    EndStatus: yellow

    Repeat: false

    AlarmAction: SendEmail

    UID: /VIServer=administrator@vcenter5:443/Alarm=Alarm-alarm-17/SendEma

    ilAction =-1903891658/AlarmTriggeringActionTransitionSpec =-8303042

    16.

    StartStatus: Green

    EndStatus: yellow

    Repeat: false

    AlarmAction: SendEmail

    UID: /VIServer=administrator@vcenter5:443/Alarm=Alarm-alarm-17/SendEma

    ilAction =-1765994019/AlarmTriggeringActionTransitionSpec =-8303042

    16.

    StartStatus: Green

    EndStatus: yellow

    Repeat: false

    AlarmAction: SendEmail

    ==================================================

    Okay, I think I found the problem.

    You set 3 actions on this alarm (3 x Email).

    This means that it

    Get-AlarmDefinition -Name "$actAlarm1" | Get-AlarmAction
    

    Returns 3 objects (one for each action).

    Unfortunately, the New-AlarmActionTrigger cmdlet wants 1 as input Action, not a table object.

    The solution is to select the Action of explictely for which you want to change the trigger.

    Something like that

    Get-AlarmDefinition -Name "$actAlarm1" | Get-AlarmAction | Select -Index 0 | New-AlarmActionTrigger -StartStatus "Green" -EndStatus "Yellow" Get-AlarmDefinition -Name "$actAlarm1" | Get-AlarmAction | Select -Index 1 | New-AlarmActionTrigger -StartStatus "Red" -EndStatus "Yellow" Get-AlarmDefinition -Name "$actAlarm1" | Get-AlarmAction | Select -Index 2 | New-AlarmActionTrigger -StartStatus "Yellow" -EndStatus "Green"
    

    Beware, the script does not remove the old triggers, so you will end up having several triggers for actions.

    First use the remove-AlarmActionTrigger to remove any existing triggers.

  • An Alert Notification must be sent to each supervisor on use different

    Hi guys,.
    I develop alert summary. Now, I created alert of synthesis.
    This alert empno empname, supervisor, supervisor e-mail results.
    but the Notification must be sent to every other supervisor used to them.
    How this requirement is possible. Please help someone.

    Thank you
    RAMU

    Dear Robert,
    If you use the Message Action type, try to keep email monitoring in 'To' and supervisor variable name on the outside of the model of the summary and remaining inside the model of the summary. Then, he worked in the way you want.

    Thank you
    REDA

  • Configure e-mail notifications

    I am preparing to the VCP - 410 exam and came across this question of practice...

    While he was working for XYZ, Inc., consultant virtualization, you identify the need to receive notifications by e-mail of vCenter when certain events occurred.  What settings must be configured in the settings of the vCenter server to accomplish this.  Select all the boxes.

    (a) e-mail address from which the message will be sent

    (b) the address of the recipient

    (c) address SNMP information

    (d) information on the SMTP server

    The text says that B and D are the correct answers, but I believe that A, B, D are correct by the "Configure vCenter Server SMTP Mail settings" section on page 262 of the VSP_40_Admin_Guide.  Your thoughts?

    The e-mail address is optional-

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • @Native Directory e-mail notification features

    Hi all

    We use native Directory to access user for the purposes of planning permissions. Is it possible to have the functionality of e-mail notification for Workflow with native Directory processes?

    The e-mail feature is implemented in planning for example Server SMTP and the email addresses of the users/admin must be implemented in the planning.
    So, it doesn't really have nothing to do with the HSS and the native directory.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • New Mail notification to appear in my Windows account login screen, peux I turn this off?

    I started using Thunderbird for my email because I am so sick of "Comcast/Xfinity" unwanted advertising and dumping else on my computer when I just want to make my Comcast email. I've customized email Thunderbird (options, etc.) to display the way I want. However, I use a shared computer I put in place will have to connect to multiple user accounts or the Admin and now T-Bird puts in place a notification on my user account (on the Windows login screen) of new e-mail arriving and how many new emails I have. I don't necessarily want other users to see if I have new messages and the number of new messages I. Is there a way to disable this "feature"? I don't see any option in the tools of T-Bird.

    cbrookej
    If you have already logged on to the Windows user account and you can see the desktop etc, then please turn off alerts notifications according to the instructions contained in the first comment marked as "helpful answer.

    trlong1
    Re: Zenos. sorry I can't provide a screenshot of the 'Windows' screen, nothing I can do until I log in, or at least I have no idea how I could do.

    When you see the windows logon and an alert appears:
    On the keyboard, press the "Prt Scr" button.
    then the connection to the user account
    Open 'Paint' (start > programs > Accessories > Paint)
    Right click and choose "Paste."
    Save as a jpg on desktop image
    Image of post in this forum, using the ' add images 'Browse' button located under a text box "Post a reply".

  • How do I just get messages from the Inbox to show the new mail notification?

    I install Thunderbird with Gmail and it works like a charm. The only complaint I have is that the new mail notification seems to grasp a selection of emails unread from different folders and often it does not show the new relevant emails in my Inbox. ESP. the all mail folder seems to provoke the doubling of message notifications, but this isn't the only one.

    All I want is my Inbox for new e-mail notifications. Is there anyway to change the current behavior?

    And there is no solution to limit the mail in a particular folder Inbox or other, so I suggest ur stuck.

    This add-on could help https://addons.mozilla.org/en-US/thunderbird/addon/xnotifier/?src=search , but I have really no idea.

  • When I get the message/e-mail notification, my camera flashes

    When I get the message/e-mail notification, my camera flashes

    Hello

    Follow the instructions to turn off the alerts of Flash LED here > http://www.imore.com/how-to-turn-on-led-notification-light-iphone

    Or tap Settings > general > accessibility > Flash LED for alerts.

  • Mail notification on phone family member

    I have family and a member receives my email notifications and can actually access only if they slip. However, they have no access to my email otherwise. How can I stop this from happening?

    The family has nothing to do with email.   E-mail account which you are referring?   The only way to e-mail notifications occur is if this account is installed on this phone

  • E-mail notification of silence Droid4

    How to transform the sound e-mail notification?

    I actually think that the sounds of notifications for Gmail are hidden in a ridiculous way.

    Open Gmail > Menu > more > settings > [If you have multiple Gmail accounts, choose a] > labels to notify > Inbox > ringtone.

    Not only is this really buried but -"tags to notify! Who thought this would be an excellent checklist?

    (Sorry. Stuff like that makes me crazy...)

  • E-mail notifications

    Our company uses UTM25 and strive configure the system to use mail notifications settings. I read in several other threads, it requires the use of the SMTP port 25, which does not seem to be supported by a large number of major email service providers (gmail, hotmail, etc.).

    What I have to put in place a special Exchange Server just to send an e-mail from this router? Why can I not use other ports? The admin for our society, it is important that every day I receive alerts of the UTM without having to log on and run them manually.

    BTW: I use an outdated firmware version, but as far as I can see the update notes, new versions of firmware have nothing to do with the SMTP port used for the email notification.

    Thanks in advance!

    dwhittington wrote:
    Our company uses UTM25 and strive configure the system to use mail notifications settings. I read in several other threads, it requires the use of the SMTP port 25, which does not seem to be supported by a large number of major email service providers (gmail, hotmail, etc.).

    What I have to put in place a special Exchange Server just to send an e-mail from this router? Why can I not use other ports? The admin for our society, it is important that every day I receive alerts of the UTM without having to log on and run them manually.

    BTW: I use an outdated firmware version, but as far as I can see the update notes, new versions of firmware have nothing to do with the SMTP port used for the email notification.

    Thanks in advance!

    Try upgrading to 1.3.7 - 0 and then do an update to 1.3.14-0. offline
    You should be able to specify the port now.

  • E-mail notification of family re PC use child safety

    I got my first e-mail showing the use of PC for my two children. The amount of time indicated is more than seems reasonable. I was wondering, if the user account is kept open, but the laptop is put in hibernation mode this registry from time to Hibernate like the duration of use of PC?

    Hello

    Welcome to Microsoft Community forum. I'd be happy to help you with that. Yes, she will be always saved as PC is in use. Hibernate mode is considered to be not completely close the user account.

    To stop PC usage time, the child's account must be off log for the user account or the laptop will be stopped.

    If you have any other questions, please let us know.

    Thank you!

Maybe you are looking for