Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual #9

Closed
freeyland opened this issue Feb 12, 2016 · 9 comments
Closed

Manual #9

freeyland opened this issue Feb 12, 2016 · 9 comments
Assignees
Labels

Comments

@freeyland
Copy link

Dear,
Would you have some kind of documentation or example how to youse your code.

Thanx,
Frederick

@iteman iteman self-assigned this Feb 13, 2016
@iteman
Copy link
Member

iteman commented Feb 13, 2016

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.

@bretrzaun
Copy link

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.

@freeyland
Copy link
Author

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

@iteman
Copy link
Member

iteman commented Feb 15, 2016

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 😅

@cymapgt
Copy link

cymapgt commented Apr 2, 2016

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

@iteman
Copy link
Member

iteman commented Apr 3, 2016

@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().

@cymapgt
Copy link

cymapgt commented Apr 5, 2016

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.

@iteman
Copy link
Member

iteman commented Apr 6, 2016

@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.

@iteman
Copy link
Member

iteman commented Nov 25, 2016

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

@iteman iteman closed this as completed Nov 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants