Copy Item with connected sub list items

Discussion created by Setup_and_DemonstrationA on Feb 26, 2018
Latest reply on Mar 12, 2018 by ChristofN

I am hoping you can help me.

I have a list with a sub list linked to it. Users have requested the ability to create an item based upon the current item they are working on, copying all of the content from the item in the main list and also the sub list to a new item in the same list which then opens.

For copying the main item I am simply using the Add List item command and using all of the existing fields – easy!

I can also use the open list item command and open the last item created by the user – simple!

However I am not sure how to copy across the sub list items which relate to the item being copied. Is this a case of using the execute script option? If it is, please could you let me know what this might look like (I’m not an expert in this by any means).

Thank you in advance for any help that can be given.