Changes

Trigger a Workflow from a Custom Browser Script

82 bytes added, 20:46, 3 December 2009
no edit summary
[[Workflow|Workflows]] can 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.  ==Syntax==:<font size="3">'''_triggerwf(''objectid'',''workflowid'',''[[Entity IDs|entityid]]'');''' </font>
'''NOTE''': If you are using a script initiated by a For [[Workflow|workflowworkflows]] in triggered by a [[UTABrowser Script]] you must ensure that the status is not used by any other within a [[Workflow|workflowUTA]]. This is because you can only have one must set '''Trigger When''' to '''--Deactivate--''' rather than selecting a [[Workflow|workflowStatus]] per status.  
==See Also==
* [[Entity IDs]]
[[Category:Workflows]][[Category:JavaScript]][[Category:Custom Fields]]
0
edits