Code Monkey home page Code Monkey logo

Comments (9)

iteman avatar iteman commented on May 22, 2024

I wrote a quick start guide to manage business processes with Workflower on Symfony application.

http://phpmentors.jp/post/135905985688/practical-symfony-28-bpm-with-workflower

It's written in Japanese, but it includes code that would help you.

from workflower.

bretrzaun avatar bretrzaun commented on May 22, 2024

I agree - some documentation (in english) would make this very interesting project understandable by a wider audience.
Workflow components are rare in the PHP world, which makes this one even more interesting.

from workflower.

freeyland avatar freeyland commented on May 22, 2024

Very difficult to read the examples with Japanese text. How hard would it be for you to translate?

from workflower.

iteman avatar iteman commented on May 22, 2024

A quick start guide in English will be available sometime soon.
It's not very difficult for me, but I'm quite busy and there is quality problem 😅

from workflower.

cymapgt avatar cymapgt commented on May 22, 2024

Hi, Once populating the workflow with the participants is it up to the implementer to control the execution e.g. a $workflow->execute() method?

from workflower.

iteman avatar iteman commented on May 22, 2024

@cymapgt In Workflower, a Role is mapped to a Swimlane of the workflow at source time to define the owner of the workflow elements on the lane, while a Participant is mapped to WorkItems at runtime to define the person (or not person) who will execute the Activity. And a Workflow object will check whether or not the given participant (usually the current user) has the role of the current activity on allocateWorkItem(), startWorkItem(), and completeWorkItem().

from workflower.

cymapgt avatar cymapgt commented on May 22, 2024

Thanks. I have managed to design a bpmn document and implement it successfully including with an exclusive gateway as advised. I guess the main areas to ensure that the Participant has required role, then if there is any process data to set it in the WorkItem and then fire the process.

from workflower.

iteman avatar iteman commented on May 22, 2024

@cymapgt Congratulations!

If you use PHPMentorsWorkflowerBundle, you can inject a WorkItemContext object by using phpmentors_workflower.work_item_context service to use a WorkItemContext object with the SecurityParticipant object.

from workflower.

iteman avatar iteman commented on May 22, 2024

The Quick Start Guide https://github.com/phpmentors-jp/workflower/blob/master/docs/GUIDE.md has just been added! 😄

from workflower.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.