You are viewing limited content. For full access, please sign in.

Question

Question

moving files from one folder to another

asked on July 15, 2014

 I am trying to move documents from one folder to another. I have set up the destination folder and I have set up a starting rule with the following conditions.

 

If all of these conditions are true

Entry : Type equals Document

Entry : ID equals 197128

Entry : Path equals \City Secretary\z - Document Processing\testing3

 

Even when I specified the Entry ID, I get the error " No entry was specified [0263-WF1]".  The account that runs the WF service has full access to both directories.  What am I doing wrong?

 

0 0

Answer

SELECTED ANSWER
replied on July 16, 2014

Additionally, since it wasn't explicitly mentioned, can you verify that you're having this workflow kick off via the starting rule?  If the workflow is starting because you're manually kicking it off with the green "play button" you'll need to specify a specific entry ID in the resulting dialog box.  

0 0
replied on July 16, 2014

I was manually starting the WF with the green arrow play button.  I only did this because when I created the starting rule shown in my initial question nothing happened. The starting rule was enabled.

1 0
replied on July 16, 2014

When you pressed the Play button, did you specify a starting entry in the Run Workflow dialog?

 

Starting rules take effect about 30 seconds after they're enabled. However, a starting condition on "Entry Created" with the criteria above will only work once, when entry with ID 197128 is created.

1 0
replied on July 16, 2014

That could possibly be the reason for your workflow not having a starting entry.  Make sure that you're entering the appropriate entry ID after clicking the play button in the field that says Starting Entry ID (Optional).

 

As for the starting rules, you might want to go in a slightly different direction.  Maybe do something like create a tag called "Folder Docs Ready to Move".  Then set your starting rules to:

 

Entry Changed:

Entry Type equals folder

Entry Tag equals "Folder Docs Ready to Move" is set

(Any other specific rules based on your situation)

 

That way you don't have to specify an entry ID for each document you want to move and you can easily set this tag on a folder to kick the WF off.  You might need to do some modifications to the workflow to account for the fact that you're now running the workflow on a folder instead of a specific document.  Let me know if you have any questions and I'll be happy to offer some more assistance!

 

0 0

Replies

replied on July 15, 2014 Show version history

Can you specify which activity raises that error as well as its properties? Also which category (created, deleted, moved, ...) your conditions are bound to?

1 0
replied on July 16, 2014

The Move Entry activity is the one that generates the error.  I don't know what you mean by proerties.  The category I am using is Created.  For purposes of this test there are 4 files sitting in the folder that I want to move

1 0
replied on July 16, 2014 Show version history

There are different conditions for the start rule.  Is your start rule only for creation, move, change, delete, etc.?  You need to set up a start rule for change and then there must be some kind of change to the document for it to trigger the workflow start evaluation.  Try changing a field value on the document to trigger the start rule evaluation process on that document.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.