Visual Task Board UI Policy Error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2018 01:31 PM
I have users that asked for Visual Task Boards to be set up recently, but now when attempting to drag and drop between lanes they get a UI Policy violation error message. I don't know what causes this, since mandatory fields are filled in, and there are no known UI Policies on changing the Assigned to (which is the lanes they're trying to move between).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2018 01:30 PM
I found out that this was a UI Policy enforcing a mandatory field, but on a field that is only visible to a specific role based on ACLs. I had to change the UI Policy to add a script that would only apply and set the field mandatory if the current user has that role.
Execute if True:
function onCondition() {
if (g_user.hasRole('ROLE_NAME')) {
g_form.setMandatory('FIELD_NAME', true);
}
}
Execute if False:
function onCondition() {
g_form.setMandatory('FIELD_NAME', false);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2019 12:08 PM
Hi Marcel, can you tell me which policy this might be and where you added the script? I'm having the same issue for when users are moving a card from the In Progress lane to the Completed lane in a Guided VTB. Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2019 11:12 AM
In my case it was a custom UI Policy that was causing the issue. Once I figured out which one it was I added the script above in the script section of the UI Policy that was causing the issue and that resolved the problem.