0

i have a small request in workflow. what i am trying to do is to create a new item in list B as an item in created in list A. I have to send an email as an item is created in list A and i have to send the link and id of the List A and List B. I know how to get the item link of List A but i am facing problem in order to give url link to another list items edit form.
This is my workflow
enter image description here

2 Answers 2

1

You will need to construct the other list item's edit form URL

First you add the site URL,
Select workflow context as a data source and current site URL as field from source

enter image description here

enter image description here

Now you'll need to write the second part of the URL /lists/yourListName/EditForm.aspx?ID=you can take this part from the item edit form URL

enter image description here

Last part is adding the newly created item ID

  1. Add a new lookup and select your other list name as the data source
  2. Select ID as field from source
  3. In the find list item section, select GUID field
  4. In the Value select your Create Item in action output parameter.

enter image description here

the result will be something like this:

enter image description here

0

When you use the action"Create list item" in your workflow, a variable named create appears in the action. The action also has the output clause which is denoted by Variable:Create1

At the workflow's run time, the variable create1 stores the list item ID of the item that is created in the other list.

Use this variable to generate the edit form link.

1
  • could you please provide me as to how should i get the id of the item. Commented May 2, 2018 at 12:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.