How to update Asset worknotes through workflow runscript

Rini1
Tera Guru

Hi team,

I have added a runscript in a workflow which updates the state and Assigned to when the Ritm is closed complete. Now I would like to update the worknotes field to runscript and I have added a line to it. But it isnt working and not sure why.

Attached the script for reference. Any help would be much appreciated.

 

Thanks

Rini

1 ACCEPTED SOLUTION

Hi Mark,

The script had the below line and updating it to true sorted the issue. Thanks for your help 🙂

gr.setWorkflow(false);

 

Kind regards

Rini

 

 

View solution in original post

5 REPLIES 5

It doesnt update only the worknotes and this field (work_notes) is available on the form (attached the screenshot).

 

Thanks