Skip to main content
Nintex Community Menu Bar

Error When Attempting to Delete

  • December 15, 2018
  • 1 reply
  • 12 views

Forum|alt.badge.img+7

I'm totally getting owned by Nintex today...LOL.

In a photo library (if that makes any difference) I set a variable to the ID number of an item I want to delete, then use the "Delete Item" action to attempt a delete, and it throws an error. Here's the relevant segment of my workflow:

workflow snippet

"Set Variable" gets the ID number of the item I want to delete; it's noted in the history (below). The "Run if" runs if the ID > 0. Here's the Delete Item configuration:

Delete Item Configuration

Without fail I'm getting the following error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information):

Workflow history log

Any thoughts on why I'm getting this error?

Thanks.

1 reply

Forum|alt.badge.img+8
  • Nintex Employee
  • December 28, 2018

Is the 'intExistingPhotoID' variable an Integer, Number, or a List Item ID variable type? I am able to successfully delete from a Photo Library using the List Item ID variable type by a 'set variable' action. If it is already this type of variable, try using a 'Log to History' action to output the variable and confirm that it is in fact being set in the 'Set Variable' action.

221765_pastedImage_4.png

221764_pastedImage_3.png

221763_pastedImage_2.png