Sharepoint Deisgner Workflow DELETE ITEM and COPY ITEM task action problems - Sharepoint

This is a discussion on Sharepoint Deisgner Workflow DELETE ITEM and COPY ITEM task action problems - Sharepoint ; I have a workflow that is is intended to move a document from a secured document library (source) to a publicly viewable document library (target) when the document's status changed to 'published'. This works fine the first time but fails ...

+ Reply to Thread
Results 1 to 2 of 2

Sharepoint Deisgner Workflow DELETE ITEM and COPY ITEM task action problems

  1. Default Sharepoint Deisgner Workflow DELETE ITEM and COPY ITEM task action problems

    I have a workflow that is is intended to move a document from a
    secured document library (source) to a publicly viewable document
    library (target) when the document's status changed to 'published'.
    This works fine the first time but fails the second time as the COPY
    LIST ITEM task in the workflow fails because the document is already
    in the target document library, which is no good as I want the
    document overwritten with the updated version.

    So I added a delete action to the workflow (first condition). However
    the overall workflow fails when run for a new document that is set to
    published. This is because the DELETE condition cannot find the
    document in the target library to delete.

    How can I make the absence of the document in the target library non-
    fatal for the delete condition or alternatively how can the COPY LIST
    ITEM task be made to overwrite rather than fail if the document is
    already there?


  2. Default RE: Sharepoint Deisgner Workflow DELETE ITEM and COPY ITEM task action

    Hi indiacarlos,
    I am trying to incorporate the same feature in my workflow using the "Copy
    List" activity. But I have ben getting the error ever since i have used this.
    Could you please let me know how did you succeed in copying the item from
    one list to another.

    I have one Form Library with few promoted columns from InfoPath 2003 form.
    As soon as the [Published] column becomes "True" the workflow needs to move
    it to another public Form Library with same promoted columns.

    Any help!!!
    Thanks,
    zullu
    "indiacarlos@gmail.com" wrote:

    > I have a workflow that is is intended to move a document from a
    > secured document library (source) to a publicly viewable document
    > library (target) when the document's status changed to 'published'.
    > This works fine the first time but fails the second time as the COPY
    > LIST ITEM task in the workflow fails because the document is already
    > in the target document library, which is no good as I want the
    > document overwritten with the updated version.
    >
    > So I added a delete action to the workflow (first condition). However
    > the overall workflow fails when run for a new document that is set to
    > published. This is because the DELETE condition cannot find the
    > document in the target library to delete.
    >
    > How can I make the absence of the document in the target library non-
    > fatal for the delete condition or alternatively how can the COPY LIST
    > ITEM task be made to overwrite rather than fail if the document is
    > already there?
    >
    >


+ Reply to Thread

Similar Threads

  1. Copy List Item activity in SharePoint designer doesn't copy lookup
    By Application Development in forum Sharepoint
    Replies: 2
    Last Post: 08-17-2009, 03:44 PM
  2. Updating a List item using Update list item Action of Workflow
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 06-22-2007, 09:14 AM
  3. Customize email sent by workflow to-do item?
    By Application Development in forum Sharepoint
    Replies: 2
    Last Post: 02-12-2007, 09:14 PM
  4. CDOEX: Delete a task-item
    By Application Development in forum Microsoft Exchange
    Replies: 3
    Last Post: 10-19-2006, 10:03 PM
  5. Creating Outlook Task Item
    By Application Development in forum basic.visual
    Replies: 1
    Last Post: 03-04-2004, 10:10 AM