My process involves the CallActivity, and I need to return from the sub-process to the main process. However, using moveActivityIdToParentActivityId would result in the loss of the history records. I want to retain the history records. What should I do?
I have tried moving the current CallActivity from the main process to the previous task node directly. Although this can retain the history records, the variables in the sub-process will not be output to the main process.
Using moveActivityIdToParentActivityId can output sub-process variables to the main process, but the process records will be lost.