<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: qRules 4.3 injection and Workflow Task Forms</title><link>https://www.infopathdev.com:443/forums/thread/86277.aspx</link><pubDate>Tue, 22 Jan 2013 14:58:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86277</guid><dc:creator>Den12</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=86277</wfw:commentRss><description>&lt;p&gt;Update:&lt;/p&gt;&lt;p&gt;..quick &amp;quot;google&amp;quot; look on the web still produces older threads, mainly saying &amp;quot;forget it, will not work with any list forms)..&lt;/p&gt;&lt;p&gt;1. After&amp;nbsp;re-mapping the new fields on the SPD &lt;strong&gt;workflow Task Form&lt;/strong&gt; (customized, multi-step&amp;nbsp;Approval Workflow &lt;strong&gt;and injected with qRules 4.3 trial&lt;/strong&gt;) I have got it working. So it does seem possible to inject a workflow task form and it works in browser. I want to also mention that the workflow in on a custom list (not library), its own list form(s) customized with Infopath (but not injected). The custom list forms use optional sections to expand the content on the form, depending on how far the multistep workflow has progressed, including relevant information gathered during each step.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - The task form was successfully published to the server, without any warnings/issues. I did however had the sandbox solution on the server enabled, because I was testing same with pure List Forms, injected with qRules (that I could not make work). Not sure whether that was what stopped the warnings. Task Forms are supposed to work of Task Lists (I believe), so they are even more restricted with fewer options (in the advanced&amp;nbsp;form options section). &amp;quot;Compatibility&amp;quot; is disabled with Form type showing Workflow Form. If it works, no complaints.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - The task form opens in&amp;nbsp; the &lt;strong&gt;browser&lt;/strong&gt;, from the workflow&amp;nbsp;and works splendidly :).&amp;nbsp; Read the end for MS Outlook client opening (Infopath)&amp;nbsp;experience.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - The user validation via people picker control (non-repeating) works as expected. Could not find a way to use it directly in the repeating table, but hear it is not possible (anything better, please&amp;nbsp;post a comment).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;The validated user(s)/group(s), above, together with New task Description and new Due date were successfully moved to a repating table on the same task form and view. Only OOTB Infopath rules used, double eval trick for concatenating multiple users/groups from the people picker for follow up use with qRules SubmitToSharepointList (submitting to another SP List is utilized for assigning multiple Approval(execution) tasks from a repeqting table , simulating branching(sub-tasking in real-time, multiple people with unique Due dates &amp;amp; more). That was tested with up to 10 distinct entries into the repeating table, unique new task titles, due dates and assigned people/groups.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Distinct new button on the task form for submitting the new tasks from this task screen to the separate SP List to initiate multiple sub-steps approval workflows(task excutions) with their own logic - tested &amp;amp; working, notifications etc. You can either have the button also post a third workflow state (in addition to approved/ rejected, let say &amp;quot;Part3&amp;quot;) and complete this step of the original workflow.. OR you can have the button just submit the new tasks to the other list, maybe close the form without changing the workflow status... or&lt;/p&gt;&lt;p&gt;     - Update the taskform, without closing it, with all newly assigned tasks (for the newly inserted records into the other list, subtasks list). That also works when the workflow task form is opened after being closed (use Rules on Form Load), you can have a secondary connection for that purpose, as I did. By default qRules will update the repeating table with the Ids of the inserted records, but that&amp;#39;s it. &lt;/p&gt;&lt;p&gt;&amp;nbsp; ...What I needed is a) the subtasks to be assigned, while the original workflow is still on the same workflow step, b) the assigned people complete their respective tasks, with comments &amp;amp; date completed, c) get that additional infomation into the original task form, so the Approver does see the status, completion&amp;nbsp;date, etc&amp;nbsp;of each sub-task assigned, BEFORE Approving or Rejecting HIS own task from the original workflow. It could be used to even add new tasks, but depending on the applied custom logic it might either restart the existing subtasks&amp;nbsp;workflows (on item change) or not (If all repeating table fields are non-editable disabled and workflows activated &amp;quot;on create&amp;quot;, only.&lt;/p&gt;&lt;p&gt;Now, I did mention all this worked better than expected opening from the browser.&lt;/p&gt;&lt;p&gt;What I still have to figire out and any insight is appreciated (will update if/when resolved): When the Task is opened from MS Outlook, all mentioned above works the same, except:&lt;/p&gt;&lt;p&gt;&amp;nbsp; - for some reason, a couple of non-repating controls seem disabled, binded to non-list fields, but present on the task form. Those fields are used for sub task description and subtasks&amp;#39; due dates. The corresponding fields in the repeating table are editable and able to submit to the separate SP List. Even the completed subtasks, submitted by same task form(same step) are updated on load with the status/completion date of those sub-tasks.&lt;/p&gt;&lt;p&gt;&amp;nbsp; - probably for the same reason, it must be really simple as I still can not see it, the rules on the button moving the non-repating fields(new task to be added) do not seem to fire. If I just add the info to the repating table fields it seems to work&amp;nbsp;(people picker validation is why I needed something outside the repating table).&lt;/p&gt;&lt;p&gt; ..To Be Updated.&lt;/p&gt;&lt;p&gt;(Please forgive, if&amp;nbsp;any misspellings. Needed to share the experience as I need the feedback.&amp;nbsp;Handling the Task Forms with injected qRules is very important as this is where we wanted(still do)&amp;nbsp;to have the&amp;nbsp;business logic for approvals/subtasking).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>qRules 4.3 injection and Workflow Task Forms</title><link>https://www.infopathdev.com:443/forums/thread/86275.aspx</link><pubDate>Tue, 22 Jan 2013 13:56:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86275</guid><dc:creator>Den12</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86275.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=86275</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I am re-posting prior comments I&amp;nbsp; made here (&lt;a title="here" href="http://www.infopathdev.com/forums/p/20268/86235.aspx#86235" target="_blank"&gt;http://www.infopathdev.com/forums/p/20268/86235.aspx#86235)&lt;/a&gt;, as I would like to get a feedback and&amp;nbsp;impression whether other people have had a similar experience.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span style="font-size:10pt;"&gt;&amp;quot; Hi Ernesto,&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I have a similar situation, but with a Workflow Task form. Getting similar messages, but not quite.&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;However, I was able to inject qRules 4.3 (trial) into a Workflow Taskform (SP 2010 enterprise &amp;amp; Infopath 2010, 64-bit, no C# or VB code before injection) with a warning:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;[1] &amp;quot;The form template has been published to the server, but can only be opened in Infopath because it contains features that are not compatible with web browsers. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;To fix this problem, close the dialog and review the errors in the design checker task pane&amp;quot;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt; [2] Runnning the design checker shows no errors, but it does show &amp;quot;Click Change Settings.. to provide the address of the server where you plan to publish this template. This will make error checking more accurate.&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Now it is interesting, that:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;    -the Workflow task form (infopath 2010) is actually opening in the Infopath client from the workflow e-mail notification (use Open Task in MS Outlook).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;    - same workflow task form is able to approve/reject and complete successfully the workflow.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;    - was able to use people picker control (outside repating table), to properly authenticate all AssignedTo users..to be used for a following step in a multi-step workflow.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;  Now the parts that do NOT work:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;  - trying to open the assigned Task from the Workflow -&amp;gt; Tasks page , In Browser, produces an error, as warned in [1], but it opens nicely in Infopath Client/Filler.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;   - The AssignedTo users (properly parsed using the double eval trick and formatted to submit multiple users via the SubmitToSharepointList qRules command) together with Due Dates and descriptions is supposed be populating the rows of a repeating table. &lt;/span&gt;&lt;span style="font-size:10pt;"&gt;It WORKS when run on the desktop (same form being published), BUT the Description and Due Date fields are now DISABLED (opening from MS Outlook Task notification)!?!?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;  Reference to that functionality mentioned at &lt;span style="font-size:10pt;"&gt;&lt;a href="http://www.infopathdev.com/forums/p/15290/86156.aspx#86156"&gt;http://www.infopathdev.com/forums/p/15290/86156.aspx#86156&lt;/a&gt; and &lt;a href="http://www.infopathdev.com/forums/p/24879/86188.aspx#86188"&gt;http://www.infopathdev.com/forums/p/24879/86188.aspx#86188&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;  - Custom &amp;quot;Add Task&amp;quot; button, using rules to move the data from non-repeating controls to the repeating table is ACTIVE, but the rules (OOTB rules, no qrules commands here), which work when form/template executed from desktop, but does NOTHING when run from MS Outlook  &amp;quot;Open Task&amp;quot;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;     - the mapping used with qRules on that form has been used successfully with a similar non-published Infopath+qRules form, same target list for submitting the items from the repeating table, but NO re-mapping done after used on the workflow form (id   is not mapped as it is not specified on the workflow taskform).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Could you please clarify whether the limitation for publishing Infopath Forms with qRules (4.3 trial here) to SP List  is also valid for Workflow Taskforms.  It looks like it might be possible..&lt;/span&gt;&amp;quot;&lt;/p&gt;</description></item></channel></rss>