<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="http://ideajam.net/ideajam/p/ij.nsf/rsstransform.xslt"?>
<rss version="2.0">
<channel>
	<language>en-us</language>
	<lastBuildDate>Fri, 24 May 2013 13:23:52 +0000</lastBuildDate>
	<title>IdeaJam(tm) : Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
	<description>An RSS feed generated by IdeaJam(tm) for Ability to call notesAgent.RunOnServer without waiting for the execution of agent</description>
	<link>http://ideajam.net/ideajam/p/ij.nsf</link>
	<image>
	    <title>IdeaJam(tm) : Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
	    <url>http://ideajam.net/ideajam/p/ij.nsf</url>
	    <link>http://ideajam.net/ideajam/p/ij.nsf/LogoSquare.gif?OpenImageResource</link>
	</image>
	<item>
		<pubDate>Tue, 29 May 2012 14:01:31 +0000</pubDate>
		<title>Domino Designer / : Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Alexey Katyushyn&lt;br&gt;&lt;b&gt;Tags:&lt;/b&gt;  &lt;a href="http://ideajam.net/IdeaJam/P/ij.nsf/ProductByCategory?openview&amp;restricttocategory=agent"&gt;agent&lt;/a&gt; &lt;br&gt;&lt;b&gt;Idea:&lt;/b&gt; 
