Changes

Trigger a Workflow from a Custom Browser Script

96 bytes added, 15:30, 13 April 2009
no edit summary
[[Workflow|Workflows]] can now be triggered based on a value in a [[Custom Fields|custom field]] on the object using a [[Browser|browser]] script. The [[Workflow|workflow]] id is passed to the system from the script.
In the browser script you would use the following syntax:<br>
'''Level 1''': _triggerwf(@opportunityid@,''workflowid'');<br>:Example: _triggerwf(@opportunityid@,98765);
'''Level 2''': _triggerwf(@eventid@,''workflowid'',26);<br>:Example: _triggerwf(@eventid@,98765,26);
('''26''' is the objecttype for Level 2 activities, and will be the same for all Level 2 workflows)
0
edits