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

Add support for split and merge workflow patterns #146

Merged
merged 4 commits into from Dec 11, 2018

Conversation

sliverc
Copy link
Member

@sliverc sliverc commented Dec 11, 2018

  • To split workflow a list of tasks is returned in jexl expression
  • To merge multiple tasks of a workflow link to same flow

@sliverc sliverc requested a review from winged December 11, 2018 08:13
@sliverc sliverc changed the title Add support for synchronize and merge workflow patterns Add support for split and merge workflow patterns Dec 11, 2018
@sliverc sliverc requested a review from czosel December 11, 2018 08:38
Copy link
Contributor

@winged winged left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the feeling that this is overall getting way too complex to still not have any documentation regarding the concepts. What I'd like to see is at least the following (in README, or linked somewhere):

  • Data model and it's meaning (blueprint side vs. instance side)
  • Documentation in the relevant tests: What's supposed to happen (from user perspective)?

caluma/workflow/jexl.py Outdated Show resolved Hide resolved
caluma/workflow/tests/test_jexl.py Show resolved Hide resolved
caluma/workflow/tests/test_work_item.py Outdated Show resolved Hide resolved
Oliver Sauder added 4 commits December 11, 2018 10:43
* To synchronize a list of tasks is returned in jexl expression
* To merge multiple tasks of a workflow link to same flow
@sliverc
Copy link
Member Author

sliverc commented Dec 11, 2018

@winged I have added some comments in the test case. Concerning documentation this is an open issue on my side and will be my next task to follow up so I would rather do it in a another PR.

Documentation PR will then provide example graphql files, describing of main models and expanding GraphQL schema documentation.

@sliverc sliverc merged commit 75155a3 into projectcaluma:master Dec 11, 2018
@sliverc sliverc deleted the sync_merge branch December 11, 2018 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants