Issue with \Run Parallel Actions\"

  • 27 September 2016
  • 9 replies
  • 7 views

Badge +6

Today I came across with an issue with "Run Parallel Actions" control in Nintex Workflow 2010.

I set two actions under "Run Parallel Actions" - 1.  Legal Review and 2. Compliance Review. The comments of both Legal and Compliance are stored in two different workflow variables.  On running the workflow I receive two email intimations.  I opened each mail and accessed form and gave comments.  It is observed that after "Run Parallel Action" loop only the content remains with only one variable which is accessed last and content of one variable gets deleted.  Within the loop I stored the contents of workflow variable in respective list variables.  Even the list variable contents gets deleted.

I am not sure how this is happening and whether this is the functionality of the action.  Can some body help me to resolve the issue or suggest some other action which can capture more than one workflow variables in task forms and stores permanently.

cheers:)

Sunil 


9 replies

Badge +7

How do you get comment ? Task form ?


I would consider something like both variables are initiated empty when form loads :

- you have VarA et VarB, both initalised at empty value

- the first branch set VarA and leave VarB empty

- the second branch set VarB and leave VarA empty

In this case, one of your two variables would be empty, whatever you do.

Maybe you should try to show both variables value on form to see what happens ?

Userlevel 5
Badge +12

Hello,

Can you screen shot your workflow?  It seems that you are running this parallel inside of a loop perhaps: " Within the loop I stored the contents of workflow variable in respective list variables."   It is very easy to overwrite information when using a loop, so I'd like to have a better feel for what you are doing by seeing it visually.


Thanks

Mike

Badge +6

Hi Thomas and Mike,

Original WF segment was as below:

192777_pastedImage_4.png

Screen shot of one of the Request Review where I store comment in Workflow variable.  This is settings in Task Form Multi Line control

192736_pastedImage_2.png

Stored in List variable through "Set Field Value" as

192776_pastedImage_3.png

But at last I get value for only side variables either Legal (Both WF and List variables) or Compliance (both WF and List variables)

Sunil

Badge +7

Maybe adding a "Commit pending changes" action after each update item could be worth trying....

Badge +6

Tried, but did not work.

Badge +9

Hi,

I had one issue with the parallel conditions. Following are the things that I think are causing the error

  • There are two branches in your workflow and the workflow works when both the conditions are satisfied i.e. Both compliance and Legal review required are yes
  • If any of the condition is no then Request review and Set field value wont be executed for other branch also.

If this is your issue then its the default behavior of the Nintex Parallel Actions

Userlevel 5
Badge +12

Thanks Sunil, can you elaborate what you meant by "loop" in your original post?   

Badge +6

Hi Aditya,

In my case both the conditions were True.  But still the issue.  I think this is the default behavior of Run Parallel Action.

Hi Mike,

Loop word I used for "Run Parallel Action" and other actions under it.

Cheers:

Sunil

Badge +2

Hi,

I am also having this problem.

If this was default behavior it would be consistent, I have another workflow with about 8 separate tasks, the comments work fine with those. - I will try copying a snippet from an existing workflow to see if the problem persists.

But even any new workflows I create seem to have this issue.

The last task to be completed will save the variables but the first will not.

Have also tried one task form.

Will have a play around and try to sort this out but any advice would be greatly appreciated. Confirmation that this is how parallel actions work would also be appreciated though again it was not working like this previously..

213600_pastedImage_1.png

Reply