Jsessionid in notification email
Hi,
I need to send some URL links in the notification email which goes to the task assignee. When the email reaches the assignee, the jsessionID is unwantedly present in the URL link.
How do I disable the jsessionID? When we click on the URL link in the email, we need to remove the jsessionID on the browser address bar to make the link work.
Thanks in advance.
Regards,
Anand
In PS3, this has been fixed - JsessionId is disabled in urls inside the email notification.
If you want to fix this without moving to PS3, you will have to write a custom filter in your taskform app. Add entries in your web.xml for the filter
<filter>
<filter-name>DisableJlSessionIdFilter</filter-name>
<filter-class><CUSTOM-PACKAGE-NAME>.DisableJSessionIdFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>DisableJSessionIdFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
The doFilter() method of your custom filter should look like -
public void doFilter(
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException, ServletException
if (!(request instanceof HttpServletRequest))
chain.doFilter(request, response);
return;
HttpServletRequest httpRequest = (HttpServletRequest) request;
HttpServletResponse httpResponse = (HttpServletResponse) response;
if (httpRequest.isRequestedSessionIdFromURL())
HttpSession session = httpRequest.getSession();
if (session != null) session.invalidate();
HttpServletResponseWrapper wrappedResponse
= new HttpServletResponseWrapper(httpResponse)
public String encodeRedirectUrl(String url) { return url; }
public String encodeRedirectURL(String url) { return url; }
public String encodeUrl(String url) { return url; }
public String encodeURL(String url) { return url; }
chain.doFilter(request, wrappedResponse);
}
Similar Messages
-
How to customize SharePoint Foundation 2013 workflow notification emails
We have a SharePoint Foundation 2013 workflow that sends emails when certain criteria are met. We have tried to customize the emails using SharePoint Designer, but the emails that are received are different.
Ho do we configure SharePoint to send the emails formatted as we specified in the workflow?
The emails we receive are all formatted like this:
Subject:
[Company Name Workflow] - [Item] has been assigned to you
Content:
Task assigned by [User Name] on [Date].
To complete this task:
1. Review [Item].
2. Perform the specific activities required for this task.
3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it. Click here to request access.)Hi,
According to your post, my understanding is that you want to customize SharePoint Foundation 2013 workflow notification emails.
We’ll need to do a few things to replace SharePoint’s default notification with our own. The first thing we need to do is turn off SharePoint’s default notification. On the Workflow Tasks list, go the Advanced Settings and select
No for Send e-mail when ownership is assigned. Then we need to create workflow to send email.
There is an article for your reference, although it is about the SharePoint 2007, it still works for SharePoint 2013.
Create a Detailed Custom Task Notification with a SharePoint Designer Workflow
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to get response of Workflow Notification Email from MS Outlook Express.
Hi All,
I have two questions:
1. Our business users had a requirement to approve or reject the Workflow Notification Emails form their Email account on MS Outlook Express. When they perform action from MS Outlook Express it sends email to wfmailer but no action perform in aplication. The notification inbox in application shows this notification as OPEN notification and the requested function also shows 'Waiting for Approval'.
2. I need to hide Request Information button/link from the email notification send through Workflow mailer to user. There are three actions button available in email notification Apprve, Reject and Request Information. I need to have only two button Approve and Reject. How to hide Request Information button.
If any one have idea regarding my questions please hlep.
Regards,
SaquibYou can follow the Workflow developer guide to create message attribute as shown in below link
http://www-apps.us.oracle.com/wf/doc/wfr1213/wfdg/html/T361836T361983.htm#2806969
1. For the notification message for which you want the more info link to be hidden, define the message attribute with name '#HIDE_MOREINFO', type as 'text' and set value as 'Y' -
How to configure notification emails for reports output or alerts for all users in r12
Hi,
I need to configure notification emails. I have provided settings in OAM-> Workflow and SMTP IP address in settings and only Outbound. I am able to test for my user ID.
I want to know how to redirect emails or alerts for users like when a user runs a report he should get notification email in his outlook about the report output and details. In settings it only points for one replyto field. How do I mention all user ID's?
Regards,
MohammedHi Mohammed,
You may check on XML bursting for XML based reports.
In addition, also see links:
http://oracle.anilpassi.com/email-output-of-concurrent-program-request.html
Anil: Oracle Apps Concurrent program Output as Email
Oracle ERP World: Email the output of a concurrent program as Attachment
Also see:
How to Redirect Output from Printer to Mail Message after Running Report (Doc ID 1036586.6)
Thanks &
Best Regards, -
Subscribe to this entry is not working, no notification email send to subscriber
When we subscribe any entry by click the "Subscribe to This Entry".
Normally, it should automatic send a notification email to the subscriber
when this entry had any changed such as reply or modify. But we tried use
this function on different users accounts but all of us cannot received
email notification. This function is very important for us as we had some
discussion folder which will have some discussion topic need to repsonse
immediately in the folder and we don't want to check it frequently on each
hour / each minutes to found out any update or reply on those discussion
entry. Could anyone can help me to solve this problem? Thanks
FYI, we can send email when entry submitted properly so we assume our email
server configuration setting should be normal.
Servver Platform: Windows 2008, Teaming 2.1
RegardsJoey,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
PO approval notification email issue
Hi,
When user try to approve PO, it sends email notification to manager who has correct approval athority. Manager can see the approval notification email but notification doesn't have PO Line details section (section which has PO Line information). How to fix it?
Thanks
VijayHi,
To confirm that the patches are resp, can you check the file modified dates POXVCOMS.pls and POXVCOMB.pls? (To know the path on the box run diagnostic apps check for PO module and look for these file names).
If they match with the patch application dates, then you might have to open a SR and get the fix from Oracle
Karthik. -
How to include SAP login link in the workflow notification email ?
Hi,
How to provide a link in notification email triggered thru workflow to outlook ??
This link should take the user to correct SAP system logon screen.....
kindly help ! urgent !!
thank you
RHi Rita,
U can use RSWUWFML2 ABAP report.
check [http://www.mortenhjorthnielsen.dk/BPM/RSWUWFML2/RSWUWFML2.html|http://www.mortenhjorthnielsen.dk/BPM/RSWUWFML2/RSWUWFML2.html]
Regards
Sagar S -
Attachments in Notification email
If someone submits a form with an attachment, is there a way to include that in the notification email?
Hi,
No. This is not supported, sorry.
Thanks,
Lucia -
Text missing from user notification email
I set up a form and embedded it on our web site. For every completed form I received an email containing all the text submitted.
The users also received a notification email, but some of the text was missing from the responses. It appears that only the text that was visible in the box on the screen gets sent to the user.
Is this a known bug?
MikeHi Mike,
This is the first time we've heard about something like this. I'd like to investigate. Would it be possible for you to forward a copy of an email sent to you as well as the corresponding email sent to the user? Also, if you could include the URL to your form that would also help.
You can email me directly at [email protected]
Thanks,
Shannon -
How to send a delayed notification email?
How to send a delayed notification email?
I have a requirement to send an email to the service requestor 2 days after the main fulfillment task is completed. I know I can create a task that auto-completes using the Dummy adapter, but is there a way to make it auto complete after a certain amount of time has elapsed? I was thinking about creating a second fulfillment task that would send this email upon completion, but I can't figure out how to delay its start or its end.Hi Tylor,
James is onto a potential approach here. However, the only way I know of that could work is to use the Scheduled Start feature. This would require that you compute/project the start date of the auto-complete task before the delivery moment begins.
You would need to do a date calculation and then store the projected date in a hidden field. You could then have your auto-complete task fire on that computed date, using the Scheduled Start feature.
The wrinkle here, of course, is t -
Notification Email should be triggered when hit the Apply changes?
Hi All,
Am creating a request form similiar to a remedy form,when ever the user create a new request and submit the request.Notification email will be sent to the user and the admin.
Here when the admin ppl rejects the request,a notification email triggered to the user like request has been rejected .
I have three radio buttons in the Form
1.Submitted(default).
2.Rejected.
3.Accepted.
When the admin edit the request and select rejected radio button,and apply changes ,a notification email should be triggered to the user.
Now i have a after submit process for edit the ,which will be triggered when ever the user hit the apply changes button and it will send notification to both user and admin.
How to achieve the notification email that should be triggered when the admin rejects the request and submit the form???
am using apex version 4.0
when the Admin will select the reject radio button and hit tha apply changes then the notification email should be sent to the user!!
Always appreciate your help!!!
Thanks & Regards,
Ramya.Ramya wrote:
Hi Gurujothi,
Thanks for your response!.
I can able to send email now.Thing is i need to send an email like when the admin rejects the request.
For eg.
1.Admin opened the request and select the Reject radio button and clicking Applychanges button then the email notification will be sent to the user like,
Your request has been Rejected.
2.If the Admin selects the radio button accept radio button and clicked apply changes,start processing about the request then the Email notification will be sent to the user like ,
Your request has been modified .Request will be notified by the admin.(Working now)
DO i need to create two separate process for the email notification like
one is for all the modifications that the user/admin will do in the form ,once the record is created and another process is for Rejection purpose of the Form.But only one Apply changes button is there in the Form.You don't need two page process, In one single process you can acces the page item session values using *:YOUR_ITEM_NAME* bind variable syntax or V function like this V('YOUR_ITEM_NAME')
So in your PL/SQL code you can easily prepare the email body based on your radio group item's value
declare
l_body varchar2(4000);
begin
IF :Px_MY_RADIO_GROUP ='R' THEN
l_body := build your conditional email body for rejected
ELSIF :Px_MY_RADIO_GROUP ='A' THEN
l_body := build your conditional email body approved
END IF;
apex_mail.send(
p_to => '[email protected]', -- change to your email address
p_from => '[email protected]', -- change to a real senders email address
p_body => l_body,
p_subj => 'APEX_MAIL Package - Plain Text message');
end;
See this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_ses_val.htm#HTMDB03012 -
How to send Notification email to Outlook mail?
Hi all,
am new to workflow,
is there any possiblity with sending notification emails using rule?
in my requirement i have to send email notifications to concerned manager using A002 relationship in HR?
Can anybody help me?
Thanks in advance,Hi,
You will have to do the following:
1. Create a new container element (for eg. APPROVER) with Data type WFSYST-AGENT.
2. Create a new background method(if required create a new Business object also) to your BO object to populate this container element.
3. Use the following code in your method:
DATA: G_SNAME TYPE SMNAM,
G_USER TYPE SYSID,
NEXT_PROCESSOR_TAB TYPE PTREQ_UIA_APPROVER_TAB.
PERFORM FIND_NEXT_PROCESSOR(RPTREQAPPRCHK)
USING
PERNR
REQTYPE
CHANGING
NEXT_PROCESSOR_TAB
G_SNAME
G_USER.
CONCATENATE 'US' G_USER INTO APPROVER.
3. Add a new activity step to your workflow calling this method.
4. Use your(current) send mail step with agent field having value 'APPROVER'.
Hope this will work.
Regards
Gautam -
TS4006 Issue with receiving notification emails !
I use to receiving notification emails each time i log into " find my iPhone " , but now i receive it just if i inter from new device , how can i receive those emails again ?
Hi,
Request and Response should be part of same agreement. I hope you are not confused between Acknowledgement and Response. Acknowledgement can be received in the same session (sync mode) but Response will always come in a different session and will be treated as a different document. If, for request, party A is initiator and B is responder then for response party B will be initiator and party A will be responder (as Requset and Response are two docs in case of Custom Document)
For configuring X-Path, please refer section 8.3.11 Configuring the XPath Expression for a Custom XML Document at below link -
http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/busact_coll.htm#sthref784
Please let us know whether you are trying to receive a response or Ack?
Regards,
Anuj -
I need to reformat the workflow notification email so it will work with our current CRM.
Specifically I need to have the customer data listed on the same line as the data field.
For example:
Customer First name Test
Customer Last name Test
Customer email [email protected]
And so on.
Is there a way to reformat the email instead of using the Tag_formsummary?
Thanks!Ya it can be achieved by creating Adhoc Roles and Users.
Adhoc roles can be created through PL/SQL from database or they can be created from Applications using User Management Responsibility. If you use PL/SQL to create roles make sure you give all user names and role names in UPPER case.
Please find the link below for Sample
http://erpschools.com/articles/workflow-tutorial
Regards,
Raj -
Hi,
With SCSM 2012 R2, we notice that we're getting duplicate notification emails when assigning Incidents to a user. We hadn't noticed this behaviour prior to updating to R2. Are there logs that we can check to see what triggers the duplication
ThanksHi,
You need to figure out what happens. Please check the settings of the notifications workflows (two templates assigned). The most probable case is that you have two workflows sending the notifications to assigned analysts.
Cheers,
Marat
Site: www.scutils.com Twitter:
LinkedIn:
Graveyard:
Maybe you are looking for
-
File Not Found Error running JSP demos
I'm not sure what is going on, but it appears that every time I try to run a jsp, the server looks in the document root where it errors out with a file not found error. I've seen others with this type of problem but I haven't seen a solution. Anyone
-
When I open Safari and try to go to youtube its states the following. Safari can't open the page "http://www.youtube.com/" because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minute
-
Hi Friends, In my query, some one change the my global structure and save it. how to recover the structure or query? Pls help me. Thanks in advance
-
Windows does not recognize my BlackBerry
I have a new BlackBerry Curve 8530 from Boost Mobile, it is running v5.0.0.654 (Bundle 1108, Platform 4.2.0.298) I installed the Desktop Manager that came with the phone, once I started it - it updated to the lates version (6.0.1) I have a 4gig micro
-
The following fields have multiple writable mappings: field name
Hi, I keep getting this error when I map tables to EJB 2.0 CMP. What does exactly mean ?