HomeReports

Help with Reporting

break lease Messages in this topic - RSS add reply

Jeremy
Jeremy
Posts: 48


9 days ago
Jeremy
Jeremy
Posts: 48
Hello, we have a report that shows records and you can click on a record to open the assignment. If some one else is in the record I (an admin) can right click and break the lease. If someone else right clicks a record that is being used it does not show this options. We wanted to know if it is possible to give certain groups permission to break the lease depending on the report. Also we would like to know if we could get it to show who is in the assignment to all users who do not have the break lease option when they right click.

Thanks,
Jeremy
0 link reply with quote
faiza@decisions.com
faiza@decisions.com
Administrator
Posts: 57


8 days ago
faiza@decisions.com
faiza@decisions.com
Administrator
Posts: 57
The "break lease" action will appear for users part of the Administrator groups. Are the groups you using non-admin users?
0 link reply with quote
Jeremy
Jeremy
Posts: 48


8 days ago
Jeremy
Jeremy
Posts: 48
Yes. We want managers and team leads to be able to break the lease but we do not want to give them administrator privileges
0 link reply with quote
faiza@decisions.com
faiza@decisions.com
Administrator
Posts: 57


7 days ago
faiza@decisions.com
faiza@decisions.com
Administrator
Posts: 57
To add a “Break Lease “ Action to assignments for Non-admin users we will need to create a custom user action for the Assignment Type. Then we can add action visibility Rules to restrict the action to specific users.
  • Create an “Assignment Configuration Extension”.
  • Navigate to a Designer Folder.
  • Click “Create data types/Integrations”.
  • Navigate to Configuration Extensions>Add entity Actions and Configuration.
  • Make sure this folder gives permission to “all users”.
  • Additional Information on Configuration folders can be found in this documentation
  • https://documentation.decisions.com/docs/creating-a-configuration-folder-for-native-decisions-data-types


  • In the newly created Assignment Configuration extension, create a User action.
  • In the flow, step tab, navigate to the Integration>Internal Services>Object Lock Services. This section will have the steps needed to break the lease.
  • The “Break Lock” step is used to break the lock on an object. In this use case, it can be used for assignments. We will need to pass the Assignment Id from the Flow input data to this step.
  • For example, I have created the following user action where it checks if the assignment is locked. Then get information on the locked assignment (using the “Get Locked Info step”). The Form outputs a message to let the user know the assignment is locked by someone. The “Break Lock” step allows the user to break the lock. The “End Session” step will take the user to the assignment.


  • We can use an Action Visibility Rule to restrict this action to specific Groups.
  • Additional information on Action Visibility Rules can be found in the following documentation https://documentation.decisions.com/docs/action-visibility-rules.

  • For example:



    This will complete the action and make it available to the specific users.
    To add information regarding who has the assignment opened, we can use a Flow inline column for the report. For this Flow we will need to use the “Get locked info” step( Integration>Internal Services>Object Lock Services).
    Additional information on Flow inline fields can be found in the following documentation: https://documentation.decisions.com/docs/flow-based-steps-report

    For example, the flow can look like the following:








    Note: The example above was developed to be instructional, and were not developed as officially supported components.
    edited by faiza@decisions.com on 7/1/2020

    0 link reply with quote


    (Ctrl+Enter)




    Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software