I have your typical parent child list scenario. I use the ID column in the parent list an a unique identifier and use a lookup column in the child list keyed to the parent lists ID column.
Typically when you have both web parts, selecting a new item in the child list brings up a dialog box to insert a new record, however prior to doing that you will have to select the parent list ID from a drop down. I want this column to be preset to the parent list ID column so when a new entry is made the end user does not have to make that selection for himself.
Yes I know you can do this with Java and have seen a few example of this. My understanding is you can do this with a workflow as well and have it trigger on create or edit.
In SPD2013 I create a list workflow and the first step is an action to set field (in this case my lookup column in the child list) to a value. I Set this to the parent list data source ID field................
This is where I am having issues. I am new and it is a bit confusing as how one would grab the as it seems like no matter what I try the workflow does not seem to work. IT shows as completed but the child list lookup column is still not presetting itself on a new item entry.
Can someone please give me a clear example of how one does this sort of thing. I have searched all over and cant find what I am looking for.
fr0stsp1re