FormHandlerTaskBase::RunFormTask (open)
Override RunFormTask with your task code. Throw exceptions if something fails and you want to be restarted, and use ResolveByRestart for a graceful continuation later
Syntax
LOADLIB "mod::publisher/lib/forms/tasks.whlib";
MACRO RunFormTask(RECORD result)Parameters
RECORD resultForm result
guidGUID of the result
idfieldipaddressIP address of the user
ipcountrycodeCountry code of the user from IP-based lookup
iscancelTRUE if the submit type is 'cancel'
ischangeTRUE if the submit type is 'change'
languagecodeLanguage code
modifiedModification date
pagedataresponseField values, as a packed record
setfieldsstatusForm status (either '', 'pending', 'final', 'cancelled')
submittypeSubmit type (either 'new', 'cancel', 'confirm' or 'change')
urlSubmission URL
useragentUser agent of the user
whenOriginal submission time
wrdguid