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

Runs model #5

Closed
taylordowns2000 opened this issue Feb 2, 2022 · 0 comments
Closed

Runs model #5

taylordowns2000 opened this issue Feb 2, 2022 · 0 comments
Assignees

Comments

@taylordowns2000
Copy link
Member

taylordowns2000 commented Feb 2, 2022

Create runs model using a generator.

image.png

started_at
finished_at
exit_code
log
job_id
------------
message_id // initial_state (???) // source // [ input ]
------------
triggering_event

triggering_event samples:

{ "type": "webhook", "state": {"data": {a:1} } }, // this is an event that's generated/captured from an external system 
{ "type": "cron", "state": {"cursor" :123 } } // this is an event that's generated by the `cron_service`

From BPMN: A Process (JOB) can be executed or performed many times, but each time is expected to follow the steps laid out in the Process model (JOB EXPRESSION, OPERATIONS). For example, the Process in Figure 10.1 will occur every Friday, but each instance (RUN) is expected to perform Task “Receive Issue List,” then Task “Review Issue List,” and so on, as specified in the model. Each instance (RUN) of a Process is expected to be valid for the model, but some instances might not, for example if the Process has manual Activities, and the performers have not had proper instruction on how to carry out the Process.

@taylordowns2000 taylordowns2000 transferred this issue from another repository Feb 2, 2022
@stuartc stuartc self-assigned this Feb 3, 2022
stuartc added a commit that referenced this issue Feb 3, 2022
Re: #5

- Added relationship for invocation_event
stuartc added a commit that referenced this issue Feb 3, 2022
stuartc added a commit that referenced this issue Feb 7, 2022
@stuartc stuartc closed this as completed Feb 7, 2022
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

No branches or pull requests

2 participants