Skip to main content
Nintex Community Menu Bar

Error after successful completion

  • January 3, 2020
  • 4 replies
  • 27 views

Forum|alt.badge.img+7

I have a site workflow that is triggered by a list workflow in the same site (Start Workflow action), and a list workflow in a different site collection (web service call). The workflow runs to completion and does everything it's supposed to do when triggered from either source. When triggered by the Start Workflow action, everything is perfectly normal. When triggered by the web service call, the workflow throws an error, and all of my customer workflow logging notifcations are missing.

When triggered with the Start Workflow action, normal logging messages appear:

6068i11680A0EC7E399B5.png

When triggered with the web service call, the workflow runs successfully to completion then fails with this output. None of my custom logging is present.

6067iD8CA46C7FB0C1A13.png

The error log has a message that the workflow could not update the item; however, multiple items are updated and it updates everything it's supposed to.

 

Any ideas?

 

4 replies

Forum|alt.badge.img+12
  • Scholar
  • January 3, 2020

@jeff .....what credentials you're using to run web service? Ususally one should use Service Account set as Nintex constant. Check the permission of account you're using on target site. For web service call they will need access at site level too.


Forum|alt.badge.img+7
  • Author
  • Nintex Partner
  • January 3, 2020

Hi, thanks for responding. I am using a service account set up as a Nintex constant, and it has permissions in the destination site. The workflow is running to completion; records are being updated as expected; and generally everything is working just as it should with the exception of this odd error and the missing log entries.


Forum|alt.badge.img+12
  • Scholar
  • January 6, 2020

@jeff ...Can you check the data types of workflow variables and the columns they are updating are valid or not? It seems the column is expecting some different kind of data type.


Forum|alt.badge.img+7
  • Author
  • Nintex Partner
  • January 6, 2020

Hi, thanks for responding.

 

As far as I can tell they are correct. The workflow is being triggered from both a workflow in the same site (using a Start Workflow action), and from a workflow in another site collection (using a Web Service Call) and it's only the Web Service Call that's ever experiencing the error message. The record always seems to update whether the error occurs or not.

I'm going to try and look at it again today; maybe re-create it by exporting, deleting, importing.