Urgent: Attachments in Requisition Workflow Notification
Hi All,
I am displaying attachments in the header level of a requisition notification. When I tried to open the attachment link from the email notification,it is asking for the apps login. Is there anyway to supress the login page as these attachments are stored in the same server.Please help me its bit urgent.
Thanks in Advance!
Regards
Srini
When you open the attachment from e-mail it will look for a valid application context. Enable Guest access to notifications as follows
1- Set the WF: GUEST Access to Notification profile option to "Enabled" at the site level.
(The default value for this profile option is "Disabled", which disables guest access.)
2- Create a function grant assigning the WF_GUEST_GRANTS function set to the Guest user.
a. Navigate to the Functional Administrator responsibility
b. Choose the Security tab
c. Click the Create Function Grant button to create a grant
d. Enter the name of the grant. I(WF Guest Access)
e. Enter today's date as the Effective Date
f. Select "Specific User" in the Grantee type field
g. Enter Guest as the Grantee
h. Click Next
i. Look for the "Workflow Guest User permission set" in the list of values.
The other criteria to find it is Search by Code = WF_GUEST_GRANTS
j. Click Next
k. Click Finish
l. Stop and restart Oracle HTTP Server
j.In Oracle Applications Manager, stop and restart the service
Regards,
Ravi.
Similar Messages
-
#ATTACHMENTS handler in workflow notification for multiple attachments
I would like to attach multiple documents to a workflow notification. The number of attachments are not known at design time.
I see that #ATTACHMENTS handler is used for purpose, but I am not clear how to use it with PLSQLBLOB usage.
How to return multiple documents to the #ATTACHMENTS special handler using PLSQLBLOB?
Created a message attribute of Type=Document and gave internal name as #ATTACHMENTS. Now time to set a PLSQLBLOB function, but to attach multiple documents. Not sure how ....
Note, I do seem some examples with FND:entity usage which shows attachments fine in the worklist, but the attachments are not shown in the email when using workflow mailer due to limitations with FND usage. Using PLSQLBLOB Document, I'm able to show attachments in both worklist and email, but each document attribute can handle only one attachment file. The number of attachments are not known at design time. I would like to use #ATTACHMENTS handler but for PLSQLBLOB usage.
Can some throw more light on #ATTACHMENTS tag with PLSQLBLOB usage for multiple attachments?
Thanks!hi Sanni
please view this page.It is not direct answer. But it might help
https://sites.google.com/site/shareapps4u/learning-topic/workflow-tutorial/how-to-attach-document-with-notification
I have a similar requirement like yours.I need to attach the document when user sends reply to a notification.
Can you please guide me in that.
I appreciate your help in this. I heard that Oracle Standard functionality does not support this.
Appreciate your help
kp -
Multiple attachments in Workflow Notification
Hi All,
We are trying to attach multiple(Two) files to the workflow notification. We are able to get the two attachments. But the problem is in the notification from front end both the attachments are opening the same file, where as the attachments in the outlook are showing different contents and the file name is same for both the attachments.
Please can anyone help us in this. This is very urgent requirment.
Thanks,
VarunHi Jubish/Venkat
1. I iterated this fucntion moudule to store the multiple attachments to the workflow
SAP_WAPI_ATTACHMENT_ADD
2. Call this FM to get the attachemnts form the workflow (pass workitem Item id which is used for storing the attchments). SAP_WAPI_GET_ATTACHMENTS
from above you will get objkey for each attachment as output in table.
3. Pass the objkey to this FM to get the contents
SO_DOCUMENT_READ_API1'. this will retrun the content of the attachment either in object_content, contents_hex.
4. Pass the Obtained content to SCMS_BINARY_TO_XSTRING to get the disired format.
Best Regards,
Chandran S -
Yahoo Mail not receiving attachments from Workflow Notifications
One of my clients uses Yahoo Mail and receives Workflow Notifications on their Yahoo Mail address. For some reason, file attachments are being removed within the Workflow Notification. I set up my own Yahoo Mail account and have the exact same issue.
Another issue is that the "view this item" link doesn't work at all within Yahoo Mail. However, the "mailto" link does work.
Has anybody else experienced issues with Yahoo Mail?Hi,
If the yahoo user has admin access to the site then the attachment should appear within the workflow email.
If still experiencing such issue I would recommend raising a case so we can investigate this ASAP. Please include the users in question and also the email attachment or screencast so we can attempt to replicate within your case.
Admin -> help&support (to submit a case)
Thanks,
-Sidney -
How to configure Workflow Notification Mailer for oracle alert in R12
Hi all....,
How to configure Workflow Notfication mailer for oracle Alert in R12. Please provide the complete steps.. Its urgent.. Plz help me..
Regards ,
MadhanDuplicate thread (please post only once)
plz help me...!!!! Workflow Notification Mailer
plz help me...!!!! Workflow Notification Mailer -
PO approval workflow notification
Hi Consultants
i am requested to add requisition action history to PO approval workflow notification.
i undestand that we may need to add document attribute to PO approval but how can create this one.
Please advice me.
Thanks,
AshokThanks for your reply Alejandro.
We already have custom/Statndard action history document type attribute.
Now i need to add the Requisition action history for PO notification.
Can you please advcie(steps if it is posible) to create a my own custom attribute document type to get the requistion action history based on the PO document id.
I was able to quey the Requistion information not getting somme difficulty to create a customer document typ attribute.
Please advcie me.
Thanks
Ashok -
Attach document as a link in oracle workflow notification
Hi,
I have a requirement to attach a word document stored as BLOB in database as a link in workflow notification.The link (document) should be visible and opened both from the workflow notification in the workflow admin notification queue and notification mail the approver receives.
I am getting the document from fnd_lobs and storing it in the item attribute of type Document.
Please help me how to attach the item attribute of type Document as a link in the notification.
This is urgent and any help is highly appreciated.
Thanks
DavidFor attaching a document you need to perform the following steps
1. The document type item attribute which is referred by message attribute must have the value in the form
PLSQLBLOB:SA_MLRTST.GETBLOBDOCUMENT/&DOC_ID
where SA_MLRTST.GETBLOBDOCUMENT is the PL/SQL procedure that generates a PL/SQL BLOB
DOC_ID is an attribute representing the file_id column in fnd_lobs table
2. The procedure GETBLOBDOCUMENT() must be of the form
CREATE OR REPLACE package body SA_MLRTST
as
procedure getBlobDocument(document_id in varchar2,
content_type in varchar2,
document in out nocopy blob,
document_type in out nocopy varchar2)
is
l_docid pls_integer;
l_filename varchar2(100);
l_errmsg varchar2(100) := 'The Document is not found in the Database';
l_bdoc blob;
l_data_type varchar2(100);
begin
l_docid := to_number(document_id);
dbms_lob.CreateTemporary(l_bdoc, FALSE, DBMS_LOB.Session);
select file_data
into l_bdoc
from fnd_lobs
where id = l_docid;
dbms_lob.Copy(document, l_bdoc, dbms_lob.getLength(l_bdoc));
exception
when others then
dbms_lob.WriteAppend(document, length(l_errmsg), l_errmsg);
wf_core.context('SA_MLRTST','getBLOBDoc',document_id);
raise;
end getBlobDocument;
end SA_MLRTST;
commit; -
Hi All ,
I have a requirement and it is very urgent ......
Requirement goes like this,,,,
from Workflow side i have a notification link ,,,,,,,
In oracle apps R12 home page ,,, i have that Workflow Notification link ,,,,
when i click this notification link it should navigate to Standard PO page and display all the data in the fields..........
From OAF side i have to pass two parameters and based on parameters ,,, it should display the details on the standard page ...............
Please do help me out ,,,,,, its very urgent ,,,,,,,,,,,,,,,,,,,
Thanks,
Kalyan.Hi Sridhar,,,,
In PR
//NotificationID is the parameter passed from Your workflow
// Logic to check if the page is navigated from notification and show the page in view mode,
// if the page is navgiated from notification
String notificationID = (String)pageContext.getParameter("NotificationID");
if(notificationID!=null)
OAPageButtonBarBean butbar = (OAPageButtonBarBean)webBean.findChildRecursive("pageBtnBar");
OALinkBean wflinkBean = (OALinkBean)butbar.findChildRecursive("backtoWorkFlow");
wflinkBean.setRendered(Boolean.TRUE);
status="INITIATED" ;
pageContext.putSessionValue("NotifId", notificationID);
As per the code ,,,,
My parameters are : RunId & RunName
In PR :
super.processRequest(pageContext,webbean);
OAApplicationModule oaapplicationmodule = pageContext.getRootApplicationModule();
OAViewObject vo = (OAViewObject)oaapplicationmodule.findViewObject("DisplaydetailsVO");
String runid = (String)vo.getCurrentRow().getAttribute("Runid").toString();
String runname = (String)vo.getCurrentRow().getAttribute("RunName").toString();
if(vo!=null)
OAPageButtonBarBean butbar = (OAPageButtonBarBean)webBean.findChildRecursive("pageBtnBar");
OALinkBean wflinkBean = (OALinkBean)butbar.findChildRecursive("backtoWorkFlow");
vo.executeQuery();
vo.setWhereClauseParams(runid);
vo.setWhereClauseParams(runname);
Does this code works as per my requirement ,,,,,,,,,,,,
My Requirement is ,,, when i click on link it should go to standard page and display the page details.......... -
How to hide REASSIGN Button for PO Requisition Approval Notification only
Hello,
I have a requirement in which I have to HIDE the REASSIGN button from the PO Requisition Approval Notification page. I realized that this page(NotifDetailsPG.xml) is being used by Sourcing Module too for sending the Approval Notifications. So I cannot directly set the Rendered Property to False for this as this would hide the REASSIGN button in Sourcing Approval Notification too.
So, how do I hide the REASSIGN button from the Notification page only if the Page is being used as PO Requisition Approval Notification? Can I use SPEL command in this case? Can somebody help me with this issue?
Thanks
Sunny
Edited by: user13369509 on May 16, 2011 7:39 AMHi Srini,
Thanks for the Immediate Response, I reviwed the Maetalink Note which you suggested, it was stated as:
Starting from ATG_PG.H.Rollup 4, an enhancement has been made to the Notification Details screen.
When the user viewing the notification has been granted the Workflow Administrator privilege (through the WF_ADMIN_ROLE preference), then the Reassign button will always be visible, even when the message attribute #HIDE_REASSIGN is set to Y.
This allows Administrators to reassign any notification when necessary in exception cases.
But in my case, the user do not have the Workflow Administrator privilege. He was not assigned with any workflow Admin Resps. Is there anything I am missing to check the WF_ADMIN_ROLE preference for a particular user?
Regards,
Sridhar -
How to Implement the Search page for Workflow Notifications?
Hi All,
I want to implement the new Search page for Workflow Notifications. Search page containing Company, Paygroup, Source, Initiator, Supplier Name, From date & To date fields. These fields(Poplist & Calendar) are getting the values from different tables and these fields are not in WF_NOTIFICATIONS table only Initiator & dates are there. After selecting the values in all fields or one field based upon these values I want to display the all Workflow Notifications ( Those are satisfy the search criteria only not all ) in Advance Worklist Table RN in the Notifications page. Is it possible to create the Search page based upon the above scenario if Yes Let me know how to implement this search page for Workflow. Page was designed but how to get the sortlisted Notifications and how to pass these values to next page?
Thanks in advance.
Edited by: user635152 on Nov 13, 2008 10:53 AMHi Guru,
I crete the Search page having 5 poplists and select the values from dropdown list and click GO button it serch the records and displays that records in ResultsTable in same page.
My case, Search page is running fine if I select the values and click GO button page is refreshed without errors but I am unable to displays the records in ResultsTable.
What I am missing?
My Select Stmt:
SELECT * FROM
(select wn.nid notification_id
,ou.name company
,I.PAY_GROUP_LOOKUP_CODE paygroup
,'AP' source
,pf.full_name initiator
,pv.vendor_name supplier_name
,I.GL_DATE FROM_TO_DATE
from ap_invoices_all i
, po_vendors pv
, hr_operating_units ou
, per_all_people_f pf
, FND_USER FU
, (SELECT trim(substr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),
1,instr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),' for'))) inv_no
,notification_id nid
FROM WF_NOTIFICATIONS WN
WHERE WN.MESSAGE_TYPE = 'APINV'
AND WN.STATUS NOT IN ('CANCELED','CLOSED')) wn
where i.vendor_id = pv.vendor_id
and i.invoice_num = wn.inv_no
and i.WFAPPROVAL_STATUS = 'REQUIRED'
and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
and i.org_id = OU.organization_id
AND OU.name like nvl(:company_name,name)
and i.pay_group_lookup_code = nvl(:pay_group,i.pay_group_lookup_code)
and exists (select ad.invoice_id
from ap_invoice_distributions_all ad
where ad.invoice_id = i.invoice_id
and ad.accounting_date between nvl(:from_date,ad.accounting_date)
and nvl(:to_date,ad.accounting_date))
and 'AP' = nvl(:source,'AP')
and i.created_by = fu.user_id
AND fu.EMPLOYEE_ID = pf.person_id
AND pf.full_name like nvl(:initiator, pf.full_name)
UNION ALL
select po_num.nid notification_id
,ou.name company
,ps.PAY_GROUP_LOOKUP_CODE paygroup
,'PO' source
,pf.full_name initiator
,pv.vendor_name supplier_name
,P.CREATION_DATE FROM_TO_DATE
from po_headers_all p
,po_vendors pv
,po_vendor_sites_all ps
,hr_operating_units ou
,per_all_people_f pf
,(select trim(substr(wn.subject,24,instr(wn.subject,' for')-24)) po_no, notification_id nid
FROM WF_NOTIFICATIONS WN
WHERE WN.MESSAGE_TYPE = 'POAPPRV'
AND WN.STATUS NOT IN ('CANCELED','CLOSED')
and wn.subject like 'Standard Purchase Order%') po_num
where p.SEGMENT1 = po_num.po_no
and p.vendor_id = pv.vendor_id
and p.org_id in(select organization_id
from hr_operating_units
where name like nvl(:company_name,name))
and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
and p.AUTHORIZATION_STATUS = 'IN PROCESS'
and p.CANCEL_FLAG = 'N'
and 'PO' = nvl(:source,'PO')
and p.agent_id = pf.person_id
and pf.full_name like nvl(:initiator, pf.full_name)
and pv.vendor_id = ps.vendor_id
and ps.org_id = ou.organization_id
and ou.name like nvl(:company_name,name)
and ps.PAY_GROUP_LOOKUP_CODE = nvl(:pay_group,ps.PAY_GROUP_LOOKUP_CODE)
and trunc(p.creation_date) between nvl(:from_date,trunc(p.creation_date)) and nvl(:to_date,trunc(p.creation_date))
In CO PFR Code:
if (pageContext.getParameter("Go") != null)
OAQueryUtils.checkSelectiveSearchCriteria(pageContext, webBean);
String COMPANY = pageContext.getParameter("COMPANY");
String PAYGROUP = pageContext.getParameter("PAYGROUP");
String SOURCE = pageContext.getParameter("SOURCE");
String INITIATOR = pageContext.getParameter("INITIATOR");
String SUPPLIER_NAME = pageContext.getParameter("SUPPLIER_NAME");
Boolean executeQuery = BooleanUtils.getBoolean(false);
Serializable[] parameters = { COMPANY, PAYGROUP, SOURCE, INITIATOR, SUPPLIER_NAME, executeQuery};
Class[] paramTypes = { String.class, String.class, String.class, String.class, String.class, Boolean.class };
am.invokeMethod("initSearch", parameters, paramTypes);
OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("ResultsTable");
table.queryData(pageContext, false);
AM invoke Method():
public void initSearch(String company,
String paygroup,
String source,
String initiator,
String supplier_name,
Boolean executeQuery)
WorklistFindVOImpl vo = getWorklistFindVO1();
if (vo == null)
MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "WorklistFindVO1") };
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
vo.initQuery(company, paygroup, source, initiator, supplier_name, executeQuery);
VO Code:
public void initQuery(String company,
String paygroup,
String source,
String initiator,
String supplier_name,
Boolean executeQuery)
StringBuffer whereClause = new StringBuffer(500);
Vector parameters = new Vector(5);
int clauseCount = 0;
int bindCount = 0;
setWhereClauseParams(null); // Always reset
if ((company != null))
String companyname = null;
try
companyname = new String(company);
catch(Exception e) {}
whereClause.append("COMPANY= :COMPANY");
whereClause.append(++bindCount);
parameters.addElement(company);
clauseCount++;
if ((paygroup != null) && (!("".equals(paygroup))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("PAYGROUP = :PAYGROUP");
whereClause.append(++bindCount);
parameters.addElement(paygroup);
clauseCount++;
if ((source != null) && (!("".equals(source))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("SOURCE = :SOURCE");
whereClause.append(++bindCount);
parameters.addElement(source);
clauseCount++;
if ((initiator != null) && (!("".equals(initiator))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("INITIATOR = :INITIATOR");
whereClause.append(++bindCount);
parameters.addElement(initiator);
clauseCount++;
if ((supplier_name != null) && (!("".equals(supplier_name))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append("SUPPLIER_NAME = :SUPPLIER_NAME");
whereClause.append(++bindCount);
parameters.addElement(supplier_name);
clauseCount++;
setWhereClause(whereClause.toString());
if (bindCount > 0)
Object[] params = new Object[bindCount];
parameters.copyInto(params);
setWhereClauseParams(params);
if ((executeQuery != null) && (executeQuery.booleanValue()))
executeQuery();
} // end initQuery()
Please let me know what I did mistake in my code?
I am unable to find it what I missing and there is no errors but no records displayed in Results Table.
Please it's urgent.
Thanks
Nag.
Edited by: user635152 on Nov 19, 2008 4:43 PM -
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 do I remove an email address from a workflow notification?
Hi, I was wondering if you could help me please. Can you tell me how to remove an old email address from a workflow notification? The person's name and email address have already been removed from the list of Users in the Admin area, but some workflow notifications are still being sent to their email. Any ideas?
Many thanks for your help.Thanks Liam, I'd previously looked at the also notify field and it didn't show any other email addresses. This time I clicked on the second of my two options in the Workflow Steps field, and then clicked back on the first one again, and hey presto, two email addresses appeared! The offending email address has now been removed.
Thanks again for your help. Cheers! -
No data found for region error on Workflow notification page
Hi !
For workflow, I have created a Non Form Function in Oracle Applications and linked the region to display in the notification. This region's type is StackLayout.
I created an attribute of type Document and assigned it the value in the form
JSP:/OA_HTML/OA.jsp?OAFunc=WF_FUNC
then I added this attribute in the notification message attribute with the Source as Send and Frame Traget as Full Window. Now when the workflow starts, the region does not populate and error shows that there is no data found for this region.
Am I doing something wrong? Any ideas?
Thanks.Hi,
We have a unique problem.....for timecard approval notification the HXC_TIMECARD form function is calling embedded Timecard region in the workflow notification.....in the HTML call the AprvNtfRN is called as shown below.
OA.jsp?page=/oracle/apps/hxc/selfservice/approval/webui/AprvNtfRN&akRegionApplicationId=809
Now the issue is that the email displays uneven format i..e timecard details like project and task name are vertical instead of horizontal.
Is there a way to code HTML in AprvNtfRN so that the format is obtained as desired? -
How to change the text mail of Workflow Notification?
Hi all,
I would like to change the text mail of workflow notification. I took a look at the Help Sap and saw how to customize the text mail notification. Unfortunately, I could not found the text for workflow Notification at notificationTexts_<language>.properties.
Is possible to change the text mail of Workflow Notification?
Thanks in advanced,
Alcides FlachHi Alcides,
Please refer to the following link.
https://www.sdn.sap.com/irj/sdn/thread?threadID=40700
Rajiv
Maybe you are looking for
-
Tag Libraries Unable to load in SOWS 6.1
Hi all, I've been hitting into a problem lately with the SOWS 6.1, funnily, my JSP page can't seem to find the tag attributes I'm using. Eg: <display:table...> //displaytag <c:if...> //JSTL core The Error I'm getting is as below: org.apache.jasper.Ja
-
JNDI bindings not being replicated across servers in a cluster
According to the Weblogic Server documentation, JNDI bindings are automatically replicated across the servers in a cluster. http://www.weblogic.com/docs45/classdocs/weblogic.jndi.WLContext.html#REPLIC ATE_BINDINGS
-
Compiling utf-8 source java files
Hi there, Is it possible to compile java applications with the source files encoded in utf-8 format?
-
Apple Time Capsule Serial Number Issue
Can anyone from Apple explain why when you add in a Time Capsule serial number it is recognised on some areas of the site and not on others?
-
My nano was working perfectly yesterday. Today I plugged it into my Mac as I do every morning, and it wouldn't work--screen was stuck on "Do not disconnect" with the backlighting on. The nano would not show up either on the desktop or in iTunes. So I