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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions