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

Question

Question

Conflict assigning Template and field by two workflow?

asked on April 27, 2015 Show version history

Hello All

 

I have two workflows that assign template and field values on creation and change.    

One workflow runs on schedule and creates new folder and assigns new changes to the fields, Scheduled run at night.   This workflow create three level folders from the specific number (from 33,000 field value from DB) 

 

Second, I also have another simple workflow that assigns parent template and fields when someone creates folder.

 

The issue is that when scheduled workflow runs it creates new folders.   The first  activates my second workflow.    Since they both are assigning field values to folders, they lock up the files  and in some cases  workflow stalls. 

 

This might be fixed by refining the rules but I can think of anything.   I would appreciate some direction here?

 

Thanks

0 0

Answer

SELECTED ANSWER
replied on April 27, 2015

Just add a condition to your second workflow to exclude the connection profile user from the first one. That way folders created by the scheduled workflow will not trigger the second one.

1 0

Replies

replied on April 27, 2015

Thanks for quick reply Miruna

 

So, I should create another profile for my second workflow with different user account? and use "user don't use first workflow user account"?

0 0
replied on April 27, 2015

No, you should add a condition to the starting rule for the second workflow that excludes the first workflow's user.

0 0
replied on April 27, 2015

Ok, both workflow can have the same profile with the same user account?

 

I already did it but I created another profile with another user account which I will remove the new profile if I don't need to use another account.  
 

0 0
replied on April 27, 2015

Thanks its working I removed the second profile and excluded the the user account from both workflows and it worked.    I did a manual test by logging in with workflow account and user account.     I will run the the first workflow this afternoon, I am sure it should hold.

 

Thanks for your input

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

Sign in to reply to this post.