Quantcast
Channel: Nintex Connect: Unanswered Threads
Viewing all articles
Browse latest Browse all 2462

Setting Enforce Safe Looping to no causes multiple tasks to be created... which all result in "something went wrong"

$
0
0

I have a workflow which implements a parallel action with 2 branches:

- Branch 1 : starts with a Wait until a status field has a specific value.

- Branch 2 : main branch which first initializes some columns and then, using a state machine, an email address is checked in a "CheckEmail" state. If it's not valid, the state is changed to "InvalidEmail" and a request data action will create a task for a specific user to provide a valid email address. Then the state will change back to "CheckEmail".

The issue I had was that 4 tasks were created for every item where the email was not valid. In the history however, I only had 1 entry for the request data action.

When I tried to open the first 3 tasks, I would receive an unexpected error "Something went wrong".

The ULS gave me the following information on this:

"Nintex.Workflow.NWHumanApprovalException: Cannot find a corresponding human workflow task id for this task. (Build: 3050)"

"Failed to handle form host page on initialize event."

After trying almost everything, I remembered that I disabled the safe looping. I enabled it, resetted IIS and tried it again and the issue was gone.

Is there anybody else with this behavior? Seems to me this is a bug...

I'm using Nintex Workflow version 3.0.5.0 and Nintex Forms v2.2.1.0


Viewing all articles
Browse latest Browse all 2462

Trending Articles