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

Question

Question

Workflows Not Updating with Added Activities

asked on February 4, 2016

We have several workflows that were not completing as expected. To troubleshoot the problem I added the Track Tokens activity into the workflow in question. I then published it and told Workflow to update instances that are currently in progress. This specific workflow has a step that repeats every minute until a condition is satisfied. Even after that minute, the Track Tokens activity is not being ran and I cannot figure out why. Does anyone have any suggestions? Below is a screenshot of the setup.

1 0

Answer

SELECTED ANSWER
replied on February 4, 2016

The currently running activity will not update. In this case, the currently running activity would be the Repeat.

0 0
replied on February 4, 2016

If that is the case, there is no way for me to see what values are being evaluated? Am I able to change a value in the database so that it will move on?

0 0
replied on February 4, 2016

That's correct. You can't add Track Tokens after the loop starts.

0 0
replied on February 4, 2016

The main issue for this particular problem is that the "Query Employee Record in InforExchange 2" activity should be querying a SQL database for a specific ID number and then the Update AD Status Value updates the respective token with the value from the Status column from the previous lookup. The "Check to See if AD Account has Been Created" repeat evaluates if the status of that token is set to "AD Accnt Created". It not, go back through the repeat. In the database though, the record does have the status column set to that value. What would be the best way to troubleshoot why the workflow instance is not seeing that? I have tested the database connection and it works correctly.

0 0
replied on February 4, 2016

If you restart the workflow, the new instance would run Track Tokens since it would run with the updated definition.

0 0
replied on February 4, 2016

Say it aint so Joe! The workflow in question is part of an onboarding process that is started within Forms. It would have to go back through a long approval process before it hits the workflow again. Is there no other way?

0 0
replied on February 4, 2016

Sorry!

How about a copy of this WF that retrieves the form data from this specific Forms instance to start (rather than being started by Forms)? Just so you can troubleshoot the WF part independently of the bigger process?

0 0
replied on February 4, 2016

If I manually right click the instance in Workflow and tell it to End Workflow-> Complete, will that tell Forms that it has completed?

1 0
replied on February 4, 2016

If the service task in Forms was set to wait for it to complete, then yes.

0 0

Replies

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

Sign in to reply to this post.