We have custom dialog which will be used in the dialog participant step.
Case 1: Saving under data/metaData (helpful in accessing across different steps under same workflow) The fields in this dialog needs to be saved under metaData as we need them in the further steps. So we are storing the field like ./metaData/watchEmails We see that values are not getting saved under metaData(/var/workflow/instances/server0/2021-01-04/new-model_26/data/metaData)
Case 2: Saving under history metaData (specific to workitem) If we save the field like 'watchEmails' then it is getting saved under (/var/workflow/instances/server0/2021-01-04/new-model_26/history/1609766229181/workItem/metaData)
Case 3: Saving under payload If we save the field like './jcr:content/watchEmails' then it will be saved under payload
Kindly help us in storing the fields as mentioned in Case 1 - It would be helpful in accessing the value across other steps.