Change Record Type to CDT

Certified Associate Developer

I Have a Requirement like, I have a Process Variable called 'DETAILS' which is of 'RECORD TYPE'.
post submitting a particular form the data will be writes to Records. Then I have to use a Script task in order to change the PV 'DETAILS' Type from Record to CDT and use the PV as a CDT type value for upcoming nodes 


  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to YELSOJU UPENDRA CHARY

    You don't have change all the nodes. Just add one script task where you cast the record type to CDT and save in the same Process Variable (Type CDT) that is being used everywhere. Can follow the same in different processes where you are having this issue.

    But eventually you would end up Writing your Entity Expression as Query records and your all other CDT based expressions to Record Type. I would recommend not to delay the changes at all levels as you are trying to transition from CDT's to Record Types. This would avoid any failure of referenced Items in the Application.

Children