Summary
In this chapter, you learned the following:
- A workflow is a business process and Alfresco embeds the Activiti workflow engine to execute advanced workflows.
- Business process definitions can be created using a text editor or the Activiti Designer.
- Logic can be added to workflows using expressions, JavaScript, and Java.
- Workflows are well suited to long-running processes and can include asynchronous steps triggered by external programs. In the example, you used the ActivitiRuntimeService, Alfresco web scripts, and actions to implement a process involving non-Alfresco users via e-mail.
- Timers can be added to a process using relative or absolute dates. Alfresco's workflow console and Activiti Explorer are handy debugging tools.
- Alfresco's simple workflows are configurable by end users but aren't as powerful or flexible as advanced workflows.
When setting up an advanced workflow for the first time, there are a lot of steps involved because you have to do all the work from mapping...