create a setfield action, choose the field that you want to store the output and put $PROCESS$ <your command>....that'll make Remedy wait for the response, up to your configured limit, which has a max value of 45 seconds.
On Tue, Apr 18, 2017 at 9:57 AM, sriram pm <[email protected]> wrote: > ** > How would I use a set field process?.....Can you give me some examples? > > On Tue, Apr 18, 2017 at 8:56 PM, LJ LongWing <[email protected]> > wrote: > >> ** >> oh...one other thing....by issuing a run-process command, you are issuing >> a 'fire and forget' command where the Remedy server doesn't wait for a >> result of the command. In order to get results back, you need to use a set >> fields process, but that has a maximum wait of 45 seconds... >> >> On Tue, Apr 18, 2017 at 8:56 AM, sriram pm <[email protected]> wrote: >> >>> ** >>> Hi Experts, >>> >>> I need your help. >>> >>> I am executing an Run Process in an active link as shown below. >>> >>> @@: C:\Program Files\Java\jdk1.8.0_121\jre\bin\java SampleClientPost1 >>> "{\"short_description\":\"This is a test ticket\",\"assignment_group\": >>> \"ENVIRONMENTS\",\"category\":\"Software\"}" >>> >>> The Logs says it is Successful as shown below: >>> >>> <ACTL> Run Process on server >>> <ACTL> Server: ars-dev.tycoelectronics.com >>> <ACTL> Process: C:\Program >>> Files\Java\jdk1.8.0_121\jre\bin\java >>> SampleClientPost1 "{\"short_description\":\"This is a test >>> ticket\",\"assignment_group\":\"ENVIRONMENTS\",\"category\": >>> \"Software\"}" >>> <ACTL> Success >>> >>> The above program is supposed to create a ticket in another cloud based >>> ticketing tool. But even though it says successful the ticket is not >>> getting created. >>> >>> How to debug whether the program got executed or not? >>> >>> When I run using Command Line it works fine. >>> >>> Kindly check and advice. >>> >>> Thank you, >>> Sriram. >>> >>> >>> _ARSlist: "Where the Answers Are" and have been for 20 years_ >> >> >> _ARSlist: "Where the Answers Are" and have been for 20 years_ >> > > _ARSlist: "Where the Answers Are" and have been for 20 years_ > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