&lt;div&gt;It would be nice to be able to call notesAgent.RunOnServer without waiting for the execution of the agent. It would be possible to introduce an optional second parameter IsWaitExecution, the default value is True. Example:&lt;/div&gt;
&lt;div&gt;Call notesAgent.RunOnServer( [ noteID$ &#93;, [ IsWaitExecution &#93; )&lt;/div&gt;&lt;br&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?OpenDocument</link>
	</item>
	<item>
		<pubDate>Wed, 30 May 2012 09:18:15 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Kenneth Axi&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Don't see the need for this; the obvious solution would be to run the agent with SendConsoleCommand - then You don't have to wait for the agent to finish before continuing execution of Your agent.&lt;br /&gt;&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=D134A1987F31806386257A0E002D9DE6</link>
	</item>
	<item>
		<pubDate>Wed, 30 May 2012 14:37:29 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Alexey Katyushyn&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; This is a workaround. In addition, there is a security restriction on the ability to run SendConsoleCommand.&lt;br /&gt;Much easier to have a second option, as I described!&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=0931199381ECF5A686257A0E004AD7E6</link>
	</item>
	<item>
		<pubDate>Fri, 01 Jun 2012 19:03:45 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Mark Demicoli&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Interesting idea but I think complicated to implement because it introduces synchronisation problems. There would have to be a callback function within the code similar to NotesTimer, again issues arise since the calling code may terminate before the asynchronous call completes. Could you explain why you'd like this feature as there may be an existing way ot achieving same?&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=0DFF5CCF70F53C9A86257A10006338A4</link>
	</item>
	<item>
		<pubDate>Mon, 04 Jun 2012 20:09:01 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Alexey Katyushyn&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; 1. Need to modify the response documents without the author's access to them.&lt;br /&gt;2. Because of the considerable time of document processing, so as not to wait for the end of execution.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=7A6A6247760F9A5486257A130069322B</link>
	</item>
	<item>
		<pubDate>Mon, 04 Jun 2012 21:34:44 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Mark Demicoli&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; I'm voting this idea up because I think it might be useful, but I suspect maybe your code or database structure could be more efficient if you're genuinely having application performance issues. How are you updating responses? How long does it typically take?&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=F8DC6E495A97970786257A1300710B51</link>
	</item>
	<item>
		<pubDate>Tue, 05 Jun 2012 10:06:15 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Alexey Katyushyn&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Thanks, Mark&lt;br /&gt;In the example of the response document performance problems did not exist. But they may be, if the number of response documents is large.&lt;br /&gt;&lt;br /&gt;From what I've come across recently. Developed a custom application for organizing mailings. The user clicks a button to perform list. Newsletter uses an image, the body in html-format, the stream to form a MIME-fields. All this is done on the server and takes time proportional to the number of mailing lists. After pressing the button, after Agent.RunOnServer the user waits for the execution list.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=A8064C6577A248C186257A14003202DE</link>
	</item>
	<item>
		<pubDate>Tue, 05 Jun 2012 10:17:03 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Mark Demicoli&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; OK so for simple updates to Author fields it shouldn't take a huge amount of time even with a large number of documents - on the other hand what you're talking about now is complex processing and mass-mailing.&lt;br /&gt;&lt;br /&gt;My suggestion is that you don't process such requests immediately - create a separate database to act as a queue for processing such mailouts, with scheduled agent that runs every 15-30 min. When such a 'publish' occurs a request 'stub' is created in the queue database and processed on schedule. When completed the user that submitted it is notified and stub set to 'completed'. This way you also have an audit of what happened and when, which can be useful.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=2FBC4ECFC7B1BC9186257A1400330006</link>
	</item>
	<item>
		<pubDate>Tue, 05 Jun 2012 14:36:32 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Alexey Katyushyn&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Dear Mark,&lt;br /&gt;Initially it was implemented on a schedule agent.&lt;br /&gt;But I thought it could be done better. And tried to use Agent.RunOnServer :)&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=28C4900B18B9071786257A14004AC1C9</link>
	</item>
	<item>
		<pubDate>Thu, 07 Jun 2012 06:54:15 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Peter Neidhart&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; How to you prevent multiple parallel execution of the server agent?&lt;br /&gt;I implemented something similar to this by a small agent that was started by RunOnServer and did nothing else than a tell amgr run...&lt;br /&gt;Based on experience the users will press the button over and over because&lt;br /&gt;they don't get an immediate response.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=CF4E3054B47C255A86257A1600206F12</link>
	</item>
	<item>
		<pubDate>Thu, 07 Jun 2012 07:56:32 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Mark Demicoli&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Actually Peter is right Notes is not an assynchronous architecture except for the 'hopelessly fragile' NotesTimer. Voting this down.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=172A8FF964699A7C86257A160026228E</link>
	</item>
	<item>
		<pubDate>Fri, 29 Jun 2012 00:31:28 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Vlad Sh&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; &amp;gt; 9) Peter Neidhart635 (07.06.2012)&lt;br /&gt;&amp;gt; How to you prevent multiple parallel execution of the server agent?&lt;br /&gt;It is perfectly solved by using the (hard-) locking mechanism.&lt;br /&gt;&lt;br /&gt;&amp;gt; 10) Mark Demicoli8588 (07.06.2012)&lt;br /&gt;&amp;gt; Actually Peter is right Notes is not an assynchronous architecture except for the 'hopelessly fragile' NotesTimer.&lt;br /&gt;Run multiple background agents and you get all asinhnonnost "problems" described by Peter.&lt;br /&gt;&lt;br /&gt;I vote for this idea, as there are many operations where the wait for a response from the server, the user does not need. For example export data in a relational database. The user performed some action, and some data must go immediately. He does not need to wait for the result.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=5904BB0A6450912B86257A2B00813943</link>
	</item>
	<item>
		<pubDate>Tue, 28 Aug 2012 09:31:53 +0000</pubDate>
		<title>re: Ability to call notesAgent.RunOnServer without waiting for the execution of agent</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Simon O'Doherty&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; The easiest option for this sort of thing is to create a document which goes to a view that is monitored by an agent. Then have that agent process outstanding requests and move them out of the view. &lt;br /&gt; &lt;br /&gt; Easier to audit that way and recover if something went wrong during agent execution. &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/4F490FB50339A40B86257A0D00478CFB?opendocument&amp;#commentsanc&amp;id=0AB093F939E568CF4A257A68002EDD54</link>
	</item>
</channel></rss>
