Update Item in another site

  • 4 January 2016
  • 3 replies
  • 8 views

Badge +9

When an item is created in List A it creates an Item in List B. When the item is modified and the status of the item is changed to "Approved" , how do I update that item to Approved in List A.?  This is what I have so far.

 

161977_pastedImage_0.png

 

162098_pastedImage_1.png

 

162099_pastedImage_2.png


3 replies

Badge +9

I forgot to mention that List B was created on a subsite.

Badge +6

Some proposals: may be you can use the "Workflow Tasks" list to check if the status changed with your requested value or use a workflow site (scheduled) or if the approval is a branch of a flexi task for example, may be you can add an action like "Start workflow" and create another workflow that make your update.

Badge +7

Hi,

 

You can use the lists.asmx web service to update an item in another site.

 

162237_pastedImage_0.png

The syntax to go in updates(xml) field is in the following format:

 

<Batch onerror="Continue">

        <Method ID="1" Cmd="Update">

          <Field Name="ID">6</Field>

          <Field Name="Status">Approved</Field>

        </Method>

</Batch>

 

Hope that helps.

 

Jan

Reply