Skip to main content
Nintex Community Menu Bar

Update List with Web Service UpdateListItems

  • June 12, 2019
  • 2 replies
  • 66 views

Forum|alt.badge.img+10

Hi there,

 

I want to update a list with the web service "updatelistitems".

I am struggling with the SOAP.

 

I want to achieve this:

2533iEFD04F142542247B.png

(this is from another workflow where I did the same, but was able to use the "update item" action as I am on the same site collection)

 

So I want to update the column "Verwendung" with the string "Belegt" where Title = {WorkflowVariable:slotVorgangsnummer} within the list "Vorgangsnummern".

 

So within the SOAP editior it must be somehow something like this:

 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/">
<soap:Header/>
<soap:Body>
<m:UpdateListItems>
<m:listName>Vorgangsnummern</m:listName>
<Batch OnError="Continue">
<Method ID="1" Cmd="Update">
WHERE <Field Name="Title">{WorkflowVariable:slotVorgangsnummer}</Field>
<Field Name="Verwendung">Belegt</Field>
</Method>
</Batch>
<m:updates/>
</m:UpdateListItems>
</soap:Body>
</soap:Envelope>

 

So basically I am struggling getting the condition into my code.

 

Any advice?

 

Cheers

mai-kel

 

 

 

 

 

 

 

2 replies

Forum|alt.badge.img+14
  • Scholar
  • June 12, 2019

use update multiple items action to update items at different sitecol


Forum|alt.badge.img+10
  • Author
  • Nintex Partner
  • June 13, 2019
:D :D :D