Error while sending a fax
HI, I am getting the following error ,whenever i try to send a fax via notify action in the filter. we have a faxnumber field in a form.User enters a faxnumber into it and whenever he press submit.the email should go to the provided faxnumber. Instead now it is throwing the following exception. 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery com.sun.mail.smtp.SMTPSendFailedException: 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User unknown at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:598) at com.bmc.arsys.emaildaemon.SenderModule.sendMessage(SenderModule.java:394) at com.bmc.arsys.emaildaemon.SenderModule.doWork(SenderModule.java:231) at com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:288) at java.lang.Thread.run(Unknown Source) what this error explains... CAN ANYONE PLEASE HELP! ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Error while sending a fax
HI, I am getting the following error ,whenever i try to send a fax via notify action in the filter. we have a faxnumber field in a form.User enters a faxnumber into it and whenever he press submit.the email should go to the provided faxnumber. Instead now it is throwing the following exception. 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery com.sun.mail.smtp.SMTPSendFailedException: 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User unknown at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:598) at com.bmc.arsys.emaildaemon.SenderModule.sendMessage(SenderModule.java:394) at com.bmc.arsys.emaildaemon.SenderModule.doWork(SenderModule.java:231) at com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:288) at java.lang.Thread.run(Unknown Source) what this error explains... CAN ANYONE PLEASE HELP! Regards, hrishi ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
AUTO: Robert02 Kern is out of the office. (Rückkehr am 13.07.2011)
Ich bin bis 13.07.2011 abwesend. Support Issues: please contact your responsible Service Desk. Technical: Christoph Sommerlik Organisational: Michael Schletterer Have a nice day. Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht Error while sending a fax gesendet am 11.07.2011 11:21:03. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, während diese Person abwesend ist. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Error while sending a fax
Hrishi, Take a look at the outgoing messages in the AR System Email Messages form to see what address it was trying to send to. Does it appear correct? Perhaps you'll need to append @faxcompanyaddress in the filter, if it's not included already. David Durling University of Georgia -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Hrishikesh Muluskar Sent: Monday, July 11, 2011 5:28 AM To: arslist@ARSLIST.ORG Subject: Error while sending a fax HI, I am getting the following error ,whenever i try to send a fax via notify action in the filter. we have a faxnumber field in a form.User enters a faxnumber into it and whenever he press submit.the email should go to the provided faxnumber. Instead now it is throwing the following exception. 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery com.sun.mail.smtp.SMTPSendFailedException: 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User unknown at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:598) at com.bmc.arsys.emaildaemon.SenderModule.sendMessage(SenderModule.j ava:394) at com.bmc.arsys.emaildaemon.SenderModule.doWork(SenderModule.java:2 31) at com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:288) at java.lang.Thread.run(Unknown Source) what this error explains... CAN ANYONE PLEASE HELP! Regards, hrishi __ _ 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
Re: Error while sending a fax
Hi Hrishikesh, User unknown means that the email engine isn't getting a response from the email domain that the email address is valid or known. I'm guessing that you have some kind of email-to-fax service that you are using that receives emails and converts them into faxes. If so, I would check with the service to be sure your account is still valid. If not, has this worked in the past, and if so, what is the mechanism that is supposed to send the fax for you? Kelly Logan, Sr. Systems Administrator (Remedy), GMS ProQuest | 789 E. Eisenhower Parkway, P.O. Box 1346 | Ann Arbor MI 48106-1346 USA | 734.997.4777 kelly.lo...@proquest.commailto:kelly.lo...@proquest.com www.proquest.com ProQuest...Start here. 2010 InformationWeek 500 Top Innovator P Please consider the environment before printing this email. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender, and delete the message from your computer. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Hrishikesh Muluskar Sent: Monday, July 11, 2011 5:21 AM To: arslist@ARSLIST.ORG Subject: Error while sending a fax HI, I am getting the following error ,whenever i try to send a fax via notify action in the filter. we have a faxnumber field in a form.User enters a faxnumber into it and whenever he press submit.the email should go to the provided faxnumber. Instead now it is throwing the following exception. 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHASmailto:26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery com.sun.mail.smtp.SMTPSendFailedException: 250 2.6.0 26845221.13541309966942079.JavaMail.SYSTEM@SVCHASmailto:26845221.13541309966942079.JavaMail.SYSTEM@SVCHAS Queued mail for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User unknown at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:598) at com.bmc.arsys.emaildaemon.SenderModule.sendMessage(SenderModule.java:394) at com.bmc.arsys.emaildaemon.SenderModule.doWork(SenderModule.java:231) at com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:288) at java.lang.Thread.run(Unknown Source) what this error explains... CAN ANYONE PLEASE HELP! ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.orghttp://www.arslist.org attend wwrug11 www.wwrug.comhttp://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
Re: Product Query: Mobile Client
Mobile Reach has an excellent product to meet this need. I have used them on 3 projects now and have had great success. Contact Mike McKee for more information. mmc...@mobilereach.com Office: 919-371-2188 Mobile: 919-434-3082 www.mobilereach.com Brandi Barbour Application Developer KForce/CSC-CTS Federal Sector | This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. From: Lyle Taylor tayl...@ldschurch.org To: arslist@ARSLIST.ORG Date: 07/07/2011 07:16 PM Subject:Product Query: Mobile Client Sent by:Action Request System discussion list(ARSList) arslist@ARSLIST.ORG ** Hi All, We are actively looking for a mobile client solution to connect to our ITSM 7 (ARS 7.1) suite for Incident, and optionally Problem, Management. Our primary interest is in a client that will work on the iPad. Either a native app or web interface would be acceptable. Compatibility on other mobile devices (e.g., iPhone, Android devices, etc.) would be a plus. The primary goal is to enable deskside tech support agents to easily update and resolve tickets while they are in the field. If your company provides a solution in this arena, or you are aware of a company that provides such a solution, please contact me directly by e-mail at tayl...@ldschurch.org. Thanks, Lyle Taylor NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _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
Re: Product Query: Mobile Client
Don't forget the long conversation we had last week regarding 2901! Jennifer Meyer From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Brandi Barbour Sent: Monday, July 11, 2011 9:22 AM To: arslist@ARSLIST.ORG Subject: Re: Product Query: Mobile Client ** Mobile Reach has an excellent product to meet this need. I have used them on 3 projects now and have had great success. Contact Mike McKee for more information. mmc...@mobilereach.com Office: 919-371-2188 Mobile: 919-434-3082 www.mobilereach.comhttp://www.mobilereach.com/ Brandi Barbour Application Developer KForce/CSC-CTS Federal Sector | This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. From:Lyle Taylor tayl...@ldschurch.org To:arslist@ARSLIST.ORG Date:07/07/2011 07:16 PM Subject:Product Query: Mobile Client Sent by:Action Request System discussion list(ARSList) arslist@ARSLIST.ORG ** Hi All, We are actively looking for a mobile client solution to connect to our ITSM 7 (ARS 7.1) suite for Incident, and optionally Problem, Management. Our primary interest is in a client that will work on the iPad. Either a native app or web interface would be acceptable. Compatibility on other mobile devices (e.g., iPhone, Android devices, etc.) would be a plus. The primary goal is to enable deskside tech support agents to easily update and resolve tickets while they are in the field. If your company provides a solution in this arena, or you are aware of a company that provides such a solution, please contact me directly by e-mail at tayl...@ldschurch.orgmailto:tayl...@ldschurch.org. Thanks, Lyle Taylor NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ E-mail correspondence to and from this address may be subject to the North Carolina Public Records Law and may be disclosed to third parties by an authorized state official. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Product Query: Mobile Client
David, Did you pay him to post this? From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Easter, David Sent: Thursday, July 07, 2011 5:24 PM To: arslist@ARSLIST.ORG Subject: Re: Product Query: Mobile Client ** Lyle, Excellent timing. You may wish to speak with your BMC representative as BMC just acquired Aerorprise to do just this. http://politico.biz/bmc-software-acquires-aeroprise -David J. Easter Manager of Product Management, Remedy Platform BMC Software, Inc. The opinions, statements, and/or suggested courses of action expressed in this E-mail do not necessarily reflect those of BMC Software, Inc. My voluntary participation in this forum is not intended to convey a role as a spokesperson, liaison or public relations representative for BMC Software, Inc. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Lyle Taylor Sent: Thursday, July 07, 2011 04:16 PM To: arslist@ARSLIST.ORG Subject: Product Query: Mobile Client ** Hi All, We are actively looking for a mobile client solution to connect to our ITSM 7 (ARS 7.1) suite for Incident, and optionally Problem, Management. Our primary interest is in a client that will work on the iPad. Either a native app or web interface would be acceptable. Compatibility on other mobile devices (e.g., iPhone, Android devices, etc.) would be a plus. The primary goal is to enable deskside tech support agents to easily update and resolve tickets while they are in the field. If your company provides a solution in this arena, or you are aware of a company that provides such a solution, please contact me directly by e-mail at tayl...@ldschurch.org. Thanks, Lyle Taylor NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _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
Re: I need assistance in passing input parameter from RUN PROCESS command line
G, Are you trying to run the process on the client or on the server? If you are trying to run on the server, prepend the run process with @@: -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Friday, July 08, 2011 4:28 PM To: arslist@ARSLIST.ORG Subject: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I am trying to pass an input parameter from RUN Process which I am using like this CMD.exe/c C:\temp\MigrateDataForChangeID.bat $change_id+$ I have written the Bat file like this @echo off Set ChangeID= %1 Set ChangeID = %Change_ID+%(If I hard code the change id here and start the bat file it is working) Echo %Change_ID+% set Java_home=C:\Program Files\Java\jdk1.5.0_05\bin\ %Java_Home%\java -jar RemedyDataMigrator.jar %Change_ID+% But if I am trying to pass it from RUNPROCESS it is not working as it should be. If I check the log file it is like this ACTL /* Fri Jul 08 2011 15:17:11 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Return Code: 1 can any one suggest me how to pass the input parameter and am I wrote the correct bat file. Thanks G -- View this message in context: http://old.nabble.com/I-need-assitance-in-passing-input-parameter--from-RUN- PROCESS-command-line-tp32025056p32025056.html Sent from the ARS (Action Request System) mailing list archive at Nabble.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
Re: I need assitance in passing input parameter from RUN PROCESS command line
From the output you are seeing in the log, the system has not recognized the parameter. I suspect if you look at an export file, you will find $Change_ID+$ in the definition. You should not see that. If the system recognized this as a field, it would have translated the name to an ID in the stored definition. A couple of different possibilities: 1) There seems to be an inconsistency in capitalization in your discsussion below. At the start you show the command line to be . $change_id+$ In the run example, it echos $Change_ID+$ Depending on your database and case sensitivity, these are two different names. Do you have your capitalization right? 2) The fact that the word is Change_ID+ leads me to believe that this is a label. Is the DB name of the field you are trying to map the same as the label? Definitions in workflow key off the field NAME not the LABEL. 3) Have you tried using the field ID instead of a label/name for the field in question. Something like $988203489$ (whatever the ID is of course). This eliminates all possible confusion about case, name/label, spelling, or whatever. I hope these offer some pointers to what might be the issue for you. Doug -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Friday, July 08, 2011 3:28 PM To: arslist@ARSLIST.ORG Subject: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I am trying to pass an input parameter from RUN Process which I am using like this CMD.exe/c C:\temp\MigrateDataForChangeID.bat $change_id+$ I have written the Bat file like this @echo off Set ChangeID= %1 Set ChangeID = %Change_ID+%(If I hard code the change id here and start the bat file it is working) Echo %Change_ID+% set Java_home=C:\Program Files\Java\jdk1.5.0_05\bin\ %Java_Home%\java -jar RemedyDataMigrator.jar %Change_ID+% But if I am trying to pass it from RUNPROCESS it is not working as it should be. If I check the log file it is like this ACTL /* Fri Jul 08 2011 15:17:11 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Return Code: 1 can any one suggest me how to pass the input parameter and am I wrote the correct bat file. Thanks G -- View this message in context: http://old.nabble.com/I-need-assitance-in-passing-input-parameter--from-RUN-PROCESS-command-line-tp32025056p32025056.html Sent from the ARS (Action Request System) mailing list archive at Nabble.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
ARSmarts license scheme
** Hello List, The 30% rebate action all ARSmarts permanent licenses is still running. Pls contact me (kais.albas...@arsmarts.com) if you would like to know more. We are also offering ARSmarts "on demand", interesting if you have needs at a given moment, but do not wish to go for a permanent license. Visit our website at www.arsmarts.com, email me, or visit our booth at WWRUG11 for more info. Kas _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_
Re: I need assitance in passing input parameter from RUN PROCESS command line
Hi Mueller, I am looking to this mail from Friday because I got a feeling that if Mueller and LJ responds to a mail it will be resolved no matter what.and to day morning..I started breathing againthanks for response As you mentioned I have noticed that the $Change_ID+$ is not getting recognized so what I did is I have changed my Change ID to simple like ChangeID. The log file is capturing the change id perfectly so I debugged it as you mentioned me it workedthe log file is like this ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' ACTL Return Code: 1l ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Stop active link processing - On Return 1)Do I need to put the ChangeID in single quotes or double quotes... 2)My .bat file is like this can you suggest me do I need to modify any thing @echo off set ChangeID=%1 Echo %ChangeID% set Java_Home=C:\Program Files\Java\jdk1.5.0_05\bin\ %JAVA_HOME%\Java -jar RemedyDataMigrator.jar %ChangeID% Pause.. this is giving error in the cmd prompt like this http://old.nabble.com/file/p32039891/07-11-2011%2B10-58-35%2BAM.png My doubt is the ChangeID is passing or not ..can you help me in writing the bat file Mueller, Doug wrote: From the output you are seeing in the log, the system has not recognized the parameter. I suspect if you look at an export file, you will find $Change_ID+$ in the definition. You should not see that. If the system recognized this as a field, it would have translated the name to an ID in the stored definition. A couple of different possibilities: 1) There seems to be an inconsistency in capitalization in your discsussion below. At the start you show the command line to be . $change_id+$ In the run example, it echos $Change_ID+$ Depending on your database and case sensitivity, these are two different names. Do you have your capitalization right? 2) The fact that the word is Change_ID+ leads me to believe that this is a label. Is the DB name of the field you are trying to map the same as the label? Definitions in workflow key off the field NAME not the LABEL. 3) Have you tried using the field ID instead of a label/name for the field in question. Something like $988203489$ (whatever the ID is of course). This eliminates all possible confusion about case, name/label, spelling, or whatever. I hope these offer some pointers to what might be the issue for you. Doug -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Friday, July 08, 2011 3:28 PM To: arslist@ARSLIST.ORG Subject: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I am trying to pass an input parameter from RUN Process which I am using like this CMD.exe/c C:\temp\MigrateDataForChangeID.bat $change_id+$ I have written the Bat file like this @echo off Set ChangeID= %1 Set ChangeID = %Change_ID+%(If I hard code the change id here and start the bat file it is working) Echo %Change_ID+% set Java_home=C:\Program Files\Java\jdk1.5.0_05\bin\ %Java_Home%\java -jar RemedyDataMigrator.jar %Change_ID+% But if I am trying to pass it from RUNPROCESS it is not working as it should be. If I check the log file it is like this ACTL /* Fri Jul 08 2011 15:17:11 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Return Code: 1 can any one suggest me how to pass the input parameter and am I wrote the correct bat file. Thanks G -- View this message in context: http://old.nabble.com/I-need-assitance-in-passing-input-parameter--from-RUN-PROCESS-command-line-tp32025056p32025056.html Sent from the ARS (Action Request System) mailing list archive at Nabble.com. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: I need assistance in passing input parameter from RUN PROCESS command line
Hi LJ, Thanks for response I am waiting from friday for your response . I am trying to run the process on the clientit is capturing the ChangeID now trying to pass it to the Java API could you please suggest me whether my bat file is good or not .. Thanks G LJ LongWing (Head) wrote: G, Are you trying to run the process on the client or on the server? If you are trying to run on the server, prepend the run process with @@: -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Friday, July 08, 2011 4:28 PM To: arslist@ARSLIST.ORG Subject: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I am trying to pass an input parameter from RUN Process which I am using like this CMD.exe/c C:\temp\MigrateDataForChangeID.bat $change_id+$ I have written the Bat file like this @echo off Set ChangeID= %1 Set ChangeID = %Change_ID+%(If I hard code the change id here and start the bat file it is working) Echo %Change_ID+% set Java_home=C:\Program Files\Java\jdk1.5.0_05\bin\ %Java_Home%\java -jar RemedyDataMigrator.jar %Change_ID+% But if I am trying to pass it from RUNPROCESS it is not working as it should be. If I check the log file it is like this ACTL /* Fri Jul 08 2011 15:17:11 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat $Change_ID+$ ACTL Return Code: 1 can any one suggest me how to pass the input parameter and am I wrote the correct bat file. Thanks G -- View this message in context: http://old.nabble.com/I-need-assitance-in-passing-input-parameter--from-RUN- PROCESS-command-line-tp32025056p32025056.html Sent from the ARS (Action Request System) mailing list archive at Nabble.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 -- View this message in context: http://old.nabble.com/I-need-assitance-in-passing-input-parameter--from-RUN-PROCESS-command-line-tp32025056p32039946.html Sent from the ARS (Action Request System) mailing list archive at Nabble.com. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: I need assitance in passing input parameter from RUN PROCESS command line
I am glad you are getting the ID into your batch file now. From the screenshot of the error is looks like it can't find your .jar file. In the batch file you may need to change to the directory where the .jar file is located (or put the full path of the .jar file in the java command line) @echo off set ChangeID=%1 Echo %ChangeID% set Java_Home=C:\Program Files\Java\jdk1.5.0_05\bin\ cd location of .jar file %JAVA_HOME%\Java -jar RemedyDataMigrator.jar %ChangeID% Pause.. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 1:02 PM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi Mueller, I am looking to this mail from Friday because I got a feeling that if Mueller and LJ responds to a mail it will be resolved no matter what.and to day morning..I started breathing againthanks for response As you mentioned I have noticed that the $Change_ID+$ is not getting recognized so what I did is I have changed my Change ID to simple like ChangeID. The log file is capturing the change id perfectly so I debugged it as you mentioned me it workedthe log file is like this ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' ACTL Return Code: 1l ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Stop active link processing - On Return 1)Do I need to put the ChangeID in single quotes or double quotes... 2)My .bat file is like this can you suggest me do I need to modify any thing @echo off set ChangeID=%1 Echo %ChangeID% set Java_Home=C:\Program Files\Java\jdk1.5.0_05\bin\ %JAVA_HOME%\Java -jar RemedyDataMigrator.jar %ChangeID% Pause.. this is giving error in the cmd prompt like this http://old.nabble.com/file/p32039891/07-11-2011%2B10-58-35%2BAM.png My doubt is the ChangeID is passing or not ..can you help me in writing the bat file Mueller, Doug wrote: From the output you are seeing in the log, the system has not recognized the parameter. I suspect if you look at an export file, you will find $Change_ID+$ in the definition. You should not see that. If the system recognized this as a field, it would have translated the name to an ID in the stored definition. A couple of different possibilities: 1) There seems to be an inconsistency in capitalization in your discsussion below. At the start you show the command line to be . $change_id+$ In the run example, it echos $Change_ID+$ Depending on your database and case sensitivity, these are two different names. Do you have your capitalization right? 2) The fact that the word is Change_ID+ leads me to believe that this is a label. Is the DB name of the field you are trying to map the same as the label? Definitions in workflow key off the field NAME not the LABEL. 3) Have you tried using the field ID instead of a label/name for the field in question. Something like $988203489$ (whatever the ID is of course). This eliminates all possible confusion about case, name/label, spelling, or whatever. I hope these offer some pointers to what might be the issue for you. Doug -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Friday, July 08, 2011 3:28 PM To: arslist@ARSLIST.ORG Subject: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I am trying to pass an input parameter from RUN Process which I am using like this CMD.exe/c C:\temp\MigrateDataForChangeID.bat $change_id+$ I have written the Bat file like this @echo off Set ChangeID= %1 Set ChangeID = %Change_ID+%(If I hard code the change id here and start the bat file it is working) Echo %Change_ID+% set Java_home=C:\Program Files\Java\jdk1.5.0_05\bin\ %Java_Home%\java -jar RemedyDataMigrator.jar %Change_ID+% But if I am trying to pass it from RUNPROCESS it is not working as it should be. If I check the log file it is like this ACTL /* Fri Jul 08 2011 15:17:11 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /c
Re: I need assitance in passing input parameter from RUN PROCESS command line
You still seem to have a syntax error in your command line. The log file will show you the EXACT command line that is being performed. In your case, it is showing the following: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' First, you are not building a Set Fields arithmetic syntax command here. You are entering the command in the definition exactly as you want it. Your definition is CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' There are lots of extra pieces of syntax here that you should not need. Why do you have the double quotes around the program name? They should not be needed. Why do you have the extra couple of spaces before the program name and after the program name? Why do you have the + sign? You don't want that in the final command. Look at the command that is generated (the first string above that I cut and pasted. Is that what you would type at the command line to execute? That is what the system is attempting to execute. I would expect the definition to look more like this CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ Notice all the extra quotes and the plus signs and such are not there. This is the command line you are going to execute. The system will substitute for any parameter in $$ that it recognizes. IF you run the command by hand from the command line and get it to work, use that exact same syntax. If your parameter requires surrounding single quotes, put them in. If it requires surrounding double quotes, put them in. Whatever would be needed from the command line. Note that the Run Process and the SQL syntax is just to type the command as you want it executed and put in parameters as you wish. No extra quotes. No extra plus signs. No extra anything. You can see from the command that the system is attempting to execute in your log, lots of extra bits of things that is just confusing the heck out of your program. A Set Fields or Push Fields where you are constructing a value and where you can add numbers or subtract or use functions or whatever needs the syntax of an arithmetic operation. But, Run Process does not. I hope this helps solve the rest of the problem. Doug Mueller -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 11:02 AM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi Mueller, I am looking to this mail from Friday because I got a feeling that if Mueller and LJ responds to a mail it will be resolved no matter what.and to day morning..I started breathing againthanks for response As you mentioned I have noticed that the $Change_ID+$ is not getting recognized so what I did is I have changed my Change ID to simple like ChangeID. The log file is capturing the change id perfectly so I debugged it as you mentioned me it workedthe log file is like this ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' ACTL Return Code: 1l ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Stop active link processing - On Return 1)Do I need to put the ChangeID in single quotes or double quotes... 2)My .bat file is like this can you suggest me do I need to modify any thing @echo off set ChangeID=%1 Echo %ChangeID% set Java_Home=C:\Program Files\Java\jdk1.5.0_05\bin\ %JAVA_HOME%\Java -jar RemedyDataMigrator.jar %ChangeID% Pause.. this is giving error in the cmd prompt like this http://old.nabble.com/file/p32039891/07-11-2011%2B10-58-35%2BAM.png My doubt is the ChangeID is passing or not ..can you help me in writing the bat file Mueller, Doug wrote: From the output you are seeing in the log, the system has not recognized the parameter. I suspect if you look at an export file, you will find $Change_ID+$ in the definition. You should not see that. If the system recognized this as a field, it would have translated the name to an ID in the stored definition. A couple of different possibilities: 1) There seems to be an inconsistency in capitalization in your discsussion below. At the start you show the command line to be . $change_id+$ In the run example, it echos $Change_ID+$ Depending on your database and case sensitivity, these are two different names. Do you have your capitalization right? 2) The fact that the word is Change_ID+ leads me to believe that this is a label. Is the DB name
Re: I need assitance in passing input parameter from RUN PROCESS command line
Hi All, I want to thank you every one from here wholeheartedly...I have created this Java API first time successfully it is updating the records I have to work more on it My process command line is CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ (as Doug described.BRAVO...BRAVO :clap::clap: ) I have written the .bat file as @echo off Set ChangeID= %1 Set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_05\bin\ Echo %ChangeID% Echo %JAVA_HOME% C:\Program Files\Java\jdk1.5.0_05\bin\ -jar RemedyDataMigrator.jar %ChangeID% It worked like charmone small doubt in this one when I am executing the workflow on client side I am still able to see the cmd prompt dialogue box how to get rid of this. Mueller, Doug wrote: You still seem to have a syntax error in your command line. The log file will show you the EXACT command line that is being performed. In your case, it is showing the following: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' First, you are not building a Set Fields arithmetic syntax command here. You are entering the command in the definition exactly as you want it. Your definition is CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' There are lots of extra pieces of syntax here that you should not need. Why do you have the double quotes around the program name? They should not be needed. Why do you have the extra couple of spaces before the program name and after the program name? Why do you have the + sign? You don't want that in the final command. Look at the command that is generated (the first string above that I cut and pasted. Is that what you would type at the command line to execute? That is what the system is attempting to execute. I would expect the definition to look more like this CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ Notice all the extra quotes and the plus signs and such are not there. This is the command line you are going to execute. The system will substitute for any parameter in $$ that it recognizes. IF you run the command by hand from the command line and get it to work, use that exact same syntax. If your parameter requires surrounding single quotes, put them in. If it requires surrounding double quotes, put them in. Whatever would be needed from the command line. Note that the Run Process and the SQL syntax is just to type the command as you want it executed and put in parameters as you wish. No extra quotes. No extra plus signs. No extra anything. You can see from the command that the system is attempting to execute in your log, lots of extra bits of things that is just confusing the heck out of your program. A Set Fields or Push Fields where you are constructing a value and where you can add numbers or subtract or use functions or whatever needs the syntax of an arithmetic operation. But, Run Process does not. I hope this helps solve the rest of the problem. Doug Mueller -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 11:02 AM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi Mueller, I am looking to this mail from Friday because I got a feeling that if Mueller and LJ responds to a mail it will be resolved no matter what.and to day morning..I started breathing againthanks for response As you mentioned I have noticed that the $Change_ID+$ is not getting recognized so what I did is I have changed my Change ID to simple like ChangeID. The log file is capturing the change id perfectly so I debugged it as you mentioned me it workedthe log file is like this ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' ACTL Return Code: 1l ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Stop active link processing - On Return 1)Do I need to put the ChangeID in single quotes or double quotes... 2)My .bat file is like this can you suggest me do I need to modify any thing @echo off set ChangeID=%1 Echo %ChangeID% set Java_Home=C:\Program Files\Java\jdk1.5.0_05\bin\ %JAVA_HOME%\Java -jar RemedyDataMigrator.jar %ChangeID% Pause.. this is giving error in the cmd prompt like this http://old.nabble.com/file/p32039891/07-11-2011%2B10-58-35%2BAM.png My doubt is the ChangeID is
Re: I need assitance in passing input parameter from RUN PROCESS command line
G, I'm not familiar with a way to execute a command prompt on the client machine that doesn't show it on the task bar. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 3:50 PM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I want to thank you every one from here wholeheartedly...I have created this Java API first time successfully it is updating the records I have to work more on it My process command line is CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ (as Doug described.BRAVO...BRAVO :clap::clap: ) I have written the .bat file as @echo off Set ChangeID= %1 Set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_05\bin\ Echo %ChangeID% Echo %JAVA_HOME% C:\Program Files\Java\jdk1.5.0_05\bin\ -jar RemedyDataMigrator.jar %ChangeID% It worked like charmone small doubt in this one when I am executing the workflow on client side I am still able to see the cmd prompt dialogue box how to get rid of this. Mueller, Doug wrote: You still seem to have a syntax error in your command line. The log file will show you the EXACT command line that is being performed. In your case, it is showing the following: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' First, you are not building a Set Fields arithmetic syntax command here. You are entering the command in the definition exactly as you want it. Your definition is CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' There are lots of extra pieces of syntax here that you should not need. Why do you have the double quotes around the program name? They should not be needed. Why do you have the extra couple of spaces before the program name and after the program name? Why do you have the + sign? You don't want that in the final command. Look at the command that is generated (the first string above that I cut and pasted. Is that what you would type at the command line to execute? That is what the system is attempting to execute. I would expect the definition to look more like this CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ Notice all the extra quotes and the plus signs and such are not there. This is the command line you are going to execute. The system will substitute for any parameter in $$ that it recognizes. IF you run the command by hand from the command line and get it to work, use that exact same syntax. If your parameter requires surrounding single quotes, put them in. If it requires surrounding double quotes, put them in. Whatever would be needed from the command line. Note that the Run Process and the SQL syntax is just to type the command as you want it executed and put in parameters as you wish. No extra quotes. No extra plus signs. No extra anything. You can see from the command that the system is attempting to execute in your log, lots of extra bits of things that is just confusing the heck out of your program. A Set Fields or Push Fields where you are constructing a value and where you can add numbers or subtract or use functions or whatever needs the syntax of an arithmetic operation. But, Run Process does not. I hope this helps solve the rest of the problem. Doug Mueller -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 11:02 AM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi Mueller, I am looking to this mail from Friday because I got a feeling that if Mueller and LJ responds to a mail it will be resolved no matter what.and to day morning..I started breathing againthanks for response As you mentioned I have noticed that the $Change_ID+$ is not getting recognized so what I did is I have changed my Change ID to simple like ChangeID. The log file is capturing the change id perfectly so I debugged it as you mentioned me it workedthe log file is like this ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' ACTL Process: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' ACTL Return Code: 1l ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Stop active link processing - On Return 1)Do I need to put the ChangeID in single quotes or double quotes... 2)My .bat file is
Re: I need assitance in passing input parameter from RUN PROCESS command line
Hi LJ, Thanks for helping me on this I think I have wrongly written ...after executing the run process command the command prompt dialogue box is seen on the client for milliseconds which I don't want it to be like thatwhat I have to do it. thanks G LJ LongWing (Head) wrote: G, I'm not familiar with a way to execute a command prompt on the client machine that doesn't show it on the task bar. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 3:50 PM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I want to thank you every one from here wholeheartedly...I have created this Java API first time successfully it is updating the records I have to work more on it My process command line is CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ (as Doug described.BRAVO...BRAVO :clap::clap: ) I have written the .bat file as @echo off Set ChangeID= %1 Set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_05\bin\ Echo %ChangeID% Echo %JAVA_HOME% C:\Program Files\Java\jdk1.5.0_05\bin\ -jar RemedyDataMigrator.jar %ChangeID% It worked like charmone small doubt in this one when I am executing the workflow on client side I am still able to see the cmd prompt dialogue box how to get rid of this. Mueller, Doug wrote: You still seem to have a syntax error in your command line. The log file will show you the EXACT command line that is being performed. In your case, it is showing the following: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' First, you are not building a Set Fields arithmetic syntax command here. You are entering the command in the definition exactly as you want it. Your definition is CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' There are lots of extra pieces of syntax here that you should not need. Why do you have the double quotes around the program name? They should not be needed. Why do you have the extra couple of spaces before the program name and after the program name? Why do you have the + sign? You don't want that in the final command. Look at the command that is generated (the first string above that I cut and pasted. Is that what you would type at the command line to execute? That is what the system is attempting to execute. I would expect the definition to look more like this CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ Notice all the extra quotes and the plus signs and such are not there. This is the command line you are going to execute. The system will substitute for any parameter in $$ that it recognizes. IF you run the command by hand from the command line and get it to work, use that exact same syntax. If your parameter requires surrounding single quotes, put them in. If it requires surrounding double quotes, put them in. Whatever would be needed from the command line. Note that the Run Process and the SQL syntax is just to type the command as you want it executed and put in parameters as you wish. No extra quotes. No extra plus signs. No extra anything. You can see from the command that the system is attempting to execute in your log, lots of extra bits of things that is just confusing the heck out of your program. A Set Fields or Push Fields where you are constructing a value and where you can add numbers or subtract or use functions or whatever needs the syntax of an arithmetic operation. But, Run Process does not. I hope this helps solve the rest of the problem. Doug Mueller -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 11:02 AM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi Mueller, I am looking to this mail from Friday because I got a feeling that if Mueller and LJ responds to a mail it will be resolved no matter what.and to day morning..I started breathing againthanks for response As you mentioned I have noticed that the $Change_ID+$ is not getting recognized so what I did is I have changed my Change ID to simple like ChangeID. The log file is capturing the change id perfectly so I debugged it as you mentioned me it workedthe log file is like this ACTL /* Mon Jul 11 2011 10:50:18 */ ACTL Start active link processing -- Operation - On Return ACTL For Schema - CHG:Change_History ACTL Linked to field - Change ID+ (1) ACTL On screen type - QUERY ACTL Checking TEST Active Link 4 (0) ACTL - Passed qualification -- perform if actions ACTL 0: Run Process ACTL CMD.exe /c
Re: I need assitance in passing input parameter from RUN PROCESS command line
If I'm understanding what you are saying properly, the cmd prompt shows up, but if you 'wait' it closes automatically right?that's proper procedurethe cmd /c tells the command prompt to start and execute the command after itit should start, execute it, then close out. If you do 'nothing' and it all ends up the way you want, then there is nothing more to tune. If your problem is with the fact that the window is open for too long, the only option for you is to get faster machines :). -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 4:31 PM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi LJ, Thanks for helping me on this I think I have wrongly written ...after executing the run process command the command prompt dialogue box is seen on the client for milliseconds which I don't want it to be like thatwhat I have to do it. thanks G LJ LongWing (Head) wrote: G, I'm not familiar with a way to execute a command prompt on the client machine that doesn't show it on the task bar. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 3:50 PM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I want to thank you every one from here wholeheartedly...I have created this Java API first time successfully it is updating the records I have to work more on it My process command line is CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ (as Doug described.BRAVO...BRAVO :clap::clap: ) I have written the .bat file as @echo off Set ChangeID= %1 Set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_05\bin\ Echo %ChangeID% Echo %JAVA_HOME% C:\Program Files\Java\jdk1.5.0_05\bin\ -jar RemedyDataMigrator.jar %ChangeID% It worked like charmone small doubt in this one when I am executing the workflow on client side I am still able to see the cmd prompt dialogue box how to get rid of this. Mueller, Doug wrote: You still seem to have a syntax error in your command line. The log file will show you the EXACT command line that is being performed. In your case, it is showing the following: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' First, you are not building a Set Fields arithmetic syntax command here. You are entering the command in the definition exactly as you want it. Your definition is CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' There are lots of extra pieces of syntax here that you should not need. Why do you have the double quotes around the program name? They should not be needed. Why do you have the extra couple of spaces before the program name and after the program name? Why do you have the + sign? You don't want that in the final command. Look at the command that is generated (the first string above that I cut and pasted. Is that what you would type at the command line to execute? That is what the system is attempting to execute. I would expect the definition to look more like this CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ Notice all the extra quotes and the plus signs and such are not there. This is the command line you are going to execute. The system will substitute for any parameter in $$ that it recognizes. IF you run the command by hand from the command line and get it to work, use that exact same syntax. If your parameter requires surrounding single quotes, put them in. If it requires surrounding double quotes, put them in. Whatever would be needed from the command line. Note that the Run Process and the SQL syntax is just to type the command as you want it executed and put in parameters as you wish. No extra quotes. No extra plus signs. No extra anything. You can see from the command that the system is attempting to execute in your log, lots of extra bits of things that is just confusing the heck out of your program. A Set Fields or Push Fields where you are constructing a value and where you can add numbers or subtract or use functions or whatever needs the syntax of an arithmetic operation. But, Run Process does not. I hope this helps solve the rest of the problem. Doug Mueller -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 11:02 AM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi Mueller, I am looking to this mail from Friday because I got a feeling that if Mueller and LJ responds to a mail it will be resolved
Re: I need assitance in passing input parameter from RUN PROCESS command line
Thanks LJ ...I thought it can be not show with tuneup... thanks for reply Thanks G LJ LongWing (Head) wrote: If I'm understanding what you are saying properly, the cmd prompt shows up, but if you 'wait' it closes automatically right?that's proper procedurethe cmd /c tells the command prompt to start and execute the command after itit should start, execute it, then close out. If you do 'nothing' and it all ends up the way you want, then there is nothing more to tune. If your problem is with the fact that the window is open for too long, the only option for you is to get faster machines :). -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 4:31 PM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi LJ, Thanks for helping me on this I think I have wrongly written ...after executing the run process command the command prompt dialogue box is seen on the client for milliseconds which I don't want it to be like thatwhat I have to do it. thanks G LJ LongWing (Head) wrote: G, I'm not familiar with a way to execute a command prompt on the client machine that doesn't show it on the task bar. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 3:50 PM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS command line Hi All, I want to thank you every one from here wholeheartedly...I have created this Java API first time successfully it is updating the records I have to work more on it My process command line is CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ (as Doug described.BRAVO...BRAVO :clap::clap: ) I have written the .bat file as @echo off Set ChangeID= %1 Set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_05\bin\ Echo %ChangeID% Echo %JAVA_HOME% C:\Program Files\Java\jdk1.5.0_05\bin\ -jar RemedyDataMigrator.jar %ChangeID% It worked like charmone small doubt in this one when I am executing the workflow on client side I am still able to see the cmd prompt dialogue box how to get rid of this. Mueller, Doug wrote: You still seem to have a syntax error in your command line. The log file will show you the EXACT command line that is being performed. In your case, it is showing the following: CMD.exe /c C:\temp\MigrateDataForChangeID.bat + 'CHG00076079' First, you are not building a Set Fields arithmetic syntax command here. You are entering the command in the definition exactly as you want it. Your definition is CMD.exe /cC:\temp\MigrateDataForChangeID.bat + '$1$' There are lots of extra pieces of syntax here that you should not need. Why do you have the double quotes around the program name? They should not be needed. Why do you have the extra couple of spaces before the program name and after the program name? Why do you have the + sign? You don't want that in the final command. Look at the command that is generated (the first string above that I cut and pasted. Is that what you would type at the command line to execute? That is what the system is attempting to execute. I would expect the definition to look more like this CMD.exe /c C:\temp\MigrateDataForChangeID.bat $1$ Notice all the extra quotes and the plus signs and such are not there. This is the command line you are going to execute. The system will substitute for any parameter in $$ that it recognizes. IF you run the command by hand from the command line and get it to work, use that exact same syntax. If your parameter requires surrounding single quotes, put them in. If it requires surrounding double quotes, put them in. Whatever would be needed from the command line. Note that the Run Process and the SQL syntax is just to type the command as you want it executed and put in parameters as you wish. No extra quotes. No extra plus signs. No extra anything. You can see from the command that the system is attempting to execute in your log, lots of extra bits of things that is just confusing the heck out of your program. A Set Fields or Push Fields where you are constructing a value and where you can add numbers or subtract or use functions or whatever needs the syntax of an arithmetic operation. But, Run Process does not. I hope this helps solve the rest of the problem. Doug Mueller -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of gok's Sent: Monday, July 11, 2011 11:02 AM To: arslist@ARSLIST.ORG Subject: Re: I need assitance in passing input parameter from RUN PROCESS