I'm not sure if you are referring to the Transform in the Data360 Analyze product, but if you are then please see the example below. However, the simple method of just copying an input field into a new field is that shown for the 'C3' field. Note in all cases you need to define the data type of the new field in the ConfigureFields property and that the assignment of the value to the new field may fail if there is a mismatch between the data type of the input field and that of the output field.
Also see the Help documentation that discusses the use of Python Scripting for users of the legacy LAE product
https://d3sa-preview.infogixsaas.com/docs/dist/help/Default.htm#l-migration/script-to-python.htm

------------------------------
Adrian Williams
Precisely Software Inc.
------------------------------
Original Message:
Sent: 06-12-2023 10:18
From: clef andrin
Subject: Create new field based on the value of a specific field
How can I implement this script to updated transform node?
if firstExec then C2 = nullif C1.isNotNull() then C2=C1emit *emit C2
------------------------------
clef andrin
Knowledge Community Shared Account
------------------------------