cortezaproject / corteza

Low-code platform
https://cortezaproject.org
Apache License 2.0
1.65k stars 375 forks source link

When I copy record values in a workflow to a new record, I cannot update the values without it updating the value in both records. #1778

Open lennyhorstink2 opened 7 months ago

lennyhorstink2 commented 7 months ago

Is there an existing issue for this?

Version of Corteza

2023.9.5

Current Behavior

I have a workflow that creates a new record and a step where I copy the values. Now, if I update any value in the new record, it updates also the value in the main record of which the values were copied.

image

image

image

Expected Behavior

If I clone values in a new record, I should be able to update them without it updating the data of the values of the record I cloned the data from.

The last screenshot above should show:

record.values.AccountName = account name (from the record)
recordB.values.AccountName = modified
recordC.values.AccountName = modified again

Steps To Reproduce

  1. You can test it on QC in the CRM instance,
  2. Go to the account module. There is a "CRM - Clone" button. The workflow it calls has ID 383351435045109761.
  3. Hit the button.

Environment and versions

No response

Anything else?

Reported first on the forum: https://forum.cortezaproject.org/t/copying-a-record-in-wf/2015/3

github-actions[bot] commented 5 months ago

Stale issue message