hi
again
Example | Details |
---|---|
obj = { salutation: "Hey!", ... } |
|
result = RRF "survey.ftl" obj | |
Renders the template survey.ftl (located in this flow's base path) and resulting markup is replied to user's browser.Data submitted by the user is ignored |
|
obj = { salutation: "Hey!", ... } result = RRF "survey.ftl" obj |
Renders the template survey.ftl by injecting the data passed in obj and the resulting markup is replied to user's browser.Data submitted by the user is stored in variable result : a map whose keys are named according to the form fields present in survey.ftl |
Code | Meaning |
---|---|
it = { success: true, data: { userId: "as9233Qz", ... }} Finish it |
Flow finished successfully. Some relevant data attached |
it = { success: false, error: "User entered a wrong password 3 times" } Finish it |
Flow failed. Error description `attached` |
|
Flow failed. Error description attached |