I have two SharePoint lists: list A & list B.
For example
list A fields: text 1, text 2, Button
list B fields: Name, text 1, text 2
Workflow(2010) will generate a hyperlink in list A button field for each item added to list A, upon clicking on button it will redirect to list B with auto populated fields text 1, text 2 from list A (here used list A Item ID in URL) and user will enter Name & click save. [![enter image description here][1]][1]
Once saved workflow (2010) will send a notification. able to do the retrieval using JavaScript which was working fine, after recreating the workflow to 2013 while testing it, able to retrieve the values from list A to list B but it is modifying existed item in list B with same ID instead creating new item, and sometimes giving page not found error after loading few seconds.
For example list A item ID 100 which will be passed to list B newform.aspx?ID=100
(workflow generated URL in list A) while retrieving the values from list A and populate in list B newform.aspx
. Once clicked on Save, it is modifying list B item with ID 100 which is already there in list B. this supposed create a new item with unique ID.
Trying to find out where I was doing wrong.
Please help, let me know if need more info.