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

Question

Question

Wait condition from route to folder activity does not get satisfied

asked on July 5, 2015

Hi,

I am using workflow to route documents and added a wait condition to see if a field Paid = No then route to another folder. However when I test run the workflow in workflow designer, I receive below message in condition tab from the workflow run results

[FALSE] If all of these conditions are true:
    [FALSE] Entry Field [Paid]:  'Yes' <equals> 'No'

 

Below is a print screen of the workflow in workflow designer

 

When I start the workflow the status of the Paid field is 'Yes', then I change it to 'No' while I've run the workflow, maybe this it why the message in condition tab is [FALSE] Entry Field [Paid]:  'Yes' <equals> 'No'

Grateful if someone can help me sort out this error or assist me with another method to allow my workflow to move to next step when the value of a field changes to a specific value. 

To be noted that I created this workflow for testing purposed, but I will be using this condition for another workflow. 

 

Regards

Sweety

0 0

Answer

SELECTED ANSWER
replied on July 7, 2015 Show version history

Hi Miruna,

I registered my repository under Localhost>server Configuration>repositories in Laserfiche Workflow Administration Console, restarted all LF Workflow services and tested my workflow. The waiting conditions has been respected upon testing.

Thanks

Sweety

0 0

Replies

replied on July 6, 2015

The workflow will only wait if the field equals No.  So if you are starting the workflow while the field equals Yes, then the wait condition has been met and the entry will proceed.  You have 2 options that I can think of.

 

Option 1: add a condition to the the start rule to prevent the workflow from starting if the field does not equal No.

Option 2: change the field value to No with the Route Entry to Folder activity or by adding an assign field activity before the Route activity.

replied on July 6, 2015

The condition is evaluated when the document lands in the folder to see if it could move on. That's the first one you see in the Conditions tab. That's expected behavior. If it does not match, the document stays there waiting for another field change. You should see a second condition evaluation when you change the field to "No".

Check out the Subscriber Trace for events and condition evaluations. One possible cause for it not working would be if you added the connection profile user to the the list of users excluded from participating in workflows and are logged in as the same user into the Client when you change fields.

Side note: you don't need a Retrieve Field Values activity to use the field in the wait condition in the routing activity.

0 0
replied on July 6, 2015 Show version history

Hi Miruna,

The connection profile used to run the workflow is the repository built in admin. No Named user License is allocated to the user account. I did a restart on Laserfiche Workflow Subscriber 9.2 Service. I notice that all items in the Laserfiche workflow configuration manager are fine. I logged in asthe repository's admin user to change the field value when the shortcut is created in the routed folder. Even though, the it seems that the change is not acknowledged by the workflow when I test it in Workflow designer and directly in the repository.

 

Thanks 

Sweety

0 0
replied on July 7, 2015 Show version history

Hi Miruna,

 

In Fact, all wait conditions are present in Laserfiche administration console under Localhost>monitoring>wait conditions. However, I noticed that

1. My repository is not present under Localhost>server Configuration>repositories

2. Under Localhost>monitoring>Error log>Subscriber error log I can find several entries with error message: The repository is not recognized as a valid repository in this Laserfiche instance. [9046]

 

Thanks to advise if above configurations are fine.

 

Regards,

Sweety

0 0
SELECTED ANSWER
replied on July 7, 2015 Show version history

Hi Miruna,

I registered my repository under Localhost>server Configuration>repositories in Laserfiche Workflow Administration Console, restarted all LF Workflow services and tested my workflow. The waiting conditions has been respected upon testing.

Thanks

Sweety

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

Sign in to reply to this post.