Changes

Trigger a Workflow from a Custom Browser Script

86 bytes removed, 14:57, 9 December 2013
no edit summary
* You must not select '''Let current user select target user from this role''' for the '''Routing''' of workflows triggered by script, as they will not execute.
* Because the workflow is triggered when the script executes it happens '''before''' the record is saved. If the workflow changes the [[Status]] or a Custom Field value, when the record on the screen is actually saved it will overwrite any changes made by the workflow by those on the page that is being saved. Accordingly you should include any Status or Custom Field changes within the [[JavaScript]] that triggers the Workflow.
* You must include validate.js on the page to trigger workflows with a custom script.
0
edits