Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:extensions:workflowdesigner:examples [2014/01/08 12:49] swarnat |
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.** | 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|}} | Example: {{:en:extensions:workflowdesigner:selfdefined_selectvalue.bin|}} | ||
- | ==== collect open Invoice for Organization ==== | + | ==== 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. | If you want to collect all unpaid invoices for one company you could look at the following example. | ||
Line 11: | Line 28: | ||
{{:en:extensions:workflowdesigner:collect_invoices.png?nolink|}} | {{:en:extensions:workflowdesigner:collect_invoices.png?nolink|}} | ||
You could modify the workflow to create comments or other messages with the invoice list. | You could modify the workflow to create comments or other messages with the invoice list. | ||
- | Download: {{:en:extensions:workflowdesigner:collect_open_invoice.bin|}} | + | Download: {{:en:extensions:workflowdesigner:collect_open_invoice.bin|}} |