added End Event to simple log view w/ burnettk

This commit is contained in:
jasquat 2023-01-18 12:01:37 -05:00
parent 3416b2f015
commit cb9d36f714
2 changed files with 5 additions and 2 deletions

View File

@ -190,7 +190,7 @@ 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 == "Default Throwing Event", SpiffLoggingModel.bpmn_task_type.in_(["Default Throwing Event", "End Event"]), # type: ignore
) )
) )

View File

@ -46,7 +46,10 @@ export default function ProcessInstanceLogList() {
return ( return (
<tr key={rowToUse.id}> <tr key={rowToUse.id}>
<td data-qa="paginated-entity-id">{rowToUse.id}</td> <td data-qa="paginated-entity-id">{rowToUse.id}</td>
<td>{rowToUse.bpmn_task_name}</td> <td>
{rowToUse.bpmn_task_name ||
(rowToUse.bpmn_task_type === 'End Event' ? 'Process Ended' : '')}
</td>
{isDetailedView && ( {isDetailedView && (
<> <>
<td>{rowToUse.message}</td> <td>{rowToUse.message}</td>