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

Question

Question

Workflow- error No entry was specified {0263 wf1]

asked on October 12, 2020

I am creating a workflow that runs every day at 0800. This workflow is to retrieve expiration date and send out and email when it reaches 30days prior to expiring. when I run the workflow from the starting rules I get " No entry was specified" if I manually run it from the documents it works. What am I missing.

Thanks.

0 0

Replies

replied on October 13, 2020

Hi Teresa,

When you start the Workflow manually using the "Start Business Process" option in the repository, it actually gives workflow the Entry ID of the document you started the process on (you can see this through the repository by right-clicking the document and choosing "Properties").

When you run the process automatically on a schedule, by default there is no entry specified. In order to find the entry you want the workflow to run on, you'll need to add a "Find Entry" or "Search Repository" task at the start of your workflow and set the "Retrieve Field Values" task to run on the document found in this activity.

If you want to replicate the behaviour of starting the workflow via a schedule, you can use the green play button in the toolbar to start the workflow, making sure there's no entry ID specified in the starting dialog.

Hope this helps!

Dan

1 0
replied on October 13, 2020

It makes sense thank you, I added "find entry" now it completes but it doesn't find the document: I think I'm missing where to tell it to look w/in a the folder for the document.

0 0
replied on October 15, 2020

Hi Teresa,

Can you check that the "Expire Date" field on the document with ID 1335 has been filled out? Workflow is reporting that the value of the field is empty, which means either the field is not assigned to that document, or the field is assigned but has a blank value.

Thanks,
Dan

0 0
replied on October 16, 2020

The document ID is the ID to the parent folder: the actual document is under doe, jane. I think its just looking into the parent folder and not sure how to make it look into the children to find the document. Thanks for you help I do appreciate it. 

0 0
replied on October 28, 2020

Hi Teresa,

Rather than using the "Find Entry" activity you'll need to use the "Find Entries" activity to find all the documents contained within that folder. After you've found the entries, you'll need to use a "For Each Entry" loop and place the rest of your activities (like the retrieve field values step) inside the loop to run them on each entry that's found in the folder.

On each of the activities inside the loop you'll need to change the entry the activity is run on to be the entry from For Each Entry > Current Entry. That's the two radio buttons at the bottom of the properties pane smiley

Hope this helps!

Dan

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

Sign in to reply to this post.