-
Notifications
You must be signed in to change notification settings - Fork 218
API to register a listener for processes #5913
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
Comments
Suggestion:
Implementation: We don't want every process to call back a client-side API. This would allow the client to obtain knowledge that only the server should have, for security reasons. We we need a process to be explicit about it. Possibilities:
|
The API needs to deal with listeners at the level of a given form. Currently, Listeners should be associated with an instance of
|
Presumably, with embedding, |
Ok now we have a way to receive a
Option 1:
Option 2:
Any other ideas? |
|
Passing parameters is not a P1, but if we wanted to do it, how would we?
Example of 1 and 2:
Example of 3:
|
RESOLUTION: For now, don't support parameters. |
Related to parameters, I notice that our process |
- move to Scala - use more explicit method names and reorganize - add `getForm()` API - add `isFormDataSafe()` API
|
Scenario: embedding/component would like to know when a
save
process has run. The ability to register a callback function or listener would make sense via the JavaScript embedding API, rather than dealing with global functions.The text was updated successfully, but these errors were encountered: