[DONE] Get related records for the current record

I duplicated some applications and kept the same relationship reference in them
however the flows keep returning this error
image

and only start working again when I duplicate the Get related records for the current record action
however, due to the number of applications and quantity of flows that use this action, this solution is not recommended

If I remember correctly, this means that the person triggering the automation does not have the privileges needed.

Check to make sure you are an admin

Thanks for the help but in this case I believe the privileges are correct since the problem is solved by duplicating the action that returns an error and deleting the old one

Hi @joao.matheus

the cause of your issue was most certainly the permission system of the automations.
Here is some background information. Each automation receives the permissions of the last editor of the automations and keeps them, this is important if e.g. an external consultant builds automations and then leaves the company so that not all automations break when he is removed from the organization or workspaces.

However, if you add new workspaces or apps and want to access them via the automations, you must first save the automation again so that it also receives the new permissions, otherwise the automation will not yet know that you have permission to access these apps.
Duplicating the action probably didn’t solve the problem, but saving it again did.

Best regards
Leo

1 Like

Thank you very much. I tested it by simply saving the automation and it worked. However, all the automations were edited by me alone and some duplicated apps did not show this error.
Is it recommended to always save the automations again after duplicating?

1 Like

@joao.matheus not really, because when duplicating, the automation receives the permissions of the duplicator at the time of duplication. Only if you duplicate further apps after the duplication, which the automation needs to access, then you have to save again so that the automation also receives these permissions.

Best regards
Leo