Skip to main content
tommerr5996
August 31, 2023
Solved

Process variable data type

  • August 31, 2023
  • 7 replies
  • 0 views

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)

Best answer by abhayd3663

- Start typing "DA_....." and it should provide the suggetion.

- The ...^1 indicates the CDT is changed and PV points to the old/previous version.

7 replies

abhayd3663
August 31, 2023

- Start typing "DA_....." and it should provide the suggetion.

- The ...^1 indicates the CDT is changed and PV points to the old/previous version.

tommerr5996
August 31, 2023

good to know about the ^1

but I tried every way to search for it and neither "DA_TRANSACTION" nor "DA_AUDIT_LOG" exist at all.

abhayd3663
August 31, 2023

Are you able to search and open these CDTs ?

tommerr5996
August 31, 2023

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

peter.lewis
Employee
August 31, 2023

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 [emoticon:c4563cd7d5574777a71c318021cbbcc8]

tommerr5996
August 31, 2023

Good to know, thank for the info[emoticon:c28b2e4cc20f4ba28d1befdba6bed29c]