Differences

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

Link to this comparison view

Next revision
Previous revision
en:extensions:workflowdesigner:examples [2014/01/01 17:13]
swarnat created
en:extensions:workflowdesigner:examples [2014/06/15 20:11] (current)
swarnat [Execute Workflow only once]
Line 1: Line 1:
 ====== Examples ====== ====== Examples ======
  
 +==== set custom value to drop down ====
  
 +You want to set a **value into a drop down field**, base on some conditions? **Use the "​function"​ feature.**
 +Example: {{:​en:​extensions:​workflowdesigner:​selfdefined_selectvalue.bin|}}
  
 +==== Execute Workflow only once ====
 +
 +This will represent the same function like the trigger "​**Until the first time the condition is true**"​ of the internal Workflow module.
 +
 +{{:​en:​extensions:​workflowdesigner:​executeuntilfirstconditionistrue.jpg|}}
 +
 +The first line is the logic. You only need to configure the Condition task in this first line.
 +If it is **false**, nothing else is happen and the condition is checked again on next save.
 +If **true**, the condition will never checked again and the workflow is never executed again, too.
 +
 +Everything you want to executed only once for every record, you need to connect to the //​**true**//​ output of the condition.
 +There could be also multiple combined tasks.
 +
 +Download:
 +{{:​en:​extensions:​workflowdesigner:​execute_only_until_condition_is_true.bin|}}
 + ==== collect open Invoice for Organization ====
 +
 +If you want to collect all unpaid invoices for one company you could look at the following example.
 +
 +It will be running from the sidebar of an organization record and send an eMail to the address of the current user, which look like:
 +{{:​en:​extensions:​workflowdesigner:​collect_invoices.png?​nolink|}}
 +You could modify the workflow to create comments or other messages with the invoice list.
 +Download: {{:​en:​extensions:​workflowdesigner:​collect_open_invoice.bin|}} ​