Change workflow status in other workflow

Hi ,

I have two workflows attached to the forms library.
One of them is fired when a new item is added and the other one is fired when an item is updated in the forms library.
Workflow 1 works fine with some actions.
Now, in workflow 2 I want to check a field value. If it is not empty then I want to put workflow 1 and the associated task list as completed.

Thanks...!!
me24hourAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

missjenniferdayCommented:
Hi,

Can you not just have one workflow that fires when an item is added OR updated, and just use branching logic to determine the actions that are to be followed?

That way, you wouldn't need to worry about how to "hook" into the on start workflow.

You COULD have a hidden checkbox field "Is first time run" on the forms library, that defaults to blank, then the workflow checks this to determine the path to follow i.e. on the first pass (create), the checkbox is ticked and the On Create actions are followed; on subsequent passes, a different set of actions (On Change) actions are followed.

Thanks

Jenny

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
InfoPath

From novice to tech pro — start learning today.