share point list A & list B
for example
list A fields | list B fields
text 1 | Name
text 2 | text 1
Button | text 2
workflow(2010) will generate a hyperlink in list A button field for each item added to list, upon clicking on button it will redirect to list B with auto populated fields text 1, text 2 from list A(Item ID) and user will enter name click save in list B. once saved workflow(2010) will send a notification. able to do the retrieval using java script 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 struggle where I was doing wrong.
Please help, let me know if need more info.
Thanks in advance