LAE

 View Only
  • 1.  Create new field based on the value of a specific field

    Posted 06-12-2023 10:18

    How can I implement this script to updated transform node?

    if firstExec then C2 = null
    if C1.isNotNull() then C2=C1
    emit *
    emit C2

    <quillbot-extension-portal></quillbot-extension-portal>



    ------------------------------
    clef andrin
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: Create new field based on the value of a specific field

    Employee
    Posted 06-13-2023 07:48

    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.
    ------------------------------