Documentation on the execute script functionality of a SuperOffice form

Hi,

Is there any documentation available regarding SuperOffice forms firing a CRM script.  I.e. how do I start the script to read in the values of the submitted form.  Once I get that far I am probably ok with the rest.

Also what is the best way of debugging this.  Can you simulate the CRM script, so that you don't have to keep importing more forms each time you want to test the script.

Many thanks,

Trevor

RE: Documentation on the execute script functionality of a SuperOffice form

Hi Trevor,

in the script you use EventData to get the passed in values, just like how it's done in Triggers.

EventData ed = getEventData();
log(ed.getInputValues().toJson());
Av: Frode Lillerud 21. dec 2018

RE: Documentation on the execute script functionality of a SuperOffice form

Brilliant, thanks Frode.

Trevor

Av: Trevor Sharp 21. dec 2018