Process variable data type

Certified Associate Developer

I am creating a new process model in an application and when I try to set the data type of a PV! to a record type (named "DA Transaction")  It doesn't show me the option to use this record type or any other from the same application.

I looked in an older PM from 2020 in the same app and it does have PV! with the correct record type, but if i try to create a new PV in the old PM, again i cant find the record type...

I have no clue how to approach this, has anyone seen this before?

in the picture you see the old variables with the correct data type

and here you see that when i search for it, it doesn't find it. (I tried searching many different ways)

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Associate Developer

    Okay it was my mistake, I mistook the record type for a data type because everything was working fine eve though the data type which is based on the record type doesn't exist. 

    when I created it everything worked fine. although I still don't know how everything was working fine while using a data type that doesn't exist...

  • 0
    Appian Employee
    in reply to tommerr5996

    One thing to know about custom data types is that they can be deleted from the Appian Designer, but they technically will still always exist in Appian (a version will continue to exist after the object is deleted). The reason is for the exact reason we're seeing here - if you had an existing process model that uses that CDT, those processes will continue to use the old version of the CDT.

    However, since it doesn't exist as a design object, you can no longer select it for new variables Slight smile

Reply
  • 0
    Appian Employee
    in reply to tommerr5996

    One thing to know about custom data types is that they can be deleted from the Appian Designer, but they technically will still always exist in Appian (a version will continue to exist after the object is deleted). The reason is for the exact reason we're seeing here - if you had an existing process model that uses that CDT, those processes will continue to use the old version of the CDT.

    However, since it doesn't exist as a design object, you can no longer select it for new variables Slight smile

Children