<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48892.aspx</link><pubDate>Wed, 11 Nov 2009 09:44:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48892</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48892</wfw:commentRss><description>&lt;p&gt;Hi Qazi Anis,&lt;/p&gt;
&lt;p&gt;The workflow is waiting for the flagDelete value. The rule to reset the flagAction is required in order to ensure that each rule does not run twice.&lt;/p&gt;
&lt;p&gt;I have found my solution!!!&lt;/p&gt;
&lt;p&gt;The problem is that I set a rule when form loading to set a file name for submit data connection. Everytime I open the form, that file name is updated. The DeleteDraft rule is actually working on the new file name. So what I do was change the condition at the rule when form loading to make sure it run the rule once only.&lt;/p&gt;
&lt;p&gt;How silly of me!!! How could I forgot about this!!!&lt;/p&gt;
&lt;p&gt;I feel kinda stupid for doing that such rule =(&lt;/p&gt;
&lt;p&gt;Thank you all for the help.&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48847.aspx</link><pubDate>Tue, 10 Nov 2009 10:03:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48847</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48847.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48847</wfw:commentRss><description>&lt;p&gt;Hi tza_03,&lt;/p&gt;
&lt;p&gt;Sorry i could not reply to it earlier, i was on vacation. &lt;/p&gt;
&lt;p&gt;Just a quick question regarding the workflow,&lt;/p&gt;
&lt;p&gt;what value does it expect in which fields to delete the form.&lt;/p&gt;
&lt;p&gt;you are resetting the value of flagAction when one clicks on yes in confirmation view. I think that is the culprit. &lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48729.aspx</link><pubDate>Fri, 06 Nov 2009 04:37:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48729</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48729</wfw:commentRss><description>&lt;p&gt;Sorry for making you confius.&lt;/p&gt;
&lt;p&gt;I keep posting what the rule should do.&lt;/p&gt;
&lt;p&gt;The problem is that the&amp;nbsp;action (submit using&amp;nbsp;a data connection)&amp;nbsp;at Delete Draft rule is not running.&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48727.aspx</link><pubDate>Fri, 06 Nov 2009 03:35:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48727</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48727.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48727</wfw:commentRss><description>&lt;p&gt;Ok, so is it working or not?&amp;nbsp; I&amp;#39;m confused by your response.&amp;nbsp; I know what the flagAction is - I referenced it in my response.&amp;nbsp; I also know what the actions are on that rule.&amp;nbsp; I&amp;#39;m asking what is ACTUALLY happening.&amp;nbsp; I thought you said this wasn&amp;#39;t working, but when I asked exactly what was happening, you explained what it does and appear to be saying it&amp;#39;s working now?&amp;nbsp; I&amp;#39;m really not sure what&amp;#39;s going on, sorry.&amp;nbsp; =D&lt;/p&gt;
&lt;p&gt;There are multiple missing words - the sentence is incomplete.&amp;nbsp; You can see it on the Delete Draft button when you look at the Set a Field&amp;#39;s Value for Notification.&amp;nbsp; I don&amp;#39;t have it open, so I don&amp;#39;t remember the words, but it was an incomplete sentence in English.&lt;/p&gt;
&lt;p&gt;So, again, if this is the rule that isn&amp;#39;t working, what EXACTLY is happening...what part is not working?&amp;nbsp; If it IS working, then please remind me what we&amp;#39;re trying to help you figure out.&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48725.aspx</link><pubDate>Fri, 06 Nov 2009 03:04:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48725</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48725</wfw:commentRss><description>&lt;p&gt;FYI, I had developed other forms that also use the same rules at the &amp;quot;Yes&amp;quot; button on the Confirmation page and it works perfectly.&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48724.aspx</link><pubDate>Fri, 06 Nov 2009 03:03:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48724</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48724.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48724</wfw:commentRss><description>&lt;p&gt;Hi Warrtalon,&lt;/p&gt;
&lt;p&gt;The flagAction is 4 when the person clicked &amp;quot;Delete Draft&amp;quot; on the Welcome Page.&lt;/p&gt;
&lt;p&gt;When the person click &amp;quot;Yes&amp;quot; on the Confirmation Page, &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;The flagDelete will be set to true&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;The form will be submitted to the SharePoint&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;The form will be close without any prompt&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Once the form is submitted to the SharePoint, a workflow is started. The workflow will delete the item form the SharePoint.&lt;/p&gt;
&lt;p&gt;PS. What&amp;#39;s the missing word?&lt;/p&gt;
&lt;p&gt;PPS. Thanks. I had help from my colleague though.&lt;/p&gt;
&lt;p&gt;-TZA-&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48723.aspx</link><pubDate>Fri, 06 Nov 2009 02:36:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48723</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48723</wfw:commentRss><description>&lt;p&gt;Ok, it looks fine to me.&amp;nbsp; It simply checks flagAction to see if it&amp;#39;s 4, and you would assume that flagAction is 4 if the person clicked Delete Draft on the Welcome Page.&lt;/p&gt;
&lt;p&gt;If the other rules are working, and they all are checking the flagAction like this, then what EXACTLY is happening when someone clicks &amp;quot;Yes&amp;quot; after Delete Draft?&amp;nbsp; Is anything happening?&amp;nbsp; Is it closing?&amp;nbsp; Is it submitting? Is it setting flagDelete to TRUE?&amp;nbsp; What exactly is happening?&lt;/p&gt;
&lt;p&gt;PS.&amp;nbsp; Your notification text for Delete Draft is missing some words.&lt;/p&gt;
&lt;p&gt;PPS. This is a cool form.&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48722.aspx</link><pubDate>Fri, 06 Nov 2009 02:23:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48722</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48722</wfw:commentRss><description>&lt;p&gt;Hi Qazi Anis,&lt;/p&gt;
&lt;p&gt;Attached is for your perusal.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;-TZA-&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48682.aspx</link><pubDate>Thu, 05 Nov 2009 12:04:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48682</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48682</wfw:commentRss><description>&lt;p&gt;i think you better attach the template, to attach the template click on reply (not on quick reply) then options -&amp;gt; file attachments add/update&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48679.aspx</link><pubDate>Thu, 05 Nov 2009 09:33:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48679</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48679</wfw:commentRss><description>&lt;p&gt;FYI, I did use the true() function&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48678.aspx</link><pubDate>Thu, 05 Nov 2009 09:31:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48678</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48678</wfw:commentRss><description>&lt;p&gt;Hi Qazi Anis,&lt;/p&gt;
&lt;p&gt;Oops. Sorry. My mistake. All rules are okay except for the &amp;#39;Delete Draft&amp;#39; rule.&lt;/p&gt;
&lt;p&gt;Really sorry for the confusion.&lt;/p&gt;
&lt;p&gt;-TZA-&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48677.aspx</link><pubDate>Thu, 05 Nov 2009 09:22:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48677</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48677</wfw:commentRss><description>&lt;p&gt;Hi Tza_03,&lt;/p&gt;
&lt;p&gt;to set a boolean value to true or false, you have to use function true()/false(), not just set it to a value and type true or false. &lt;/p&gt;
&lt;p&gt;Plus: i am not getting most of what you say, first you say delete draft is not getting executed properly, this time you say it is approve/reject. &lt;/p&gt;
&lt;p&gt;Can you give more details, like what type of field you try to populate with what value at what action&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48675.aspx</link><pubDate>Thu, 05 Nov 2009 09:09:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48675</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48675.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48675</wfw:commentRss><description>&lt;p&gt;Hi warrtalon,&lt;/p&gt;
&lt;p&gt;If you notice, the action for rule &amp;#39;Submit Form&amp;#39; and &amp;#39;Delete Draft&amp;#39; are the same. The difference is that the fields&amp;nbsp;being used are different but the action is to&amp;nbsp;set a boolean field to true.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I think the first action is running.&amp;nbsp;The third action is actually&amp;nbsp;running. But the second action is not running.&lt;/p&gt;
&lt;p&gt;FYI, the actions at rule &amp;#39;Submit Form&amp;#39; are all running perfectly.&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48674.aspx</link><pubDate>Thu, 05 Nov 2009 08:45:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48674</guid><dc:creator>tza_03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48674</wfw:commentRss><description>&lt;p&gt;Hi Qazi Anis,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes. The actions are same except at the action &amp;#39;set field&amp;#39;s value&amp;#39; is on different control. I think this does not contribute to the problem. Correct me if I&amp;#39;m wrong.&lt;/p&gt;
&lt;p&gt;What do you mean by trying using submit form to delete draft?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry. I don&amp;#39;t know how to attach file :(&lt;/p&gt;</description></item><item><title>Re: Button Rules</title><link>https://www.infopathdev.com:443/forums/thread/48670.aspx</link><pubDate>Thu, 05 Nov 2009 07:21:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48670</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48670</wfw:commentRss><description>&lt;p&gt;You said that Delete Draft is not running perfectly, but you didn&amp;#39;t tell us what is happening.&amp;nbsp; We can&amp;#39;t guess what&amp;#39;s wrong, so if you can let us know what exactly is happening (or not happening), then we can probably figure it out.&lt;/p&gt;
&lt;p&gt;Mainly, are you saying that the Delete Draft rule never runs?&amp;nbsp; If so, the condition is not being met.&amp;nbsp; Or, are you saying it runs and closes the form but doesn&amp;#39;t perform the actions you want.&amp;nbsp; What is the &amp;quot;set field&amp;#39;s value&amp;quot; doing and what do those minor steps have to do with deleting a draft?&lt;/p&gt;
&lt;p&gt;Let us know the details of what&amp;#39;s wrong, and we can help better.&lt;/p&gt;</description></item></channel></rss>