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

Question

Question

Why my workflow didnt work with entry path begin by...

asked on March 28, 2017 Show version history

Hi all,

I make a simply workflow (move folder from A to B).

The condition is "Entry changed -> field validation = "Originaux obtenus".

At this moment, my workflow works.

 

But if I add new condition "Entry path begin with <value>" my workflow doesnt work.

The entry is "Enregistrement de la société B&B" from

"\CopyrIndigo\CLIENTS\VINI\Souscription de formulaire\B&B\Enregistrement de la société B&B"

 

What is my mistake?

0 0

Replies

replied on March 28, 2017

Your Starts with value should not have the repository name in it and should look like:

Entree: Chemin commence avec \CLIENTS\VINI\Souscription de formulaire

 

1 0
replied on March 28, 2017 Show version history

Try removing the "\" in front of the Path "\CopyrIndigo\CLIENT....." so it starts with "CopyrIndigo\CLIENT....."

0 0
replied on March 28, 2017 Show version history

I cant

Sorry, I deleted "\CopyrIndigo" whereas "\" but the result is the same

0 0
replied on March 28, 2017

Your path is not supposed to include the repository name. It should be "\CLIENTS\etc." not "\CopyrIndigo\CLIENTS\etc.", "CopyrIndigo\CLIENTS\etc." or "CLIENTS\etc."

2 0
replied on March 28, 2017

In the case above I was thinking the Repository name wouldn't have a "\" in front of it, but I believe I was wrong on that point.

If you are using Equal (equale) you would need the full path to the destination file.

I tend to use "Contains" and "Starts with" in my processes and seldom have an issue I didn't create myself. I always use the ... tool to pick the destination.

I would also add a condition that the Type is a Document so that the case of a new folder being created wouldn't start your process. unless of Course it should be set to Folder

0 0
replied on March 29, 2017

Hi all, and thank you for your help.

I tried "Entry path starts with \CLIENTS\VINI\Souscription de formulaire" (without the Repository name) and my workflow didnt start anymore.

 

I have no error message ; it just like my conditions are wrong.

0 0
replied on March 29, 2017

You can look in the Workflow Subscriber Trace to see how your conditions evaluated on each repository event.

0 0
replied on March 29, 2017

Hum, Miruna, thank you for your help.

 

Under Subscriber Tracer, I could find something strange.

My workflow must to move the file from A to B if my conditions are true. Under Tracer, it looks like the workflow start before my 2nd condition is true ; so the "entry path" is not A anymore but B and then my 2nd condition is false, then my workflow didn't start.

 

*[VRAI] = [TRUE]

[FAUX] = [FALSE]

"\CLIENTS\VINI\#1 - Formulaire avec originaux obtenus" is my folder destination.

 

My action is move :

folder "B&B"

from "Souscription de formulaire"

to "#1 - Formulaire avec originaux obtenus"

 

Why workflow said the entry path is my destination?

0 0
replied on March 29, 2017

I can change "starts with : \CLIENTS\VINI" and this will be ok but I want to understand what's wrong with "\CLIENTS\VINI\Souscription de formulaire".

0 0
replied on March 29, 2017

It sounds like you're either looking at the wrong event or you have the wrong folder for the starting path like Bert is saying below. 

Now, according to your rule, this workflow should start when an entry (document or folder) under \CLIENTS\VINI\Souscription de formulaire" is modified and the "Validation" field is set to "Originaux obtenux". The conditions on your screenshot show that the event occurred on an entry in a different folder, but you cropped it so we can't see what the event was or even if we're looking at the evaluation of this rule. So we can't really tell why that happened.

0 0
replied on March 29, 2017

The rule trigger is based on the Entry changing, you would need to change the MetaData value of the file to something other than "Originaux obtenus" and then change it back for this workflow to trigger.

0 0
replied on March 29, 2017

Steve Knowlton, this is what I did. The workflow didnt start anymore.

0 0
replied on March 29, 2017

I'd suggest you sign up for tomorrow's CFW (Var's - Consultation Forum Webinar) where one of the presales will do a web session with you to help you out.

0 0
replied on March 29, 2017

Hum ok, but first I'm going to make a new workflow ; let's start from the begining.

thank you all

0 0
replied on March 29, 2017

Are you wanting to trigger the workflow when you move the entry into

     \CLIENTS\VINI\Souscription de formulaire

or into

    \CLIENTS\VINI\#1 - Formulaire avec originaux obtenus

 

The path starts with must be the path that it is in when the workflow is triggered, so if you are moving into \CLIENTS\VINI\#1 - Formulaire avec originaux obtenus then that needs to be the path starts with value.

0 0
replied on March 30, 2017

Hi Bert,

 

Thank you to join.

Actually, my entry is in "\CLIENTS\VINI\Souscription de formulaire".

I want to trigger the workflow when my entry is in "\CLIENTS\VINI\Souscription de formulaire" and my field [validation] is changed. The action is moving the entry from "\CLIENTS\VINI\Souscription de formulaire" to "\CLIENTS\VINI\#1 - Formulaire avec originaux obtenus"

0 0
replied on March 30, 2017

The condition's order is important?

I mean [condition A + condition B] is the same that [condition B + condition A] ?

0 0
replied on March 30, 2017

The order is not important.

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

Sign in to reply to this post.