How to update a specific field in a CDT?

Hi,

I am looking for a way to update a CDT field after each step of a process.

I am building a recruiting process. After each user task in the process model I would like to update the candidate CDT and write that to the datastore. However when I try to do so, I end up creating a new line (a new candidate everytime). But actually I just want to update the existing candidate.

It should work something like this:

Initial dataset:

candidateId name phoneInterview OnSite
1 Emma null null

After the phone interview:

candidateId name phoneInterview OnSite
1 Emma true null

After the OnSite interview:

candidateId name phoneInterview OnSite
1 Emma true true

I do have a running application, but it uses a workarround. In addition to the candidate CDT I am using a phoneInterview and a onSite CDT. Both CDTs have a foreign key candidateId.

How, can I achieve the same only using the candidate CDT? Thanks.

Best regards Karl

  Discussion posts and replies are publicly visible