Domanda

I need to assign a Lookup Field in List A to an item from List B. In List A my items contain a Link with description, wich contains the Title i need to look up in List B. So my Workflow on List A should look like this:

  1. Get Link description from current Item and store it in a variable.
  2. Perform some textfunctions to get the correct string to lookup in List B.
  3. Assign this string to the Lookup Field in current Item.

Step 1 and Step 2 are already working, but i can't get Step 3 to work. Unfortunately i can't give you the exact Error because it is in German, but it says something like "Can't convert the typed in Lookupdata in requested type."

È stato utile?

Soluzione

You need to get the ID of the extracted title from the lookup list and set your lookup field with this ID :

  1. in the SharePoint designer workflow, in the WORKFLOW ribbon, click Local Variables.
  2. create & set a string local variable with the extracted title
  3. create a new Local variable as integer.
  4. set the integer variable with the ID of the lookup list item (from the lookup list) using the extracted title variable.

enter image description here

  1. Set List A's lookup value with the Integer local variable.
  2. Save , Publish and test.

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top