How to use PLSQL CLOB IN WORKFLOW
Dear all,
I have follwoing query with workflow.
I have developed FYI WF.
1) In my WF mail, I am getting click here to respond.
I want to hide this.
Pl. let me know how to do that?
2) I have developed a workflow with Document type.
I am calling a PL/SQL CLOB procedure to pass my values( 4 columns from a table)
I need to pass approximately 70 to 100 rows to clob.
when I pass 14 rows, I am not getting any error.
where as if I pass morethen 15 rows, I am getting follwoing error
"ORA-06502: PL/SQL: numeric or value error ORA-06512: at "APPS.WF_NOTIFICATION", line 5046 ORA-06512: at line 5 "
Pl. let me know, do I need to setup any thing in workflow from my side
Hi,
I'm not sure whether it is because of the length of variable.
However, did you use concatenation (||) to store the value in the varchar variable before putting it into the CLOB variable?
If so, perhaps you forget to reset the varchar variable inside the loop, thus making it longer and longer each loop.
You should empty the varchar variable by
loop
l_string := '';
-- your code, perhaps concat the variable
l_string := l_string || 'blah blah';
end loop;For the FYI Notification, perhaps you should check the Notfication in the Workflow Builder, whether it has an Attribute with Respond type on the Notification.
If you didn't put anything (only the message body) in the Notification, the message will suppose to be a FYI one.
Regards,
Buntoro
Similar Messages
-
How to use secondary method in workflow?
Hi friends,
can anyone plz let me know how to use secondary methods in workflow? it would be helpful if u explain with an example..
thanks and regards,
Arun.SHi Arun Kumar,
The Sec Method can be used in the user decision step. The secondary methods are executed along with the user decision step. You have 3 options. Either execute a secondary method before executing the user decision step or after execution of user decision step or while executing the user decision.
For this define the methods either in Methods before execution of workitem execution to execute it before user decision step or Methods after execution of workitem so as to execute it after the execution of user decision.
In order to execute a method along with user decision step execution use secondary methods (amodal call.)
Let me know if you have any queries.
Regards,
Raj -
Errors while using plsql clob document in notification email
bq. hello
I am having a problem sending a plsql clob document in a notification email.Basically the procedure retrives some rows of data from the database and formats it as HTML before converting to clob. The email is generated fine when only a couple of rows are generated. however when the rows increase the workflow errors. we are using oracle ERP
---------------------------------Error Message-----
An Error occurred in the following Event Subscription: Event Subscription
Event Error Name: WFE_DISPATCH_GEN_ERR
Event Error Message: 3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML. Caused by: 2020: Error when getting notification content. Caused by: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Wf_Notification.NTF_Table(8, H)
BATCH_INFO.Batch Information(209112, text/html)
Wf_Notification.GetAttrClob(263883, BATCH_INFO, text/html)
Wf_Notification.oldGetAttrClob(263883, BATCH_INFO, text/html)
WF_NOTIFICATION.GetFullBody(nid => 263883, disptype => text/html)
WF_MAIL.GetLOBMessage3(nid => 263883, ' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'.
Event Error Stack:
WF_MAIL.GetLOBMessage3(263883, WFMAIL, 2020: Error when getting notification content. Caused by: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Wf_Notification.NTF_Table(8, H)
BATCH_INFO.Batch Information(209112, text/html)
Wf_Notification.GetAttrClob(263883, BATCH_INFO, text/html)
Wf_Notification.oldGetAttrClob(263883, BATCH_INFO, text/html)
WF_NOTIFICATION.GetFullBody(nid => 263883, disptype => text/html)
WF_MAIL.GetLOBMessage3(nid => 263883, r_ntf_pref => MAILHTML), Step -> Getting text/html body)
WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 263883)
WF_XML.Generate(oracle.apps.wf.notification.send, 263883)
WF_XML.Generate(oracle.apps.wf.notification.send, 263883)
Wf_Event.setMessage(oracle.apps.wf.notification.send, 263883, WF_XML.Generate)
Wf_Event.dispatch_internal()
The Procedure is
bq. /********************************************************************************* \\ Procedure: BATCH_INFO \\ Purpose: Program displays batch level information. \\ *********************************************************************************/ \\ PROCEDURE batch_info ( \\ document_id IN VARCHAR2, \\ display_type IN VARCHAR2, \\ document IN OUT NOCOPY CLOB, \\ document_type IN OUT NOCOPY VARCHAR2 \\ ) \\ IS \\ table_width VARCHAR2 (8) := '100%'; \\ i PLS_INTEGER; \\ j PLS_INTEGER; \\ l_cells wf_notification.tdtype; \\ l_result VARCHAR2 (32767); \\ l_je_batch_name VARCHAR2 (100); \\ l_period_name VARCHAR2 (15); \\ l_control_total NUMBER; \\ l_running_total_dr NUMBER; \\ l_running_total_cr NUMBER; \\ l_document long; \\ cdoc clob; \\ amount NUMBER; \\ charbuff VARCHAR2(32767); \\ charbuff_size NUMBER; \\ CURSOR c_get_je (batch_id IN NUMBER) \\ IS \\ SELECT (SELECT description \\ FROM gl_lookups \\ WHERE lookup_type = 'BATCH_STATUS' \\ AND lookup_code = batch_status) batch_status, \\ je_source, \\ (SELECT user_je_category_name \\ FROM gl_je_categories \\ WHERE je_category_name = je_category) je_category, \\ period_name, batch_name, header_name, \\ header_running_total_dr_num debit, \\ header_running_total_cr_num credit \\ FROM apps.gl_je_batches_headers_v \\ WHERE je_batch_id = batch_id; \\ BEGIN \\ IF display_type = wf_notification.doc_text \\ THEN \\ document := NULL; \\ ELSE \\ /* ===========Second table Start=============*/ \\ j := 0; \\ i := 0; \\ j := 1; \\ /* Header*/ \\ l_cells (j) := 'S:' || 'Batch Status'; \\ j := j + 1; \\ l_cells (j) := 'S:' || 'Journal Source'; \\ j := j + 1; \\ l_cells (j) := 'S:' || 'Journal Category'; \\ j := j + 1; \\ l_cells (j) := 'S:' || 'Period'; \\ j := j + 1; \\ l_cells (j) := 'S:' || 'Batch Name'; \\ j := j + 1; \\ l_cells (j) := 'S:' || 'Journal Name'; \\ j := j + 1; \\ l_cells (j) := 'S:' || 'Journal Debit'; \\ j := j + 1; \\ l_cells (j) := 'S:' || 'Journal Credit'; \\ j := j + 1; \\ i := 0; \\ /* Body*/ \\ SELECT NAME, default_period_name, control_total, \\ running_total_dr, running_total_cr \\ INTO l_je_batch_name, l_period_name, l_control_total, \\ l_running_total_dr, l_running_total_cr \\ FROM gl.gl_je_batches \\ WHERE je_batch_id = TO_NUMBER (document_id); \\ FOR histr IN c_get_je (TO_NUMBER (document_id)) \\ LOOP \\ l_cells (j) := 'S:' || histr.batch_status; \\ j := j + 1; \\ l_cells (j) := 'S:' || histr.je_source; \\ j := j + 1; \\ l_cells (j) := 'S:' || histr.je_category; \\ j := j + 1; \\ l_cells (j) := 'S:' || histr.period_name; \\ j := j + 1; \\ l_cells (j) := 'S:' || histr.batch_name; \\ j := j + 1; \\ l_cells (j) := 'S:' || histr.header_name; \\ j := j + 1; \\ l_cells (j) := \\ 'S:' \\ || NVL (TO_CHAR (histr.debit, \\ 'L999G999G999G999G999G999G999D99'), \\ '&' || 'nbsp;' \\ ); \\ j := j + 1; \\ l_cells (j) := \\ 'S:' \\ || NVL (TO_CHAR (histr.credit, \\ 'L999G999G999G999G999G999G999D99' \\ ), \\ '&' || 'nbsp;' \\ ); \\ j := j + 1; \\ i := i + 1; \\ END LOOP; \\ table_width := '100%'; \\ wf_notification.ntf_table (l_cells, 8, 'HL', l_result); \\ /* Write data to clob */ \\ -- create temp clob \\ dbms_lob.createTemporary(cdoc,false,dbms_lob.call); \\ charbuff_size:=length(l_result); \\ write html data to temp clob \\ dbms_lob.writeappend(cdoc,charbuff_size,l_result); \\ write temp clob to document \\ amount:=dbms_lob.getlength(cdoc); \\ dbms_lob.copy(document,cdoc,amount,1,1); \\ END IF; \\ document_type := 'text/html'; \\ EXCEPTION \\ WHEN OTHERS \\ THEN \\ wf_core.CONTEXT ('BATCH_INFO', 'Batch Information', document_id,display_type); \\ RAISE; \\ END batch_info;
Can somebody please guide me
thank youThe stack trace below the "ORA-06502: PL/SQL: numeric or value error: character string buffer too small" error suggests that this is being generated by the Wf_Notification.NTF_Table call. Given the way you have described the problem, I would assume that the HTML generated by that call for the data in l_cells is exceeding the length of your l_result variable (32767).
Have you checked the length of the data generated by this call for a single record and then divided 32767 by that number to work out the maximum number of rows you can support with this call?
If it is simply that you have too much data for WF_Notification.NTF_Table to produce the table within the 32767 limit, you try generating the HTML in smaller chunks and adding them to the CLOB bit by bit. For example, if 10 records work, then generate the HTML for 10 records, chop off the </table> from the result and add it to the clob. Then do the next 10 records (without the header this time) and chop off the <table> and </table> tags and add that to the clob. When you are done, add the closing </table> tag to the clob and return it.
I haven't done this with returning a clob, but I have done this with shorter strings to generate a HTML table with the standard look and feel but with headers in different places than could be done by default.
theFurryOne -
How to use two tasks in Workflow
Hi Everybody !
Can Any one tell me, How to use two tasks in one activity step type of Workflow CRM?
My requirement is... I have to execute two tasks in single activity step in Workflow. Is it possible.if it is possible tell me the flow Please.
Thanks in advance.
Raghava Vakada.You can define one as a "Before" or "After" method if that is usable for you. (defined in tab Methods for Activity steps)
Otherwise there is also the step flag "Advance with dialog" (tab Details on Activity steps, but the tab it is found on depends on your version) which allows one user to seamlessly execute two consecutive tasks.
So depending on your real need there may be several options available. If all that is needed is that the same user can execute the two tasks then Advance with Dialog is perhaps the best choice. If the user then cancels execution of the second activity the work item is available for execution. If you define an After method and the user cancels execution the work item has still been completed since its (main) method has been completed. -
How to use break point in workflow to check
hi there,
how to use break point to check the values in debug mode.
if i keep one break point in method..can the conttrol will be stop there?
when work flow triggered??hi nag,
thanks for ur fast responce.
this FM will check very begining of the work flow..then it goes to aprover..then status will be updated to active.(for first time mm01 will not allow them to create mat in active status..as i configured user exit..after approving only these mat get active status). but in the case of extending materials they can create the views in active mode itself. after they r saving the material getting inactiv status in db tables...
if u want i can provide the code where mat status is updating to active for new materials.
My Q: i want to exit wf from where fm finds that the material is extending
code is:(checking for both sales and pur views--i guess!)
SELECT * INTO TABLE t_marc
FROM marc
WHERE matnr EQ objkey.
DESCRIBE TABLE t_marc LINES records.
IF records GT 1. "CHECK FOR MATERIAL EXTENSION
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 010 RAISING
check_failed.
ELSE.
LOOP AT t_marc.
IF t_marc-mmsta EQ 'G5'. "CHECK PURCHASING BLOCK
SELECT * FROM moff INTO TABLE t_moff
WHERE matnr EQ objkey AND
( werks EQ plant OR
bwkey EQ plant ).
DESCRIBE TABLE t_moff LINES records.
IF records GT 0.
SELECT SINGLE * FROM zam_mat_wf_conf
WHERE mtart EQ t_mara-mtart.
IF sy-subrc EQ 0.
LOOP AT t_moff.
FIND t_moff-statm IN zam_mat_wf_conf-pstat.
IF sy-subrc EQ 0.
DELETE t_moff.
ENDIF.
ENDLOOP.
DESCRIBE TABLE t_moff LINES records.
IF records GT 0.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 009 RAISING
check_failed.
ENDIF.
ENDIF.
ENDIF.
ELSE.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 013 RAISING
check_failed.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ELSEIF mstatus EQ 'V'. "FOR SALES VIEW
SELECT SINGLE * FROM tvko
WHERE vkorg EQ salesorg AND bukrs IN r_bukrs .
IF sy-subrc NE 0. "CHECK SALES ORG CONFIGURED FOR WORKFLOW
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 005 RAISING
check_failed.
ELSE.
SELECT * INTO TABLE t_mvke
FROM mvke
WHERE matnr EQ objkey.
DESCRIBE TABLE t_mvke LINES records.
IF records GT 1.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 012 RAISING
check_failed.
ELSE.
LOOP AT t_mvke.
IF t_mvke-vmsta EQ '10'.
ELSE.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 014 RAISING
check_failed.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ELSE. "NO SALES or PURCHASE RELATED VIEW'S CREATED
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 003 RAISING
check_failed.
ENDIF. -
How to use the rule in workflow
Hi ,Guy ,
I am implementing the workflow project nowaday ,and when I use the rule to determine the step's agent , I often come across all kinds of strange problem and I do not know how to slove it goodly ,for example I do not know how to get the agent from orgainization unit etc .
can anybody give me some advices or some relevant docments(I have read the SAP standard material BIT601/BIT603/BIT610) .thank a lot .
Jialiang.QiuYes , you can define your own rule. You need to populate the table of type SWHACTOR with whatever agents you want to maintain . See the below code :
function z_cvwf_dwnam_approver_get.
""Local Interface:
*" IMPORTING
*" VALUE(ACT_PLVAR) LIKE P1208-PLVAR DEFAULT SPACE
*" VALUE(ACT_ISTAT) LIKE P1208-ISTAT DEFAULT '1'
*" VALUE(ACT_BEGDA) LIKE P1208-BEGDA DEFAULT SY-DATUM
*" VALUE(ACT_ENDDA) LIKE P1208-ENDDA DEFAULT SY-DATUM
*" TABLES
*" AC_CONTAINER STRUCTURE SWCONT
*" ACTOR_TAB STRUCTURE SWHACTOR
*" EXCEPTIONS
*" NO_ACTIVE_PLVAR
*" OBJTYP_NOT_VALID
*" NO_ACTOR_FOUND
data: l_user like draw-dwnam, "User
l_dokar like draw-dokar, "Document type
l_doknr like draw-doknr, "Document number
l_dokvr like draw-dokvr, "Document version
l_doktl like draw-doktl. "Document part
data: xausp like ausp.
*Data for AUSPC_V1 selection
data: xatinn(12) value 'APPROVER',
xklart like ausp-klart value '017',
xobjek like ausp-objek.
include <cntain>.
swc_get_element ac_container 'DOCUMENT' l_doknr.
swc_get_element ac_container 'DOCUMENTPART' l_doktl.
swc_get_element ac_container 'DOCUMENTTYPE' l_dokar.
swc_get_element ac_container 'DOCUMENTVERSION' l_dokvr.
Create objek from DRAW key fields
write: l_dokar to xobjek,
l_doknr to xobjek+3(25),
l_dokvr to xobjek+28(2),
l_doktl to xobjek+30(3).
Get Approver number
call function 'CONVERSION_EXIT_ATINN_INPUT'
exporting
input = xatinn
importing
output = xatinn.
From table AUSP
clear sy-subrc.
select single * from ausp
into xausp
where objek = xobjek
and atinn = xatinn
and klart = xklart.
Assign ATWRT to USER RESPONSIBLE FOR APPROVAL
if sy-subrc > 0.
raise no_actor_found.
endif.
actor_tab-otype = 'US'.
actor_tab-objid = xausp-atwrt.
append actor_tab.
endfunction. -
How to use BDC recording in Workflow.
Hi experts,
Anyone kindly help me for the following case...
If sales order gets created, mail has to be sent to every user. Also for that sales order, delivery should be created in background and again mail has to be sent to all users...
I m clear with sending mail. but i m struggled while creating delivery in background. i dont know how to do this. I hav an idea that it can be created using BDC recording and this recording program can be called in our method which is created in our business object.
How to create a single BDC recording to create sales order as well as creating delivery in background... Is it possible to do like this. Or is there any function module to create delivery in background with respect to sales order number?
kindly give some suggestion and step by step procedure to do this...
Thanks in advance...
Regards
Raaams...Hi Ram
Check this BAPI once BAPI_OUTB_DELIVERY_CREATE_SLS.
If this doesnt help do BDC recording and create a FM with the help of BDC recording. Please note that Call Transaction should happen in background otherwise your BDC wont work.
Please revert back if you have any queries.
Regards,
Gautham Paspala -
ESS: Leave Request - How to use a custom Leave Workflow?
Hi Experts,
I am implementing ESS 1.0 for mySAP ERP05. I have a custom workflow for Leave Request which I want to use for the ESS Leave Request. Can someone tell me what are the configuration steps required for this?
I have already performed the following activity:
SPRO --> Personnel Information --> ESS --> Service Specific Settings --> Working Time --> Leave Request --> Specify Processing Processes for Types of Leave
Here I have defined the WF ID of New Request as the custom Workflow ID.
Now when I trigger the Leave Request from EP-ESS, the message comes that the request was sent successfully.
But in the backend no workflow gets triggered. I even tried to write an implementation for the BADI PT_ABS_REQ to trigger the custom workflow event, but still no activity in the ECC workflow upon submitting thwe portal request.
Can some one please advise.
Thanks,
ShobhitOhh.. So the standard WF also doesnt get triggered??
Are you sure u have done SWU3 config??
If u have, Try using SWU_OBUF to refersh the workflow buffer.
Try swi1 to check what is happening with ur WF.
Try login to requesters login ... SBWP ... check the outbox. Is there a WF with Error here.
Cheers!!
Ashutosh -
I’m Using PLSQL Clob Document for printing data in HTML table format in the Notification Body,even PL/SQL Clob variable is capable of storing data up to 4gb ,when I’m trying to print the data greater than 32767bytes (32kb) it is throwing error “Numeric or value Error” .Please help me out to print data >32kb in the notification using document type attribute in oracle workflow.Appreciated for the Solution.
Thanks,
Kishore.Please see if these docs help.
How to Write CLOB Data > 32K Out to a File? (Doc ID 358641.1)
How To Write Out Multiple Clob Fields > 32k To A File in 4K chunks? (Doc ID 358781.1)
Thanks,
Hussein -
How to use CLOB in OBIEE 11g (11115) Reporting
Hello All,
I have a CLOB object. I need to use that in the report.
It just has text only. I defied it in RPD as LONGVARCHAR or OBJECT but it did not work out.
I tried using evaluate with TO_CLOB but i am getting below error any time
inconsistent datatypes: expected - got CLOB at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed.
Please give me a clue how to use a CLOB column in report.
I see a rittmen blog which is using as LOOKUP but i dont have that option either.
Please let me know what wrong i am doing.
Thanks in Advance.
KNDBMS_LOB.substr(<table.columnname>,<length of characters>,<start position>)
Check this
http://shivabizint.wordpress.com/2010/04/20/varchar2-greater-than-4000-in-obiee/
Mark if helps.
Thanks, -
Can someone tell me how to work with XML and workflow?
Ive insert a XML file in a CLOB data type column of a table. Now I want to
use some tags of this clob in a process of ora workflow. I know that there is a standard function get tag, but how can I say where the tag must get his information?
Oracle should foreseen a document with step-by-step instructions, how to use XML in Oracle workflow. There is nothing to find on OTN or Metalink or even the internet to do this.
Thanks for your timeIf you are using the standard XML Get Tag Value activity, you can specify the tag set in XPath notation. For details about this notation, see the W3C Recommendation "XML Path Language (XPath)". Note that this standard activity looks for the CLOB within an event message structure. See:
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a95265/std21.htm#xmlgettval
Ive insert a XML file in a CLOB data type column of a table. Now I want to
use some tags of this clob in a process of ora workflow. I know that there is a standard function get tag, but how can I say where the tag must get his information?
Oracle should foreseen a document with step-by-step instructions, how to use XML in Oracle workflow. There is nothing to find on OTN or Metalink or even the internet to do this.
Thanks for your time -
Hi friends
I have configured ALERT in ALRCATDEF t-code. and i have wirtten the discription of the alert there. Now i am using deadline in my workflow in the mail step i want to use this alert so that this alert will come in alert tab in portal. In ALRCATDEF t-code there is fixed recipitants but i want to get the recipitants dynamically which i have written the logic in my workflow but how to use this in workflow. Can any one guide me.
Regards
vijayHi,
We had a similar requirement to send a notification from the alert.
We created the alert and called the conccurent program which will trigger the workflow.
Below are the stepsfor the same:
Create the event/periodic alert and give the action type as "Concurrent Program".and give the concurrent program detials as below
Application :Human Resources
Program Name :XX(Eg:Alert Workflow Initiation CP) (this is a plsql stored procedure type with six parameters for this program )
Arguments:YYY(eg:"N" &person_id "&name" "&job" "&org" "&username")
Below is the sample code to call the workflow from plsql stored procedure
begin
l_item_key := to_char(SYSDATE,'YYMMDDHH24MISS');
wf_engine.CreateProcess
(itemtype => 'IRC_WF',
itemkey => l_item_key,
process => 'PER_APPLICATION_PRC'
l_mail_content := chr(10)||chr(10)||'Dear '||p_name||':'||chr(10)||chr(10)||
'We appreciate your interest in the '||l_job||' position. A member of the Human Resources team will review your information and contact you if your skills and experience is a match for our needs at this time.'||chr(10)||chr(10)||
'Once again, thank you for your interest in employment at XXX.'||chr(10)||chr(10)||
'Sincerely,'||chr(10)||
'XXX';
wf_engine.SetItemAttrText(itemtype => 'IRC_WF',
itemkey => l_item_key,
aname => 'WWPER_MESG_HTML',
avalue => l_mail_content);
wf_engine.StartProcess
(itemtype => 'IRC_WF',
itemkey => l_item_key);
COMMIT;
end;
Get back to me if you need further details
Thanks,
Anuradha
Edited by: user10411683 on Dec 2, 2008 11:12 PM -
I am working on a Project Server 2013 workflow. I am creating this using Sharepoint Designer 2013. In this workflow I am using approval process at one stage. I have created a security group SalesManagers in PWA. I want to use this group for workflow approval
process. I want all users of this group get approval tasks.
For this I used START A TASK PROCESS activity in the SP Designer. I clicked on
this user and created task process. But here I could not find SalesManager group which I created in PWA. I was only able to find the users. I can also see
Administrators for PWA . But couldnot find SalesManager or any other security group created in pwa.
Can anyone suggest how I can get the security group created in pwa.NBDevelopment,
I believe SPD only recognizes the SharePoint Groups and not the project server security groups.
The Administrators for PWA, and few other groups like Project Managers for PWA etc., are synced SharePoint Groups with the security groups, which is why they show up in SPD.
You could create a SharePoint Group for the Sales Managers group and use that in SPD.
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
-
How to get the customize url of an portlet using PLSQL
How to get the customize url of an portlet using PLSQL.
Are you trying to call the portlet Customization form directly from the browser?
-
How to use an infopath form field in the designer workflow
Hi,
I need to send an email to a person field from Infopath form. Can i access it in the workflow. If not, is there a way i can send an email on form submission from within the infopath form.
Please help. Thank you.Hi Prajk,
There are three ways of achieving it, one i will say its pretty straightforward and covers the basic of Infopath Forms Development
1)Populate Fields From Infopath Form at the time of Publishing.
The moment you done with your form and to publish you click FIle>Publish>SharePoint Server >Enter the Url of Site> Then Click Next twice upto a point where wizard asks "The fields listed below will be available as SharePoint Columns" ,
Click Add, select the placeholder in myfields for Person Field , expand the "person" group field and choose "AccountId", give the name to column(this will be SharePoint List Column Name) and for function select "first" and then
click next and Finish.
And use this field in Designer Workflow to send email.
2)Second way is to write VSTA based C# code on click of your Submit action on the form and upload and activate this form on form library via Central Admin.
3)Now other way of doing this is via Event Recievers.
Every infopath Form is an XmL File so on ItemAdded event you can extract its content and implement email sending c# code there:-
http://www.bizsupportonline.net/infopath2007/how-to-use-sharepoint-event-handler-object-model-submit-data-infopath-form-sharepoint-list.htm
Mark as Answer if helped!! To be or Not to Be..The question is this only......
Maybe you are looking for
-
Error file adapter with variable substitution in PI 7.31
Hello, I'm trying to create a file with a dynamic name, based on the payload of the message. We're trying to create a filename with the bold content in the name %batchId%.xml. The subtitution we use is payload:batch,1,batch-info,1,id,1 <ns1:batch xml
-
Cfspeadsheet not picking up data from cells using excel function indirect
I am receiving data from comany executive in a sreadsheet and trying to post selected data to a company intranet by reading the data using cfspreadsheet. for the most part, cfspeadsheet works, however, this speadsheet is rather complicated. The spr
-
How to install Encore Premiere Pro CSS
how to install Encore Premiere Pro CSS
-
Había comparado italk. tenía grabaciones pero se me olvido transferirlas a la biblioteca antes de sincronizar con el ordenador. Hay alguna forma de recuperarla? Están totalmente periddas?
-
NASA still says referred. Still waiting. In the meantime I opened up a NAVY savings account and applied for the platium MC, it was approved for $25k