Community
Hello,
I am attempting to write a script to create a new item based on a workflow action, and then clone the BOM from the current item to the new item. However, when I run the script, it returns the following error: java.lang.IllegalArgumentException: id to load is required for loading.
Any suggestions as to what I am doing wrong?
Thanks
Presently adding BOMs to a new item (created in the same script) is not supported. This feature will be added in the future update.
Now you may need seperate the task to 2 scripts:
The frist script is used to create the new item, and the second script is used to clone BOMs to that item.