Support the ongoing development of Laravel.io →
Queues Architecture Installation
Last updated 2 years ago.
0

Hi zlanich!

I have not enough experience with workflow management in Laravel but I've tried to implement it in a simple way.

In my application, I receive a csv file which must be parsed, validated and ingested in database.

What I've done is an scheduled command that reads the storage path. When finds the file, move it to an internal folder and create a new row in DB. With that row I manage different status (ingested, parsed, validated..).

A second command checks the table that contains the file and executes what is required and update the status.

I know that using scheduled tasks is not the best way to manage that but could be possible using a combination of scheduled tasks and queues...

There is an option that I don't know in detail but I think it's possible to integrate some BPM engine like Activiti with Laravel using its API.

0

@mguinea

Did you find how to integrate Activiti with Laravel, please ?

0

https://packagist.org/packages/brexis/laravel-workflow

Calling this https://symfony.com/doc/current/components/workflow.html

Of course it requires coding to integrate your workflow in your app but if you do it well you wil be able to call different worflows configs for different results

0

Sign in to participate in this thread!

Eventy

Your banner here too?

zlanich zlanich Joined 9 Oct 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.