I have been trying to pull in the resolution notes from an approval flow in the flowchart bpm tool. With no success. I have tried several things with a script task in the flow but am not able to figure out exaclty what is needed to get it to update the main record with the resolution notes feild from the task. Any help is very much appreciated

I have the approver custom feild on the main record updated with this script task:

I tried adding different things to this to get the resolution notes to pull into a custom field I have on the main entity called notes.
but everything I have tried so far does not work.
I have asked the googles and AI but nothing again seems to work.
Any help is very much appreciated.
Thank You
Jeff
I have the approver custom feild on the main record updated with this script task:
I tried adding different things to this to get the resolution notes to pull into a custom field I have on the main entity called notes.
HTML Code:
notes = bpm\processEntity\attribute('resolutionNote');
I have asked the googles and AI but nothing again seems to work.
Any help is very much appreciated.
Thank You
Jeff
Comment