Skip to main content
June 6, 2023
Question

Error in Saving Data of List of CDT into LabelValue Type Variable.

  • June 6, 2023
  • 4 replies
  • 0 views

Error writing to process variables (Cannot derive list type from List of Variant in which to store data of type List of Variant, for variable 'pv!extracteddoccdt'.) (Data Outputs),

Hi I'm trying to save data which is of type list of CDT into a variable called "extracteddoccdt" which is of type Labelvalue and for some reason i'm getting the above error which i'm unable to understand, any help and guidance on how to resolve this issue would be very helpful. Below are some screenshots related to the error.

    4 replies

    harshitb6843
    June 6, 2023

    Label Value is not the same as the list of CDT or even CDT. They are more like the dictionary. 
    Check this documentation - docs.appian.com/.../Populating_Label_Value_Inputs.html

    June 6, 2023

    Why you are not saving it in a pv! of type List of DU_Pkg...CDT?

    June 7, 2023

    Hi sanchit, we are configuring IDP Process model and using for my requirements. So, we are proceeding as per IDP configuration.

    harshitb6843
    June 7, 2023

    Then you need to cast it in the proper way. Refer the documentation link I attached above.