In this example (https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions#redirecting-to-a-different-page-on-success) you show an internal redirect on a smart action success. There might be an issue with those links though, correct me if there is a way but I will explain my use case.
The potential problem comes when you want to redirect to an entity that you newly added to your DB. As an example, let’s say I added an entity called surveys on my database in dev. Then I will deploy those changes in QA and PROD when I am ready to do so. Then, what I want to do is to redirect the user to a specific survey when I execute a particular smart action with success. But, I can’t know the URL path for each environment before I deploy, which is a problem since I don’t want to have no choice and deploy before setting the redirect. The numbers generated in the URLs seem randomly generated and they are different on each environment (’/MyProject/MyEnvironment/MyTeam/data/20/index/record/20/108/activity’). In the link showed right before the 20 is the part I am talking about.
Is there a proper way to be able to know the URLs before we deploy a DB migration in QA and PRID and if so, how do we get the right url?
Expected behavior
To be able to predict what would be a specific survey link before the table is actually created on forest.
Actual behavior
There is no way to know the url that will point to a specific entity details before that entity exists on forest
Failure Logs
None
Context
Please provide any relevant information about your setup.