Advanced Customization > Using Reusable Components > Available Reusable Components > Item Identity > Task Identity
  
Task Identity
The Task Identity is a predefined configuration of the Item Identity reusable component that displays a panel containing basic information about a Windchill task. The Task Identity panel provides basic information about a task and its associated change request. The panel includes primary and secondary titles for the change request and identity attributes. The default attributes included in the panel are Role, Due Date, Status, Category, and Request Priority. There is also an Action Bar reusable component embedded into the Task Identity panel. The default actions included in the panel are Approve, Reject, Analyze, and Reassign.
The following is a sample image showing the Task Identity predefined configuration:
For information on configuring the Task Identity panel, see the Item Identity. You can also find information on binding properties for Task Identity there.
Sample Configuration
{
"actions": {
"maxItemsToShow": {
"value": 2
},
"modelThingName": {
"entityName": "PTC.ActionBarModel.Thing"
},
"actions": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": "Approve",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": ""
},
"actionButtonVisibility": {
"selectedKey": "HideUnavailable"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.RoutingOptionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 479
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 10
},
{
"id": "Reject",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": ""
},
"actionButtonVisibility": {
"selectedKey": "HideUnavailable"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.RoutingOptionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 479
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 20
},
{
"id": "Analyze",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": ""
},
"actionButtonVisibility": {
"selectedKey": "HideUnavailable"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.RoutingOptionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 479
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 30
},
{
"id": "Reassign",
"additionalData": {
"actionConfiguration": {
"overrideLabel": {
"value": "[[PTC.AccessApp.Reassign]]"
},
"actionButtonVisibility": {
"selectedKey": "AlwaysShown"
},
"buttonStyle": {
"selectedKey": "primary"
},
"mashupName": {
"mashupName": "PTC.AccessApp.WindchillServices.ReassignActionMashup"
},
"popupWidth": {
"value": 600
},
"popupHeight": {
"value": 579
},
"redirectAfterPopupSuccess": {
"mashupName": "PTC.MyTasksAppMashup"
},
"fireEventOnFinish": {
"value": false
},
"activityType": {
"selectedKey": "popup"
}
}
},
"ordinal": 40
}
],
"objectType": "WT.WorkItem.Actions"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
}
},
"secondaryTitle": {
"pattern": "%1",
"fields": {
"data": [
{
"itemListsData": [
{
"items": [
{
"numericIdentifier": 1,
"id": "Activity|Name"
}
],
"objectType": "PTC.Workflow.WorkItem"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"attributes": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": "Role#Display",
"ordinal": 0
},
{
"id": "Activity|Deadline",
"ordinal": 1
},
{
"id": "Status#Display",
"ordinal": 2
}
],
"objectType": "PTC.Workflow.WorkItem"
},
{
"items": [
{
"id": "Category#Display",
"ordinal": 3
},
{
"id": "RequestPriority#Display",
"ordinal": 4
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
},
"inTailoring": true
},
"title": {
"pattern": "%1",
"fields": {
"data": [
{
"itemListsData": [
{
"items": [
{
"numericIdentifier": 1,
"id": "Subject|SubjectName"
}
],
"objectType": "PTC.Workflow.WorkItem"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
}
},
"modelThing": {
"entityName": "PTC.TaskIdentityModelThing",
"version": "1.0.0"
}
}