Assignment link as Read- only based on a condition
Can someone tell me how i can make the assignment link as read only based on a condition. currently i am using blank role and giving that role in workbasket to make it read only so that user having access to that WB can only open the assignment. but i need to add a condition and make it readonly. where can i add the condition in Access Role?
Something to restrict for the class Assign-Workbasket in access role? Please suggest
***Edited by Moderator Marissa to update categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
I could not go with 1 st option because we could not think off the Readonly when logic to be written in the pyAssignmentListGadget section
I went on trying the 2 nd option which i thought would be more feasible. i specified access when condition for Assign-Workbasket/Work- classes in the blank access Role which i mentioned. but unfortunately it was giving access to perform the assignment even though the access when failed. (probably it was taking some other role of the same WB which is giving access to that assignment)
I tried one more approach- i gave the access when in Flow action's security tab under "Allow user to perform action when all conditions are true" field. in this case it did restrict the action to that assignment if the condition fails but not by making it Readonly but showing other OOTB section (i have attached it).
But i could not achieve the feature of making the assignment link Read only which our business is asking for.