The first thing I do when debugging this sort of issue is check the metadata after the retrieve step. What’s it returning to you? Does it actually get a set based on the retrieval conditions?
It does get sets but retrieved item metadata only contains recordID and contentID, which does not have ‘sInsert’ variable thats why bring the error msg.
So is there any easy way to add varaible in the retrieved metadata?
To help you properly we would need to see the Template and reproduce the issue. I suggest you open a technical support ticket through our website.
This way a technician will be able to help craft a solution based on your need, environment and any others infos required.
However once I use retrieve content Item, it shows metadata has been changed to contentItem Id and record id, in this case the create job function will not work since there is no variable sInsert1 in the current meta data
Same issue when I have to do batching/commingling using Retrieve Items plugins, most the metadata fields will be lost and it will retain only the sortkeys, record ids, and content record ids. The content sets id is also lost why the Job Present will trigger exception Metadata does not contain valid Content Set Item Collection . I can return back the individual values of runInsert of the metadata by using scripts but I need the Job Preset to ignore the contentset id and just pass the values in metadata to Output Preset?