Using the delete step without permissions?
Comments
-
We currently have a delete step inside a flow that is executed by a user who does not have ‘Can Delete’ privileges to the entity in question. Other than giving the user ‘Can Delete’ privileges, is there any way this step can be executed successfully? Maybe by switching execution context to a system user for this individual step?
-
Hi Leo,
You can wrap the delete step in an Async Subflow (found in the toolbox under "[Start Linked Flow Async]"), which will change the user context to "SYSTEM". This should give the necessary permissions to delete the object.
Hope this helps!
-Ryan S.
Howdy, Stranger!
Categories
- 4.4K All Categories
- 81 General
- 13 Training
- 209 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 711 Forms
- 346 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions