Skip to content

Commit

Permalink
Adding process instance name and some config cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cijujoseph authored and cijujoseph committed Aug 7, 2017
1 parent c890e05 commit 431f518
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ public Map<String, Object> lookupMapping(Map<String, Object> mapping,
case "BusinessKey":
value = processInstanceDetails.getBusinessKey();
break;


case "ProcessInstanceName":
value = processInstanceDetails.getName();
break;

case "ProcessDefinitionId":
value = processInstanceDetails.getProcessDefinitionId();
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@
"fieldSource": "processDefinitionMetaData"
},
{
"originalName": "businessKey",
"name": "BusinessKey",
"type": "string",
"fieldSource": "processInstanceMetaData"
},
{
"name": "ProcessInstanceName",
"type": "string",
"fieldSource": "processInstanceMetaData"
},
{
"originalName": "processDefinitionId",
"name": "ProcessDefinitionId",
"type": "string",
"fieldSource": "processInstanceMetaData"
},
{
"originalName": "startUserId",
"name": "StartUser",
"type": "activitiUserId",
"fieldSource": "processInstanceMetaData",
Expand All @@ -50,25 +52,21 @@
"fieldSource": "processInstanceMetaData"
},
{
"originalName": "deleteReason",
"name": "ProcessDeleteReason",
"type": "string",
"fieldSource": "processInstanceMetaData"
},
{
"originalName": "superProcessInstanceId",
"name": "SuperProcessInstanceId",
"type": "string",
"fieldSource": "processInstanceMetaData"
},
{
"originalName": "id",
"name": "ProcessInstanceId",
"type": "string",
"fieldSource": "processInstanceMetaData"
},
{
"originalName": "startTime",
"name": "ProcessStartDate",
"type": "dateTime",
"fieldSource": "processInstanceMetaData",
Expand All @@ -80,7 +78,6 @@
}
},
{
"originalName": "endTime",
"name": "ProcessEndDate",
"type": "dateTime",
"fieldSource": "processInstanceMetaData",
Expand All @@ -92,7 +89,6 @@
}
},
{
"originalName": "durationInMillis",
"name": "ProcessDurationInWords",
"type": "durationInMills",
"fieldSource": "processInstanceMetaData",
Expand Down

0 comments on commit 431f518

Please sign in to comment.