To create or edit a task definition
-
In the Designer, select User Interface > Task definitions category.
-
Select the task.
- OR -
To create a new task, select the Object > New menu item.
-
Select the Change main data task and edit the task's main data.
-
Assign a permissions group to the task definition.
-
Select the View > Select table relations menu item and enable the DialogGroupHasMethod table.
-
In the edit view, select the Permissions group view and select the permissions groups.
-
Assign the task definition to the object definition for which the task should be offered in the user interface.
-
Select the View > Select table relations menu item and enable the DialogObjectHasMethod table.
-
In the edit view, select the Object view and select the object definition.
-
(Optional) Assign a program function to the task definition.
-
Select the View > Select table relations menu item and enable the QBMMethodHasFeature table.
-
In the edit view, select the Program function view and select the program function.
-
Select the Database > Save to database and click Save.
Related topics
You can disable individual predefined tasks to prevent them being shown in the user interface. They remain disabled even after schema installation.
To disable a task
-
In the Designer, select the task in the User interface > Task definitions category.
-
Select the Change main data task.
-
Set the Disabled option.
-
Select the Database > Save to database and click Save.
Related topics
In principle, a user's permissions for displaying and editing tasks are controlled by permissions in permissions groups.
You can also use a script in the custom task definition to conditionally display a task. For example, this way you can control whether a task is only displayed in the Manager if a certain condition is met.
NOTE: The script does not change the user’s permissions but simply the behavior if the object is loaded in one of the tools. If you want to limit visibility and editability of a task, change the permissions of the permissions groups. For more information, see the One Identity Manager Authorization and Authentication Guide.
To specify a script for conditionally displaying a task
-
In the Designer, select the task in the User interface > Task definitions category.
-
Select the Change main data task.
-
Enter a Visibility script in VB.Net syntax. If the return value is false, task is not displayed in any of the tools.
-
Select the Database > Save to database and click Save.
Related topics