Giter Site home page Giter Site logo

globaltradingtechnologies / workflow-extensions-bundle Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 4.0 154 KB

Bundle for extended workflow management and automation

License: MIT License

PHP 100.00%
actions bundle symfony symfony-bundle transition transitions-triggering workflow

workflow-extensions-bundle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

workflow-extensions-bundle's Issues

Fix tests

Since workflow configuration issue is fixed now (symfony/symfony#20760) we should fix tests by using new symfony/framework-bundle version in tests

Port to Messenger for the scheduledjobs and async events

Are there any plans or a roadmap to support different job queues?

Symfony messenger is moving forward to really stable, so it would be very nice if the JMS JobQueue can be replaced by the messenger.

And pls dont get me wrong, im a fan of JMS JobQueue ;)

Cheers,
Andreas

Feature: add workflow subject as relatedEntity to the JMS Job

In our workflow setup we have some scheduled transitions for reminders we a subject enters a certain place, but we would like to clean those scheduled jobs if the subjects leaves the place using a different (or the same, but not scheduled) transition.

For this functionality I like to use the JMS Job repository like so:

$jobRepository = $entityManager->getRepository(Job::class);
$relatedJobs = $jobRepository->findAllForRelatedEntity($subject);

The current implementation of the ActionScheduler doesn't set the related entity on the JMS Job like:

$jobToSchedule->addRelatedEntity($workflowContext->getSubject());

Is there a specific reason that the related entity is not set or is a pull request welcome?

Error entity not found

$  ./bin/console doctrine:schema:create
[Doctrine\ORM\Mapping\MappingException]                                                           
  The target-entity JMS\JobQueueBundle\Entity\Job cannot be found in 'Gtt\Bundle\WorkflowExtension  
  sBundle\Entity\ScheduledJob#job'.

Can this bundle work without JMS\JobQueueBundle?

Wrong package configuration

This bundle is incompatible with symfony3.2

$ composer require gtt/workflow-extensions-bundle
Using version ^0.1.0 for gtt/workflow-extensions-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - fduch/workflow-bundle 0.1.0 conflicts with symfony/symfony[v3.2.0].
    - fduch/workflow-bundle 0.1.0 conflicts with symfony/symfony[v3.2.0].
    - fduch/workflow-bundle 0.1.0 conflicts with symfony/symfony[v3.2.0].
    - gtt/workflow-extensions-bundle 0.1.0 requires fduch/workflow-bundle ^0.1 -> satisfiable by fduch/workflow-bundle[0.1.0].
    - Installation request for gtt/workflow-extensions-bundle ^0.1.0 -> satisfiable by gtt/workflow-extensions-bundle[0.1.0].
    - Installation request for symfony/symfony ^3.2.0 -> satisfiable by symfony/symfony[v3.2.0].


Installation failed, reverting ./composer.json to its original content.

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.