<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Launching a Workflow Rule from JavaScript</title>
	<atom:link href="http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/</link>
	<description>Sharing information with Dynamics CRM users and xRM developers</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kelvin</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-4353</link>
		<dc:creator>Kelvin</dc:creator>
		<pubDate>Tue, 21 Sep 2010 11:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-4353</guid>
		<description>Can&#039;t you use a crm workflow wait condition to achieve the same thing</description>
		<content:encoded><![CDATA[<p>Can&#039;t you use a crm workflow wait condition to achieve the same thing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sabine</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-2465</link>
		<dc:creator>sabine</dc:creator>
		<pubDate>Mon, 31 Aug 2009 06:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-2465</guid>
		<description>Hi Mitch,
Thank you for your reply.
Can you give me an idea of how i can accomplish what you said?
Sabine</description>
		<content:encoded><![CDATA[<p>Hi Mitch,<br />
Thank you for your reply.<br />
Can you give me an idea of how i can accomplish what you said?<br />
Sabine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitch</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-2445</link>
		<dc:creator>mitch</dc:creator>
		<pubDate>Sat, 29 Aug 2009 21:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-2445</guid>
		<description>Since there is absolutely no interaction between the workflow process and the CRM user interface, what you would like to do really can&#039;t be easily accomplished using JavaScript.  You will have to have some sort of &quot;trigger&quot; that gets set or a workflow assembly that gets called at the end of the workflow itself.</description>
		<content:encoded><![CDATA[<p>Since there is absolutely no interaction between the workflow process and the CRM user interface, what you would like to do really can&#039;t be easily accomplished using JavaScript.  You will have to have some sort of &#034;trigger&#034; that gets set or a workflow assembly that gets called at the end of the workflow itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sabine</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-2428</link>
		<dc:creator>sabine</dc:creator>
		<pubDate>Fri, 28 Aug 2009 14:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-2428</guid>
		<description>Hi,
I am calling a workflow from a Javascript code. After the execution of the workflow, i need to run a certain code which is based on the execution of the workflow. The problem is that the code depending on the workflow is running before the workflow ends execution. So how can i put a condition for the code to run after the workflow ends execution?
Can i have the reply by email if possible?
Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am calling a workflow from a Javascript code. After the execution of the workflow, i need to run a certain code which is based on the execution of the workflow. The problem is that the code depending on the workflow is running before the workflow ends execution. So how can i put a condition for the code to run after the workflow ends execution?<br />
Can i have the reply by email if possible?<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aad van der Velden</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-2188</link>
		<dc:creator>Aad van der Velden</dc:creator>
		<pubDate>Wed, 03 Jun 2009 13:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-2188</guid>
		<description>Hi Mitch,

I hope you will still get this mail as this post is already pretty old and the rest of the world is on 4.0.. I work for a client who still runs CRM 3.0 and they would like to use data from the account form as input for an appointment created automatically by workflow. I have used your code to create the activity automatically by workflow and created custom fields to the account entity that need to go in the appointment. is there any way you can help me get that data through workflow in the appointment?

Many thanks

Aad</description>
		<content:encoded><![CDATA[<p>Hi Mitch,</p>
<p>I hope you will still get this mail as this post is already pretty old and the rest of the world is on 4.0.. I work for a client who still runs CRM 3.0 and they would like to use data from the account form as input for an appointment created automatically by workflow. I have used your code to create the activity automatically by workflow and created custom fields to the account entity that need to go in the appointment. is there any way you can help me get that data through workflow in the appointment?</p>
<p>Many thanks</p>
<p>Aad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitch</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-1505</link>
		<dc:creator>mitch</dc:creator>
		<pubDate>Fri, 19 Dec 2008 14:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-1505</guid>
		<description>Vladislav,

Using CRM&#039;s non-documented JavaScript methods is way unsupported - even though they work!

Thanks for the tip.

Mitch</description>
		<content:encoded><![CDATA[<p>Vladislav,</p>
<p>Using CRM&#039;s non-documented JavaScript methods is way unsupported &#8211; even though they work!</p>
<p>Thanks for the tip.</p>
<p>Mitch</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladislav Osmanov</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-1463</link>
		<dc:creator>Vladislav Osmanov</dc:creator>
		<pubDate>Tue, 09 Dec 2008 16:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-1463</guid>
		<description>Why don&#039;t use built in JS method in 4.0?

Just:

launchOnDemandWorkflowForm(&#039;&#039;, &#039;3&#039;, &#039;{86D760B4-9C30-4CB4-89CC-90D5A7195AB4}&#039;);

where first param is never used, 2nd - ObjectTypeCode, 3rd - WF rule GUID...</description>
		<content:encoded><![CDATA[<p>Why don&#039;t use built in JS method in 4.0?</p>
<p>Just:</p>
<p>launchOnDemandWorkflowForm(&#034;, &#039;3&#039;, &#039;{86D760B4-9C30-4CB4-89CC-90D5A7195AB4}&#039;);</p>
<p>where first param is never used, 2nd &#8211; ObjectTypeCode, 3rd &#8211; WF rule GUID&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Nachman</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-1164</link>
		<dc:creator>Jonathan Nachman</dc:creator>
		<pubDate>Thu, 21 Aug 2008 08:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-1164</guid>
		<description>I used this solution instead, however thanks for the response

Jonathan</description>
		<content:encoded><![CDATA[<p>I used this solution instead, however thanks for the response</p>
<p>Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitch</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-1151</link>
		<dc:creator>mitch</dc:creator>
		<pubDate>Wed, 13 Aug 2008 16:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-1151</guid>
		<description>Jonathan,

Take a look at Jim&#039;s solution:

http://jianwang.blogspot.com/2008/07/crm-40-use-javascript-excutecalllaunch.html

Mitch</description>
		<content:encoded><![CDATA[<p>Jonathan,</p>
<p>Take a look at Jim&#039;s solution:</p>
<p><a href="http://jianwang.blogspot.com/2008/07/crm-40-use-javascript-excutecalllaunch.html" rel="nofollow">http://jianwang.blogspot.com/2008/07/crm-40-use-javascript-excutecalllaunch.html</a></p>
<p>Mitch</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Nachman</title>
		<link>http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/comment-page-1/#comment-1150</link>
		<dc:creator>Jonathan Nachman</dc:creator>
		<pubDate>Wed, 13 Aug 2008 14:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2007/06/15/launching-a-workflow-rule-from-javascript/#comment-1150</guid>
		<description>firstly i dont seem to have any processes in the wfprocess table? instead i put in the GUID of the workflow i want to run, is that right?

i am recieving the SOAP error

Invalid format of input XML for request ExecuteWFProcess: required field &#039;EntityMoniker&#039; is missing

can anyone help, i am using crm 4

many thanks 

Jonathan</description>
		<content:encoded><![CDATA[<p>firstly i dont seem to have any processes in the wfprocess table? instead i put in the GUID of the workflow i want to run, is that right?</p>
<p>i am recieving the SOAP error</p>
<p>Invalid format of input XML for request ExecuteWFProcess: required field &#039;EntityMoniker&#039; is missing</p>
<p>can anyone help, i am using crm 4</p>
<p>many thanks </p>
<p>Jonathan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

