Configuring InBasket
Users can now easily view tasks that are not assigned to them directly. Users can search for tasks in other users’ InBasket.
By default, only members of the Administrators group have the permissions necessary to see others’ tasks.
- Log on to Aras Innovator with administrative privileges.
- Select My Innovator --> My InBasket in the TOC. Click the magnifying glass icon
to access the Search grid. Clicking the My Inbasket icon in the TOC causes the following menu to appear:
By default, the search grid displays tasks assigned to you with ‘Active’ status.
Click
in the grid to filter the search criteria. A menu similar to the following appears:- Clear Criteria erases any search criteria that you entered.
- Claimed by Me displays a list of the tasks that you have claimed.
- Claimed by Others displays a list of tasks that have been claimed by other users.
- Claimed by Anyone displays tasks claimed by you along with tasks claimed by other people.
- Click
to view the search results. The InBasket search grid now displays all the tasks.
By default, the configurable InBasket supports Workflow Tasks. However, you can now create and add new Task/Activity ItemTypes to the InBasket Task. Let us consider an example of creating a Meeting Task ItemType and adding it to the InBasket Task Item. Creating InBasket Task ItemType involves four main procedures. The procedures are described in the following sections.
Creating an ItemType
- Log on to Aras Innovator with administrative privileges.
- Select Administration > ItemTypes. The following menu appears:
Select Create New ItemType. The ItemType window appears.
- Enter Meeting in the Name field and click
. In the Properties tab, click the New Property icon
and add the Meeting ItemType properties as defined in Table 3.
The Meeting ItemType properties
| Property Name | Label | Data Type | Data Source | Length |
| assigned_to | Assigned To | item | Identity | |
| container | Source Item | item | Document | |
| container_type_id | Container Type | item | ItemType | |
| due_date | Due Date | date | ||
| instructions | Instructions | string | 1024 | |
| item | Work Item | item | Part | |
| item_type_id | Item Type | item | ItemType | |
| my_assignment | My Assignment | boolean | ||
| name | Activity | string | 128 | |
| start_date | Start Date | date | ||
| status | Status | String | 64 | |
| icon | Icon | Image | ||
| language_code_filter | Language Code Filter | String | 3 |
- In the TOC Access tab, add users (Identities), who should be able to see the ItemType in the TOC Pane so that they can select the Item.
- In the Can Add tab, add users (Identities), who can add a new Item of this type to the database.
- In the Permissions tab, add users (Identities) to indicate the access rights to the ItemType.
- Click the Save and Done buttons to save and unlock.
Configure InBasket Task ItemType (Meeting Task ItemType)
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> ItemType.
- From the grid, search for InBasket Task Item, double-click on it and then click
to open the Item for editing. In the Poly Sources tab, click
to add a new related Item. The Select Items ItemTypes search dialog box appears.Enter Meeting in the Name field to search for the Meeting ItemType. In our example, we create a Meeting Task Item as a related Item with the following properties on the Properties tab
The Meeting ItemType propertiesProperty Name Label Data Type Data Source Length assigned_to Assigned To Item Identity container Source Item Item NULL (or any value) container_type_id Source Item Item ItemType due_date Due Date Date instructions Instructions String 1024 item Work Item Item NULL (or any value) item_type_id Item Type Item ItemType my_assignment My Assignment Boolean name Activity String 128 start_date Start Date Date status Status String 64 icon Icon Image language_code_filter Language Code Filter String 3 Add the following forms to the Views tab.
The Views tab formForm Name Type Description Meeting Task Default Form to be displayed to the user for actions such as View, Edit, and so on related to the Meeting ItemType. Meeting Task Complete Complete An empty form/or a placeholder used when the Meeting Task is Complete. - In the TOC Access tab, add users (Identities), who should be able to see the ItemType in the TOC Pane so that they can select the Item.
- In the Can Add tab, add users (Identities), who can add a new Item of this type to the database.
- In the Permissions tab, add users (Identities) to indicate the access rights to the ItemType.
- Click Class Structure. Add a node for Meeting Task.
- Click Save and Done to save and unlock the ItemType.
SQL Table and View Execution
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> SQLs.
- Create a SQL View to drop the Meeting table:
- Click File --> New or use the right mouse button (right-click) and select New SQL from the context menu.
The SQL window appears. Configure the following properties:
Name = Meeting_Task_Step1_Drop
Type = Table
Execution Flag = Manual
SQL:
IF EXISTS (SELECT * FROM sys.tables WHERE object_id = OBJECT_ID(N'[innovator].[Meeting_Task]')) DROP TABLE [Meeting_Task] IF EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[innovator].[Meeting_Task]')) DROP VIEW [Meeting_Task]- Click Save and click Unlock to save and unlock the SQL Item.
- Navigate to Actions --> SQL Execute in the SQL window.
- Verify and ensure that table [innovator].[
Meeting_Task] is dropped from your database.
- Create a temporary view for
Meeting TaskItemType- Navigate to Administration --> SQLs.
- Click File --> New or use the right mouse button (right-click) and select New SQL from the context menu.
The SQL window appears. Configure the following properties:
Name = Meeting_Task_Step02_Create_Tmp_View
Type = View
Execution Flag = Manual
SQL:
CREATE VIEW [Meeting_Task_Step02_Create_Tmp_View] AS SELECT STUFF(MEETING_TASK.id, 13, 1, '0') AS ID, MEETING_TASK.ASSIGNED_TO AS ASSIGNED_TO, MEETING_TASK.ITEM AS ITEM, MEETING_TASK.Item_TYPE_ID AS ITEM_TYPE_ID, MEETING_TASK.START_DATE AS START_DATE, MEETING_TASK.Due_DATE AS DUE_DATE, MEETING_TASK.INSTRUCTIONS AS INSTRUCTIONS, '1' AS MY_ASSIGNMENT, MEETING_TASK.NAME, MEETING_TASK.CONTAINER AS CONTAINER, MEETING_TASK.CONTAINER_TYPE_ID AS CONTAINER_TYPE_ID, MEETING_TASK.STATUS AS STATUS, MEETING_TASK.Agenda AS AGENDA, it.open_icon AS ICON, MEETING_TASK.CLASSIFICATION, MEETING_TASK.KEYED_NAME, MEETING_TASK.CREATED_ON, MEETING_TASK.CREATED_BY_ID, MEETING_TASK.OWNED_BY_ID, MEETING_TASK.MANAGED_BY_ID, MEETING_TASK.MODIFIED_ON, MEETING_TASK.MODIFIED_BY_ID, MEETING_TASK.CURRENT_STATE, MEETING_TASK.STATE, MEETING_TASK.LOCKED_BY_ID, MEETING_TASK.IS_CURRENT, MEETING_TASK.MAJOR_REV, MEETING_TASK.MINOR_REV, MEETING_TASK.IS_RELEASED, MEETING_TASK.NOT_LOCKABLE, MEETING_TASK.CSS, MEETING_TASK.GENERATION, MEETING_TASK.NEW_VERSION, MEETING_TASK.CONFIG_ID, MEETING_TASK.PERMISSION_ID, MEETING_TASK.TEAM_ID, lang.code AS language_code_filter FROM innovator.Meeting AS MEETING_TASK INNER JOIN innovator.ITEMTYPE AS it on it.name = N'Meeting Task' LEFT OUTER JOIN innovator.LANGUAGE AS lang ON lang.ID is NOT NULL- Click Save and Done to save and unlock the SQL Item.
- Navigate to Actions --> SQL Execute in the SQL window.
- Make sure that temporary View with name Meeting_Task_Step02_Create_Tmp_View is created in your database.
- Rename view for Meeting Item Type.
- Navigate to Administration --> SQLs.
- Click File --> New or use the right mouse button (right-click) and select New SQL from the context menu.
The SQL window appears. Configure the following properties:
Name = Meeting_Task_Step03_Rename_View
Type = Table Execution Flag = Manual
SQL:
sp_rename 'Meeting_Task_Step02_Create_Tmp_View', 'Meeting_Task'- Click Save and Done to save and unlock the SQL Item.
- Navigate to Actions --> SQL Execute in the SQL window.
- Make sure that temporary view
Meeting_Task_Step02_Create_Temp_Viewis renamed to Meeting.
Viewing New InBasket Task ItemType
- Log on to Aras Innovator with administrative privileges.
- Click Meetings in the TOC. In our example, we created a Meeting ItemType. The following menu appears:
- Click CreateNew Meeting to create an instance of Meeting ItemType.
- Provide the required information for the Meeting ItemType:
- Container: Document
- Name: Meeting Task
- Start Date: Today
- Due Date: Today+1
- Status: Active
- Assigned to: Administrators
- Instructions: Activity Instructions 1
- Item: Doc_1 (create if necessary)
- Click Save, Done and Close.
- Navigate to My Innovator --> InBasket.
- Execute search.
The Meeting Task appears in the InBasket.
The InBasket Task is a Poly Source Item. To add a new column or a new property to any of the Poly Source Items, you need to add the column or the property to all the other Poly Source Items as well as to the InBasket Task Item. Adding a new column to the InBasket involves five main procedures, which are described in the following sections. Let us consider the example of adding a column named Agenda to the newly created Meeting ItemType.
Adding a new column to the New InBasket ItemType
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> ItemTypes.
Search for the newly created InBasket ItemType in the search grid. Select the Item and open for editing. In our example, we have created the Meeting ItemType. Let us open the Meeting ItemType for editing. The Item window appears.
- Click
to unlock the ItemType. - In the Properties tab, click
to create a new property. A blank row is added in the relationship grid. - Provide the required information for the property. In our example, we add the details for Agenda column.
- Name:
agenda - Label: Agenda
- Data Type: Text
- Name:
- Click
and
.
Adding the column to other Poly Source Items
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> ItemTypes.
- From the grid, search for InBasket Task Item and open the Item for editing.
- Click the Poly Sources tab.
The Poly Source Items appear.
You need to edit and add the property to each of the Poly Source Items. Start with the Workflow Task Item.
Right-click on the Workflow Task, click Open. The Workflow Task Item window appears.
- Click
to unlock the Workflow Task Item for editing. - In the Properties tab, click
to create a new property.
A blank row is added in the relationship grid. - Provide the required information for the property. Here we add the details for Agenda column.
- Name: agenda
- Label: Agenda
- Data Type: Text
- Click Save, Unlock and Close on the Workflow Task Item window.
- Repeat step 5 to step 9 for Meeting Task.
- Close the InBasket Task Item window.
Rebuilding SQL Views
Rebuilding SQL View for New InBasket ItemType
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> SQLs.
- Search for the Drop SQL View that we created for the new ItemType. In our example, we created
Meeting_Task_Step1_Drop SQL View. For more information, refer to section 5.2.3 SQL Table and View Execution. - Select
Meeting_Task_Step1_Dropin the search grid, right-click and select SQL Execute from the context menu. - Search for the Create Temp SQL View that we created for the new ItemType.
In our example, we createdMeeting_Task_Step02_Create_Temp_view. For more information, refer to section 5.2.3 SQL Table and View Execution. - Select
Meeting_Task_Step02_Create_Temp_viewin the search grid, right-click and select Edit from the context menu.
The SQLMeeting_Task_Step02_Create_Temp_viewwindow is displayed. Add the following line to the SQL field.
MEETING_TASK.Agenda AS AGENDA- Click
and
to save and unlock the SQL Item. - Click Actions --> SQL Execute in the SQL window and then close the SQL window.
- Search for the Rename SQL View that we created for the new ItemType.
In our example, we createdMeeting_Task_Step03_Rename_View. For more information, refer to section 5.2.3 SQL Table and View Execution. - Select
Meeting_Task_Step03_Rename_Viewin the search grid, use right mouse button (right-click) and select SQL Execute from the context menu.
Rebuilding SQL View for Other Poly Source Items
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> SQLs.
- Rebuild SQL view for Workflow Item Task.
- From the search grid, search
Workflow_Task_Step01_Drop. - Select
Workflow_Task_Step01_Dropin the search grid, right-click and select SQL Execute from the context menu. - From the search grid, open
Workflow_Task_Step02_Create_Tmp_View. - Click
to edit the Workflow_Task_Step02_Create_Tmp_View. In SQL field, add the following line:
CONVERT(NVARCHAR(128), NULL) AS AGENDA,- Click
and
to save and unlock the SQL Item. - Click SQL Execute from the Actions menu.
- Close the window.
- From the search grid, search
Workflow_Task_Step03_Rename_View. - Select
Workflow_Task_Step03_Rename_Viewin the search grid, use the right mouse button (right-click) and select SQL Execute from the context menu.
- From the search grid, search
Adding the column to the InBasket Task Item
- Log on to Aras Innovator with administrative privileges.
- Navigate to Administration --> ItemType.
- From the grid, search for Workflow Task Item and click
. - Save, unlock, and close the Workflow Task Item.
- Repeat steps 3 and 4 for the Meeting Task Item.
NoteInBasket Task won’t let you edit and save the Item Type until after you’ve saved, unlocked, and closed the Poly Items connected to it.
- From the grid, search for InBasket Task Item and click
. - In the Properties tab, click
to create a new property.
A blank row is added in the relationship grid. - Provide the required information for the property. In our example, we add the details for Agenda column.
- Name: agenda
- Label: Agenda
- Data Type: Text
Click Save, Unlock and Close in the InBasket Task Item window.
Viewing the New Column in Configurable InBasket
- Log on to Aras Innovator with administrative privileges.
- Navigate to My Innovator --> My InBasket.
The InBasket search grid displays the newly added column. In our example, we can now see the newly added column Agenda […].
When creating an import package that adds a column to the Configurable InBasket you must ensure that the order in which the property is added to the PolyItems is correct or the import will fail. In the example below there are steps on how to create a package that will add a column that shows the Part_Number of an InBasket task.
- From the source database, use the Export tool to export the Workflow_Task and InBasket_Task ItemTypes, and their corresponding SQL queries
- The Workflow_Task and InBasket_Task ItemTypes, and SQL queries are located in the com.aras.innovator.inbasket package definitions
- From the InBasket_Task.xml you will need to remove the following lines (typically located near the end of the file):
- From the InBasket_Task.xml you will need to remove the new column property (shown below) to avoid errors during the import.
- In the new import package folder, create an … /Imports/Fixes folder
- Inside the fixes folder you will add the xml files shown below:
- Workflow_Task.xml
- InBasket_Task.xml
- 1 Workflow_Task.xml will look something like the following:
<AML>
<Item type="ItemType" id="321BD822949149C597FD596B1212B85C" action="edit">
<Relationships>
<Item type="Property" id="EB9B7F4B06064C378EF5CEC3E94FB58E" action="add">
<column_alignment>left</column_alignment>
<data_type>string</data_type>
<is_hidden>0</is_hidden>
<is_hidden2>0</is_hidden2>
<is_indexed>0</is_indexed>
<is_keyed>0</is_keyed>
<is_multi_valued>0</is_multi_valued>
<is_required>0</is_required>
<label xml:lang="en">test</label>
<range_inclusive>0</range_inclusive>
<readonly>0</readonly>
<sort_order>4608</sort_order>
<source_id keyed_name="Workflow Task" type="ItemType" name="Workflow Task">321BD822949149C597FD596B1212B85C</source_id>
<stored_length>32</stored_length>
<track_history>0</track_history>
<name>test</name>
</Item>
</Relationships>
</Item>
<Item type="ItemType" id="BC7977377FFF40D59FF14205914E9C71" action="edit">
<Relationships>
<Item type="Morphae" id="9657383E16C64B86AB06E17CDD20AE23" action="add">
<related_id keyed_name="Workflow Task" type="ItemType" name="Workflow Task">321BD822949149C597FD596B1212B85C</related_id>
<sort_order>128</sort_order>
<source_id keyed_name="InBasket Task" type="ItemType" name="InBasket Task">BC7977377FFF40D59FF14205914E9C71</source_id>
</Item>
</Relationships>
</Item>
</AML>
The code highlighted in yellow is taken from the exported Workflow_Task.xml where the information is that of the property that will be used for the new column. The code highlighted in green is taken from the deleted lines of the InBasket_Task.xml.
- 3 Inbasket_task.xml will only include code to add the new column property as shown below:
<AML>
<Item type="ItemType" id="BC7977377FFF40D59FF14205914E9C71" action="edit">
<Relationships>
<Item type="Property" id="6DCBE94B46044404B74F15A613A02811" action="add">
<column_alignment>left</column_alignment>
<data_type>string</data_type>
<is_hidden>0</is_hidden>
<is_hidden2>0</is_hidden2>
<is_indexed>0</is_indexed>
<is_keyed>0</is_keyed>
<is_multi_valued>0</is_multi_valued>
<is_required>0</is_required>
<label xml:lang="en">test</label>
<range_inclusive>0</range_inclusive>
<readonly>0</readonly>
<sort_order>1024</sort_order>
<source_id keyed_name="InBasket Task" type="ItemType" name="InBasket Task">BC7977377FFF40D59FF14205914E9C71</source_id>
<stored_length>1024</stored_length>
<track_history>0</track_history>
<name>test</name>
</Item>
</Relationships>
</Item>
</AML>
- To ensure that the fixes folder is imported with the import tool, you will need to add the path as follows:
<package name="com.aras.innovator.solution.InBasketFix" path="InBasketFix\Import">
<dependson name="com.aras.innovator.inbasket" />
</package>
It is possible to set up the Configurable InBasket to handle multiple languages so that it selects the values appropriate to the client environment. The following sample shows how to adjust the InBasket to handle the German locale:
- Edit the
Workflow_Task_Step02_Create_Tmp_ViewSQL item.- Open the
Workflow_Task_Step02_Create_Tmp_ViewSQL item for editing. Change the query for Instructions column:
From:COALESCE(CASE WHEN lang.CODE='en' THEN act.MESSAGE END, act.MESSAGE) AS INSTRUCTIONS,To:
COALESCE(CASE WHEN lang.CODE='en' THEN act.MESSAGE WHEN lang.CODE='de' THEN act.MESSAGE_DE END, act.MESSAGE) AS INSTRUCTIONS,Change the query for Activity column:
From:COALESCE(CASE WHEN lang.CODE='en' THEN act.label END, act.label, act.NAME) AS NAME,To:
COALESCE(CASE WHEN lang.CODE='en' THEN act.LABEL WHEN lang.CODE='de' THEN act.LABEL_DE END, act.LABEL, act.NAME) AS NAME,- Save, unlock, and close the
Workflow_Task_Step02_Create_Tmp_ViewSQL item.
- Open the
- Rebuild SQL view for Workflow Item Task.
- From the search grid, search for
Workflow_Task_Step%SQL items. - Right-click on
Workflow_Task_Step01_Dropin the search grid and select SQL Execute from the context menu. - Right-click on
Workflow_Task_Step02_Create_Tmp_Viewin the search grid and select SQL Execute from the context menu. - Right-click on
Workflow_Task_Step03_Rename_Viewin the search grid and select SQL Execute from the context menu.
- From the search grid, search for