Erweiterte Anpassung > Wiederverwendbare Komponenten verwenden > Verfügbare wiederverwendbare Komponenten > Element-Identität > Aufgabenidentität
  
Aufgabenidentität
Die Aufgabenidentität ist eine vordefinierte Konfiguration der wiederverwendbaren Komponente "Elementidentität", welche einen Bereich, der grundlegende Informationen zu einer Windchill Aufgabe enthält, anzeigt. Der Bereich "Aufgabenidentität" stellt grundlegende Informationen für eine Aufgabe und deren zugeordneten Änderungsantrag bereit. Er enthält primäre und sekundäre Kacheln für den Änderungsantrag und die Identitätsattribute. Die im Bereich enthaltenen Standardattribute sind: Rolle, Fälligkeitsdatum, Status, Kategorie und Antragspriorität. Außerdem ist die wiederverwendbare Komponente "Aktionsleiste" in den Bereich "Aufgabenidentität" eingebettet. Die im Bereich enthaltenen Standardaktionen sind: Genehmigen, Ablehnen, Analysieren und Neu zuweisen.
Die folgende Beispielabbildung zeigt die vordefinierte Konfiguration "Aufgabenidentität":
Informationen zur Konfiguration des Bereichs "Aufgabenidentität" finden Sie unter Element-Identität. Hier können Sie auch Informationen zum Binden von Eigenschaften für die Aufgabenidentität finden.
Beispielkonfiguration
{
"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"
}
}