Hi Jeff,Appreciate your response.I need to set one of the field in the datacapture form to the value selected in the workflow. So, how do i pass this to the form?
http://nt16/iw-cc/command/iw.ccstd.create_form?done_page=/iw-cc/command/iw.base.portal%5fshow%5fportalpage?portal%5fpage%5fid=iw.ccstd.home.portal-page&full_redirect=true&iw_tdt=Service_DCTs/Training&vpath=//nt16/default/main/Partnerpage/WORKAREA/Service&documentType=SalesTrainingClass
//get documentType value URL parametervar documentTypeParamValue = getParameter("documentType");var isItem = documentTypeParamValue.match(/SalesTrainingClass/g);var nullval ="";if(documentTypeParamValue != nullval){IWDatacapture.getItem("/documentType").setValue("Sales Training Class");IWDatacapture.getItem("/documentType").setReadOnly(true);}// get's the prameter value of the parameter name passed to the functionfunction getParameter(paramx) { var valx = ""; var qsx = parent.window.location.search; var startx = qsx.indexOf(paramx); if (startx != -1) { startx += paramx.length + 1; var endx = qsx.indexOf("&", startx); if (endx == -1) { endx = qsx.length } valx = qsx.substring(startx,endx); } return valx;}