User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:workflow_launch_conditions [2015/03/16 01:36]
joebordes
en:workflow_launch_conditions [2015/10/24 18:49] (current)
Line 2: Line 2:
  
 Launch conditions specify when the workflow must be executed. Launch conditions specify when the workflow must be executed.
 +
 +All workflows except scheduled are "//​save//"​ event based, which means that they will be evaluated //ONLY// when a record is saved from within the application. That save event will usually be some user creating or editing a record, but it could also be triggered from a webservice call or by some specially crafted code.
 +
 +Since workflows are triggered when we save a record the different launch options that we have are related to this event:
  
   * **Only on the first save**: Triggers the workflow when you create a new record. For example a welcome email would have this launch condition so it gets sent ONLY when the new contact is created.   * **Only on the first save**: Triggers the workflow when you create a new record. For example a welcome email would have this launch condition so it gets sent ONLY when the new contact is created.
Line 7: Line 11:
   * **Every time the record is saved**: Triggers the workflow every time you save a record, including the first creation save. This is ideal for calculated fields. For example the forecast amount field on opportunities uses this launch condition to calculate the forecast each time the record is saved.   * **Every time the record is saved**: Triggers the workflow every time you save a record, including the first creation save. This is ideal for calculated fields. For example the forecast amount field on opportunities uses this launch condition to calculate the forecast each time the record is saved.
   * **Every time the record is modified**: Triggers the workflow every time you edit and save your record, EXCEPT on the first creation save. For example, if we want to get an email each time a ticket is closed, we would use this launch condition so that even when a ticket is reopened and saved again we would get that email.   * **Every time the record is modified**: Triggers the workflow every time you edit and save your record, EXCEPT on the first creation save. For example, if we want to get an email each time a ticket is closed, we would use this launch condition so that even when a ticket is reopened and saved again we would get that email.
-  * **Scheduled**: Triggers workflow ​on a certain date/time. Time based workflows. These are so important that they have [[en:​scheduled_workflows|their own documentation page]]+ 
 + 
 +**Scheduled ​Workflows** are time based, not event based, so they are triggered ​on a certain date/time. These are so important that they have [[en:​scheduled_workflows|their own documentation page]]