1. O R
O
Oro Workflows
Yevhen Shyshkin
yshyshkin@orocrm.com
C R
M
Oro Workflows 1
2. Definition
Workflow - the sequence of industrial,
administrative, or other processes through
which a piece of work passes from
initiation to completion.
Oro Workflows 2
3. Start
Join the Webinar
Joined
webinar
Watch Presentation
Attended
webinar
Finish Webinar
Finished
webinar
Leave
Webinar
Ask
question
Oro Workflows 3
4. Responsibility
● define procedural step for an entity
● transition between steps
● change entity properties in transition
Oro Workflows 4
5. Components
● Step — workflow state of an entity
● Transition — move between steps
● Attribute — field of an entity
Oro Workflows 5
7. Components
● Condition — rule that allows transition
● Action — additional operation to execute
during transition
Oro Workflows 7
8. Components
Transition X
Step A Step B
Check
conditions
Set
attributes
Execute
actions
Attribute 1
Attribute 2
Attribute 3
Oro Workflows 8
9. Configuration
● stored in YAML format in
Resources/config/workflow.yml
● contains full defition of all workflow
components
● loaded using CLI command
oro:workflow:definitions:load
Oro Workflows 9
10. Start
progress Close
Oro Workflows 10
Open
Demo example
In Closed
progress
Reopen
12. Tips and Tricks
● actions and conditions can be created or
overriden using DI tags
● ACL can be checked on transition level or
using special condition
● transition may have custom form type and
template
Oro Workflows 12
13. Coming soon...
● UI improvement
● action availability on a step level
Oro Workflows 13