<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Moving a Completed Item from One SP site to Another</title><link>https://www.infopathdev.com:443/forums/thread/122488.aspx</link><pubDate>Thu, 27 Feb 2020 15:40:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122488</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122488.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122488</wfw:commentRss><description>I mean, you can have a condition in a SharePoint workflow, right? So just promote field x and then in your SPD workflow, if field x = Complete, delete the file? Another option would be keep all the files in the same library and just use library views to determine what shows, of course (which is the route I would take rather than moving files around and deleting things).</description></item><item><title>Re: Moving a Completed Item from One SP site to Another</title><link>https://www.infopathdev.com:443/forums/thread/122485.aspx</link><pubDate>Wed, 26 Feb 2020 16:24:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122485</guid><dc:creator>Jaci Tomkinson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122485.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122485</wfw:commentRss><description>Thank you for your response Hillary,

So the question is, what code do I use to instruct it to delete from the current site?

I have 2 rules right now.

1st rule sends email notification when Resolution Status = Complete
(concat(&amp;quot;The Material Discrepancy for &amp;quot;, MatlNo, &amp;quot; on &amp;quot;, TranOrderNo, &amp;quot; has been COMPLETED&amp;quot;))

2nd rule copies (submits)  file to the Completed Repository when Resolution Status = Complete
(http://teamsource.lennoxintl.com/proj/SupplyChainLogistics/COMPLETED%20IMD/)

3rd rule what is available to choose from to make it delete (see attachment screenshot) or how would the workflow look? Is there a variable that I can use in a workflow that says if field X = Complete then delete??</description></item><item><title>Re: Moving a Completed Item from One SP site to Another</title><link>https://www.infopathdev.com:443/forums/thread/122474.aspx</link><pubDate>Tue, 25 Feb 2020 15:36:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122474</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122474.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122474</wfw:commentRss><description>You&amp;#39;ll have to use workflow for at least the delete from the original library portion - just submitting the XML to a new location will not remove it from the original library. You might want to submit first to the original library with a status of complete, then in your rules, also submit to the new location, then your workflow only needs to delete items where status = complete.</description></item><item><title>Moving a Completed Item from One SP site to Another</title><link>https://www.infopathdev.com:443/forums/thread/122454.aspx</link><pubDate>Tue, 18 Feb 2020 15:27:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122454</guid><dc:creator>Jaci Tomkinson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122454</wfw:commentRss><description>I have an InfoPath form.
When the user changes the Resolution Status to Complete, it sends a copy of the form to a Complete SP site, however; it leaves the form on the active site.
In the past, I used SP Designer to copy the item to the Completed repository and delete the item from the active site.
Is there a way to do this using InfoPath only?

My code in my file is:

When Resolution Status = Complete (a notification is sent to the Requestor, Ship Mgr &amp;amp; Rec Mgr)
When Resolution Status = Complete (the form is sent to the Complete SP Repository)

What&amp;#39;s missing is when resolution status = Complete, I also want the form deleted from the active repository.

Any ideas?

I have attached the form.</description></item></channel></rss>