3 Replies Latest reply on May 4, 2016 6:40 PM by mchancevet@gmail.com

    Creating related records via set field step in script

    mchancevet@gmail.com

      Hello,

      I have a script that needs to create records in a table referencing TOs and fields in TOs dynamically.

       

      If I have the relationships set to create records, I can use the 'Set field by Name' and use script parameters to pass in calculated field names for the contextualisation.

       

      The script makes records and sets other fields ok.

       

      My issue is if there is any existing fields in the child table - it just overwrites the field values.

      How can I get the script to create a new record this way via the relationship.

       

      I can use 'go to layout' and 'new record' but I wonder if I can do it through the relationship.

       

      Thanks,

      Morgan