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

Order Flow - State Passed / Not passed #860

Open
jbpenrath opened this issue Jun 26, 2024 · 0 comments
Open

Order Flow - State Passed / Not passed #860

jbpenrath opened this issue Jun 26, 2024 · 0 comments

Comments

@jbpenrath
Copy link
Member

jbpenrath commented Jun 26, 2024

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.

Currently, we are not able to know if a certificate generation has been tried for an order.
This is not a problem for learners that have passed exams as a certificate is generated but for those who have failed to exams, we are not able to distinguish them to other for who we don't have yet try to generate a certificate.

Describe the solution you'd like

In the order flow we could add two new states passed / not passed.
To transition to those states, the previous state should be completed. Furthermore if there is a contract, this one should be fully signed (by the learner and the organization)

So during certificate generation, we iterate over completed orders.
Then for learners who pass exam, we transition to the passed state,
and for those who fail, order transitions to the not passed state.

So in this way, an order should be submitted once to the certificate generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant