How to make assignment group mandatory upon change task creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 07:23 AM
In change, we want to make Assignment Group mandatory on change tasks at creation of the change tasks.
We do not have a specific assignment group we want to use but we do not want the change task created without a assignment group being put in manually.
Would this be done in the workflow as that is where the tasks run from? Can a pop up be added so that as each task is created the end user is prompted to put in a assignment group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 08:18 AM
So just making assignment group mandatory is not working?
{ Since this field extends from the task table go to configure dictionary for assignment_group. And create a dictionary override that makes assignment group mandatory. }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 08:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 08:26 AM
No when the workflow runs the tasks are created (7 of them). Once the form is open the assignment group is mandatory. But if the form is never opened then the change tasks can be created with no assignment group.
We ended up with 1k change tasks that had no assignment group. So the requirement is the task cannot be created unless an assignment group is populated. We can't use a default assignment group because the groups vary depending on the change request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 08:37 AM
Is there no logic on what a default assignment group should be based on the input from the user? For instance if the change request is related to a database server, Database admins would be an assignment group.
I guess its hard for me to understand that you know a specific task ( action ) needs to be done but have no logic around who should do it.
I guess what you could do is create a business rule that runs before insert on the change task table and checks for your condition ( assignment group empty or parent.assignement_group empty). If it is not met check abort action and add a message of your choice.