Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:a:duplicate [2022/09/01 01:23] – removed - external edit (Unknown date) 127.0.0.1a_f:a:duplicate [2023/05/09 01:33] (current) sean
Line 1: Line 1:
 +{{tag>Index Action Action_List Business_Object Process Business_Rule}}
 +====== DUPLICATE ======
  
 +This action duplicates an instance of the specified business object or list. 
 +
 +===== Syntax =====
 +
 +''DUPLICATE'' AttributeIdentifier() [ ''TO'' AttributeIdentifier() ][ ''EXCEPT'' Id () ( '','' Id ())* ][ ''NO RULES'' ]
 +
 +Where the first attribute identifier identifies an object or list to duplicate and the second one – the list to duplicate the original list to. The ''EXCEPT'' keyword identifies attribute names that should be excluded from duplication.
 +
 +The ''NO RULES'' keyword creates an object without executing any rules at all. Be careful with this keyword as this may create an instance of the object with invalid data.
 +
 +<callout type="primary" icon="true" title="note">Business rules for objects created by ''DUPLICATE'' will not trigger on ''IS NEW''. Use ''CREATE'' instead.</callout>