Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 07 12:42

    jmettraux on master

    2020 Use require: when preparing hoo… (compare)

  • Dec 19 2019 00:51

    dependabot[bot] on bundler

    (compare)

  • Dec 19 2019 00:50
    jmettraux closed #17
  • Dec 19 2019 00:50

    jmettraux on master

    Update rack requirement from ~>… Merge pull request #17 from flo… (compare)

  • Dec 19 2019 00:45
    dependabot[bot] labeled #17
  • Dec 19 2019 00:45
    dependabot[bot] opened #17
  • Dec 19 2019 00:45

    dependabot[bot] on bundler

    Update rack requirement from ~>… (compare)

  • Sep 23 2019 21:23
    Subtletree commented #30
  • Sep 23 2019 13:55
    jmettraux closed #30
  • Sep 23 2019 13:55
    jmettraux commented #30
  • Sep 23 2019 13:54

    jmettraux on master

    Set node['tree'] when rewriting… (compare)

  • Sep 23 2019 04:39
    Subtletree edited #31
  • Sep 23 2019 04:37
    Subtletree edited #31
  • Sep 23 2019 04:24
    Subtletree edited #31
  • Sep 23 2019 04:23
    Subtletree edited #31
  • Sep 23 2019 04:23
    Subtletree opened #31
  • Sep 20 2019 05:42
    jmettraux commented #30
  • Sep 20 2019 03:45
    Subtletree commented #30
  • Sep 20 2019 03:41
    jmettraux edited #30
  • Sep 20 2019 03:41
    jmettraux assigned #30
Ryan Scott
@Subtletree
trace 'a'
sequence
  on 'S0'
    trace 'S0'
  trace 'b'
trace 'c'
In this situation, when the sequence has been left, is the should the trap be deleted?
Ryan Scott
@Subtletree
Yeah leave the signal/trap one to me.
John Mettraux
@jmettraux
yes, I think that the trap should be deleted
IIRC, the on specs explore those cases, there is a way to set an on / trap that stays
argh, cannot find
would be good to agree on some documentation at first, then we align the code on it
I'm ready to discuss all those points
Ryan Scott
@Subtletree
Sounds good. I'll write up some expectations today for how various trap types and ranges should work.
John Mettraux
@jmettraux
please tell me if I can help in any way
Ryan Scott
@Subtletree
will do!
Pravin Kambley
@pravinbkambley_gitlab
Hi John, I am planning to automate my email workflow
Screen Shot 2019-11-16 at 10.45.22 AM.png
Can I use the Flor Workflow engine to achieve it?
John Mettraux
@jmettraux
hello, yes you can use flor to do it, but your workflow is so simple that a timer might be sufficient instead
Pravin Kambley
@pravinbkambley_gitlab
we are just starting with it
please help me understand Timer? Are you talking Timer in Flor
we have more use cases
Pravin Kambley
@pravinbkambley_gitlab
e_commerce_workflow.5321fa8.f8a87df.png
Do you have UI or Modeler to design the process definition?
Pravin Kambley
@pravinbkambley_gitlab
Can we use flor and integrate it with bpmn-io/bpmn-js to design the process?
John Mettraux
@jmettraux
@pravinbkambley_gitlab no, there is yet no Modeler in flor
yes, you could use bpmn-io/bpmn-js to design a process, but you would have to manually translate it to flor's language
Sorry, by "timer", I was not referring to a flor timer but to a process/thread in your application looking at your entities and changing their states for the 1h delay, 1 day delay etc...
I think that the upcoming Trailblazer will be integrating BPMN, but I am not sure how they are faring http://trailblazer.to/blog/2017-12-trailblazer-2-1-what-you-need-to-know.html
Pravin Kambley
@pravinbkambley_gitlab
Thanks, John.
I think https://zenaton.com/ could be the solution that fits our needs. But, certainly, I am giving Flor a serious exploration to have a homegrown system and extendable to our existing product
Ryan Scott
@Subtletree
Flor is awesome if you think your product might get quite complicated and need some bespoke workflow handling. I have some processes which need very specific handling and have found flor always has a solution.
I've never tried a tool like zenaton though so can't compare
Pravin Kambley
@pravinbkambley_gitlab
Thanks, Ryan, I am exploring Flor to handle our custom workflow problem.
John Mettraux
@jmettraux
@Subtletree thanks for your support! :-)
Pravin Kambley
@pravinbkambley_gitlab
John & Ryan, appreciate all your inputs. Honestly, I admire the efforts put up by the Flor development team.
John Mettraux
@jmettraux
@pravinbkambley_gitlab :-) we hope you'll find the right tool for your effort
Pravin Kambley
@pravinbkambley_gitlab
thanks
Our development team is implementing an eCommerce workflow using Flor. We are looking forward to your support :)
John Mettraux
@jmettraux
oh I am surprised, I thought you would go with Zenaton
Pravin Kambley
@pravinbkambley_gitlab
We have short term and long term strategies. If we need a quick solution to fix it, then we can utilize Zenaton. For the long term, we need an inhouse solution & we can rely on Flor.
John Mettraux
@jmettraux
ok, got it, we'll try to help as best as we can
Jean-François Rioux
@jfrioux

Hello all, and happy new year!
We were a few versions behind on flack, and upgrading bumped the required flor version.

I'm facing an issue with my hooks following this commit: https://github.com/floraison/flor/commit/5f0d06020c52cac4f6af20c1ece212954889ba96?diff=split#diff-da4b8bcc693e43b32696f33b3a43dc9dL15

Our hooks are in flack's envs/dev/lib/hooks/, and the hooks.json file is as follow:

[
  { point: execute, consumed: true, nid: '0', require: 'pollen/pollen.rb', class: 'LaunchedPollenHook' },
  { point: return, consumed: true, require: 'pollen/pollen.rb', class: 'ReturnedPollenHook' },
  { point: terminated, consumed: true, require: 'pollen/pollen.rb', class: 'TerminatedPollenHook' },
]

The hooks.json file is correctly loaded, but the file containing the hooks (pollen/pollen.rb) is no longer loaded, and Flor::const_get is unable to find the class.

I looked the specs and changes in that diff, but I can't figure out how to ajust our hook config.
John Mettraux
@jmettraux
@jfrioux hello and happy new year, I will have a look at that this, I guess I have to fix the require: system in the hooks
Probably, until that commit, the require: was relative to the Ruby process CWD and now it's relative to the env/dev/ or something like that
We can probably accomodate both (like Ruby does with $:)
John Mettraux
@jmettraux
ah, I'm wrong. envs/dev/lib/hooks/ indeed
John Mettraux
@jmettraux
@jfrioux does that gist correspond to your issue? https://gist.github.com/jmettraux/e81d703e6cd9701c55d5229f93904d6c
Jean-François Rioux
@jfrioux
Hey @jmettraux, that's indeed the error we receive
John Mettraux
@jmettraux
Ah, thanks, I'm working on making it respect the require:
for when do you need the fix?
John Mettraux
@jmettraux
floraison/flor@1ec72e0 does that fix the problem?
Jean-François Rioux
@jfrioux
@jmettraux that fixes it! Thank you very much for the quick follow up :)
John Mettraux
@jmettraux
You're welcome!