Checking if user running flow has assignments
Comments
-
I have a need to check if the current user accessing a page has assignments. Is there a way to do this in a rule? I am looking for assignments to a specific application we are creating. With this data i want to show a Dashboard if they have assignments and a different dashboard if they dont. Unless there is a way to hide a section of a dashboard with this info.
-
You can use the "Get My Current Assignments" step from Integration -> Internal Services -> Assignment to get the assignments for the current user.
-
That works, i now have a flow that returns true or false if the user has tasks for my application. Can i use this to hide a row / section on a Dashboard? I want to hide the whole My Tasks row on the dashboard in the image.
[i]edited by christopher_salas on 1/30/2020[/i] -
It would be fine if i could run a flow to decide what page to show when a user clicked on a link in the Portal. Not sure if that is possible either.
-
You can do this ->
Add a page to a Folder and set permissions for the folder via the flow for the account in question.
To add a page to a folder -
a. Create a Normal Folder(not designer)
b. Add a page to the folder(screenshot attached)
[img]1[/img]Set Permissions for the folder for the account by running a flow -
a. there are couple of steps that you can user here - Add Account Permission, Revoke Account Permission from Integration -> Internal Services -> FolderService
b. By adding/removing permissions to the account you can decide if you want to show a specific folder(page) or not.
c. Permission Type = "Can View","1/30/2020 9:14:33 PM
Howdy, Stranger!
Categories
- 4.4K All Categories
- 84 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 111 Rules
- 275 Administration
- 214 Portal
- 498 General Q & A
- 716 Forms
- 350 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 188 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 70 Repository
- 231 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions