[Task]: Send originalActionId
parameters to the create Action API #24734
Description
Is there an existing issue for this?
- I have searched the existing issues
SubTasks
To measure the impact of query modules in Appsmith. We need to track the amount of time a user takes to edit a copied query. Today, we do not have a mechanism to understand if a query in question is a copied query. To fix this, the data model of the Query action needs to change to include the originalQueryId
if a query is, in fact, a copied query.
-
When a query is first copied, there will be no
originalQueryId
in the action object. In this scenario the client will populate theoriginalQueryId
field and call the POST API to create the copied query. -
If the query is already a copied query, the client will duplicate the value of the
originalQueryId
when calling the POST API to create the copied query.