cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Can I update a different item than the workflow is running on?

Jump to solution

I am running a workflow on 1 item.  As the last step, I am trying to update the next item by using an Update Item Action.

Update specifies the same list I am currently on

Where specifies ID = varID (which I previously stored). 

Then I select 1 field to equal a variable.

I keep getting an error, "An error has occurred".  I tried to add Commit pending changes before the Update Item, but it did not help.

Any ideas?

Labels: (2)
0 Kudos
Reply
11 Replies
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

did the error give you anymore info than that?

what type is varID?

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

No, the error did not give anymore information.

Prior to the Update Item action, I do a Query List to pick up the ID of the item I want to update.  I save this ID in a variable called varID (Number format).  

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

What if you use list item ID type for your variable?

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

I created a new variable with a type of List Item ID.  I still get an error message - "An error has occurred in Request Approval".  Do you have any other ideas? 

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

Can you show us your workflow and configuration of the actions. It might not be the update action causing the issue... 

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

Sure, Please see images below of workflow, 3 enabled steps and Workflow Variables.  If the images are too small, let me know.  Thanks for your help.

CONFIGURE - RETRIEVE NEXT STEP NBR:

CONFIGURE - IF NEXT STEP IS AUTOMATIC:

CONFIGURE - AUTOMATICALLY COMPLETE THE NEXT STEP

WORKFLOW VARIABLES:

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

what types are disposition and varDispositionComplete?

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

Disposition is Single line of text

varDispostionComplete Single line of text

0 Kudos
Reply
Workflow Hero

Re: Can I update a different item than the workflow is running on?

Jump to solution

Hi Cassy,

Any thoughts on what the issue may be?

0 Kudos
Reply