I want to redirect the user to the collection index page after the smart action success with this:
response.send({ success: message, redirectTo: <PATH_TO_INDEX> })
Actual behavior
The correct path depends on the environment and the team of the user.
Is there any internal way to dynamically set the correct path for the redirection?
Context
"meta": {
"liana": "forest-express-mongoose",
"liana_version": "7.8.2",
"stack": {
"database_type": "MongoDB",
"engine": "nodejs",
"engine_version": "12.22.1",
"orm_version": "5.9.4"
}
}