Copyright (c) 2023, Intercom, Inc. (legal@intercom.io) with Reserved Font Name "Open Sans".
This Font Software is licensed under the SIL Open Font License, Version 1.1.Copyright (c) 2023, Intercom, Inc. (legal@intercom.io) with Reserved Font Name "Open Sans".
This Font Software is licensed under the SIL Open Font License, Version 1.1.Skip to main content
Groovy Script - Edit Form Fields
Updated over 2 months ago
Description: Sample Groovy script for editing form fields.
Context: App
Remark: Accessible in 'Post' task mode only.
Script:
def execute(){
/*
* This groovy script gets form detail via form code and edit fields for that form.
*
*/
// If this is true, system will return details of latest message else will return details of ORI message.
boolean isForLatestMsg = false;
// Need to provide form code of the form for which fields should be updated.