oro workflows

Post on 04-Jul-2015

267 Views

Category:

Software

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

Overview of Workflow functionality in OroPlatform and OroCRM. Demo bundle is accessible here: https://github.com/yshyshkin/DemoWorkflowBundle

TRANSCRIPT

Oro Workflows 1

Oro Workflows

O O

MC

R

R

Yevhen Shyshkin

yshyshkin@orocrm.com

Oro Workflows 2

Workflow - the sequence of industrial, administrative, or other processes through which a piece of work passes from initiation to completion.

Definition

Oro Workflows 3

Joined webinar

Attended webinar

Start

Finished webinar

Join the Webinar

Watch Presentation

Finish Webinar

Leave Webinar

Ask question

Oro Workflows 4

Responsibility

● define procedural step for an entity● transition between steps● change entity properties in transition

Oro Workflows 5

Components

● Step — workflow state of an entity● Transition — move between steps● Attribute — field of an entity

Oro Workflows 6

Components

Step A Step BTransition X

Attribute 1Attribute 2Attribute 3

Oro Workflows 7

Components

● Condition — rule that allows transition● Action — additional operation to execute

during transition

Oro Workflows 8

Components

Step A Step BTransition X

Check conditions

Set attributes

Executeactions

Attribute 1Attribute 2Attribute 3

Oro Workflows 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 10

Open

Demo example

ClosedIn

progress

Startprogress Close

Reopen

Oro Workflows 11

Demo example

https://github.com/yshyshkin/DemoWorkflowBundle

cd <project_path>/srcmkdir Acmecd Acmegit clone git@github.com:yshyshkin/DemoWorkflowBundle.gitcd DemoWorkflowBundle

Oro Workflows 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 13

Coming soon...

● UI improvement● action availability on a step level

Oro Workflows 14

Questions & Answers

top related