Cross scope Flow access issue to delete record in table sys_user_grmember

huyentp
Tera Expert

I have a Flow to add/remove an user to a group (by creating/deleting records in the sys_user_grmember) based on the membership of another group. The creation works just fine, but when I test the flow I always received an error at the Delete Record action (it's run as me, who has `admin` role):

{
    "Action Status": {
        "code": 1,
        "message": "Scope does not have delete access to table sys_user_grmember"
    }
}

 I have enabled `Can Delete` access to all Application scopes

huyentp_0-1720806566764.png

 

 

I also added an entry in the Cross scope privileges table

huyentp_1-1720806566749.png

 

 

but the issue still persists. Appreciate any suggestion on how to fix this issue. Thank you!

1 ACCEPTED SOLUTION

huyentp
Tera Expert

Found a solution for this. I created the delete action in Global scope and add this action to my scoped app Flow.

View solution in original post

3 REPLIES 3

Zach Koch
Giga Sage
Giga Sage

This link may help you

Thread 

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

huyentp
Tera Expert

Found a solution for this. I created the delete action in Global scope and add this action to my scoped app Flow.

Hi, Could you please let me know how did you create only delete action in global scope?

or you created the complete flow record in global scope?

 

Please let me know. 

 

Thanks