Fred, Thanks this is exactly what we needed. It works great.
Christopher Pruitt Business Consulting III HP Enterprises Services [email protected] www.hp.com Confidentiality Notice: This message and any files transmitted with it are intended for the sole use of the entity or individual to whom it is addressed, and may contain information that is confidential, privileged, and exempt from disclosure under applicable law. If you are not the intended addressee for this e-mail, you are hereby notified that any copying, distribution, or dissemination of this e-mail is strictly prohibited. If you have received this e-mail in error, please immediately destroy, erase, or discard this message. Please notify the sender immediately by return e-mail if you have received this e-mail by mistake. -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Grooms, Frederick W Sent: Thursday, June 23, 2011 9:57 AM To: [email protected] Subject: Re: Capture of user's IP Address User Tool or Mid-Tier?? User Tool ... Active Link Set Fields action $PROCESS$ CMD.exe /s/c "ipconfig | find "IP Address"" Then pull out the IP from the line(s) returned Mid-Tier ... You have to create a .jsp file on the Mid-Tier server with a function to call request.getRemoteAddr(). You also have to set Tomcat to do DNS lookups (in server.xml in the Connector definitions add enableLookups="true" ). function get_ip_info() { var return_value = "<%= request.getRemoteAddr() %>"; return (return_value) } On your form (in the View Properties, I use the Web Footer Content) add an include of your .jsp script file. <SCRIPT src="<Tomcat web path>/???????.jsp" language="JavaScript"></SCRIPT> In workflow do a Run-Process action (536870923 being the ID of your field) javascript:window.F(536870923).DoSet(get_ip_info()); Fred -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Pruitt, Christopher (Bank of America Account) Sent: Thursday, June 23, 2011 9:18 AM To: [email protected] Subject: Capture of user's IP Address Good Day fellow Listers, We are trying to find a way to capture the user's ip address via workflow. Has anyone ever attempted this with any success? We see it captured in the API logs but can't find it in the AR System API nor as a keyword. Any suggestions out there? Christopher Pruitt Business Consulting III HP Enterprises Services [email protected] www.hp.com<http://www.hp.com/> _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

