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

Question

Question

Two-way traffic in Workflow

asked on July 27, 2015

Hi Everyone,

I am making a workflow where I have to route a shortcut to a document to a user and the user should route it to another user and vice versa until they are satisfied with it. I would like to know which activity will let me do this dynamically when the user chooses a staff member in a list (field that have already created) he may route it to someone else and vice versa.

Thanks for the help.

Regards,

ketsia

0 0

Replies

replied on July 28, 2015

Ketsia,

Can you confirm once the initial user chooses a staff member in the list, these 2 users do not change for the rest of the process ? 

0 0
replied on July 28, 2015

Hi Stephane,

Based on my requirements the two users will not change for the rest of the process but they might as well include another staff if one is not present on that day. So in the staff list which is specific for this workflow they must be able to choose anyone one from it. Do u have any idea how this might be done we need to be able to have this flexibility to go  from a folder to another and back. Please note that this workflow has also other activities.

 

Regards,

Ketsia

0 0
replied on July 31, 2015

Hi Ketsia,

 

In general, the Conditional Sequence in your current Workflow will work, but it will be limited by the number of Conditional Sequences inserted. In addition, the process will end after all the conditions are met.

To simplify the Workflow, I would recommend using Repeat to create a repeat loop in the Workflow. This will repeat the same steps for each user as many times as you like.  

 

Please see below for an example of a Workflow.

  1. Assign Field – you can configure this field to as many users as you like
  2. Wait for Entry Change /  Entry Field Has Changed
  3. Retrieve Field Value
  4. Route Entry to Folder, select “Create a short cut to it” under the Action tab. This will create a shortcut under the user’s folder.
  5. Insert Repeat to create a repeating loop
  6. Under the Repeat bracket, insert Wait for Entry Change / Entry Field Has Changed. This will pause the Workflow until another user has been selected. Any changes to the metadata field will affect the original document.
  7. Insert Delete Shortcuts. This will delete the first shortcut. The reason why we insert this function is because Workflow needs to generate a Shortcut from the original document. The Shortcut will remain in the original folder if it is not deleted.
  8. Retrieve Field Value again
  9. Route Entry to Folder, select “Create a short cut to it” under the Action tab.

 

Also, make sure you specify Starting Entry for all the steps so Workflow can reference to the original document for all the Shortcuts.

I hope this helps!

 

Here is an example of how the Workflow works in a test environment.

  1. Test documents
  2. We can assign a user using the metadata field

 

  1. Once the user (User A) has been assigned, workflow will create a shortcut and route it to that user’s folder (User A)
  2. From here, user A can review the document and pass the shortcut to user B by using the metadata field

 

 

  1. The shortcut has now been routed to user B’s folder. User B can review this and pass it onto user C

 

  1. This can be repeated an infinite number of times due to the Repeat loop in the Workflow

 

 

You are not allowed to follow up in this post.

Sign in to reply to this post.