show start events in logs as well and added bpmn process identifiers to log table w/ burnettk
This commit is contained in:
parent
edf11f76cf
commit
f5b77f9245
|
@ -190,7 +190,9 @@ def process_instance_log_list(
|
||||||
# )
|
# )
|
||||||
and_(
|
and_(
|
||||||
SpiffLoggingModel.message.in_(["State change to COMPLETED"]), # type: ignore
|
SpiffLoggingModel.message.in_(["State change to COMPLETED"]), # type: ignore
|
||||||
SpiffLoggingModel.bpmn_task_type.in_(["Default Throwing Event", "End Event"]), # type: ignore
|
SpiffLoggingModel.bpmn_task_type.in_( # type: ignore
|
||||||
|
["Default Throwing Event", "End Event", "Default Start Event"]
|
||||||
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,9 @@ export default function ProcessInstanceLogList() {
|
||||||
<td data-qa="paginated-entity-id">{rowToUse.id}</td>
|
<td data-qa="paginated-entity-id">{rowToUse.id}</td>
|
||||||
<td>
|
<td>
|
||||||
{rowToUse.bpmn_task_name ||
|
{rowToUse.bpmn_task_name ||
|
||||||
|
(rowToUse.bpmn_task_type === 'Default Start Event'
|
||||||
|
? 'Process Started'
|
||||||
|
: '') ||
|
||||||
(rowToUse.bpmn_task_type === 'End Event' ? 'Process Ended' : '')}
|
(rowToUse.bpmn_task_type === 'End Event' ? 'Process Ended' : '')}
|
||||||
</td>
|
</td>
|
||||||
{isDetailedView && (
|
{isDetailedView && (
|
||||||
|
@ -55,9 +58,9 @@ export default function ProcessInstanceLogList() {
|
||||||
<td>{rowToUse.message}</td>
|
<td>{rowToUse.message}</td>
|
||||||
<td>{rowToUse.bpmn_task_identifier}</td>
|
<td>{rowToUse.bpmn_task_identifier}</td>
|
||||||
<td>{rowToUse.bpmn_task_type}</td>
|
<td>{rowToUse.bpmn_task_type}</td>
|
||||||
<td>{rowToUse.bpmn_process_identifier}</td>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
<td>{rowToUse.bpmn_process_identifier}</td>
|
||||||
<td>{rowToUse.username}</td>
|
<td>{rowToUse.username}</td>
|
||||||
<td>
|
<td>
|
||||||
<Link
|
<Link
|
||||||
|
@ -81,9 +84,9 @@ export default function ProcessInstanceLogList() {
|
||||||
<th>Message</th>
|
<th>Message</th>
|
||||||
<th>Task Identifier</th>
|
<th>Task Identifier</th>
|
||||||
<th>Task Type</th>
|
<th>Task Type</th>
|
||||||
<th>Bpmn Process Identifier</th>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
<th>Bpmn Process Identifier</th>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th>Timestamp</th>
|
<th>Timestamp</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue