ui.apps/src/main/content/jcr_root/apps/acs-commons/components/utilities/bulk-workflow-manager/includes/aem-transient-workflow/status.jsp
<%-- Status Boxes --%>
<div ng-show="data.status.status === 'STOPPED'"
acs-coral-alert
data-alert-type="notice"
data-alert-size="large"
data-alert-title="Stopped">
The execution of this bulk workflow process was stopped.
<br/><br/>
Press the "Resume Bulk Worklfow" button below to resume bulk workflow processing.
</div>
<div ng-show="data.status.status === 'COMPLETED'"
acs-coral-alert
data-alert-type="success"
data-alert-size="large"
data-alert-title="Complete">
The execution of this bulk run is complete. Since the Workflow was executed as Transient, there is not audit history of success or failure.
<br/>
To execute other workflow in bulk, create a new Bulk Workflow Manager page.
</div>
<%-- Status Summary --%>
<h2>Bulk Workflow Execution Summary</h2>
<div style="width: 48%; padding-right: 2%; float: left;">
<table class="coral-Table coral-Table--bordered">
<tbody>
<tr class="coral-Table-row">
<td class="coral-Table-cell">Runner</td>
<td class="coral-Table-cell">AEM Transient Workflow Engine</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">Status</td>
<td class="coral-Table-cell" style="text-transform: capitalize;">{{ data.status.status }}
<span ng-show="data.status.subStatus && data.status.subStatus !== 'SLEEPING'"> ( {{ data.status.subStatus }} )</span>
</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">
<span class="coral-Form-fieldinfo coral-Icon coral-Icon--infoCircle coral-Icon--sizeS" data-init="quicktip" data-quicktip-type="info" data-quicktip-arrow="bottom"
data-quicktip-content="Due to transient execution this number includes success and failures."></span>
Completed</td>
<td class="coral-Table-cell">{{ data.status.completeCount }}</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">
<span class="coral-Form-fieldinfo coral-Icon coral-Icon--infoCircle coral-Icon--sizeS" data-init="quicktip" data-quicktip-type="info" data-quicktip-arrow="bottom"
data-quicktip-content="Due to transient execution the number of failures cannot be reliably tracked."></span>
Failed</td>
<td class="coral-Table-cell">Unknown</td>
</tr>
<tr class="coral-Table-row" ng-show="data.status.remainingCount > 0">
<td class="coral-Table-cell">Remaining</td>
<td class="coral-Table-cell">{{ data.status.remainingCount }}</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">Total</td>
<td class="coral-Table-cell">{{ data.status.totalCount }}</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">
<span class="coral-Form-fieldinfo coral-Icon coral-Icon--infoCircle coral-Icon--sizeS" data-init="quicktip" data-quicktip-type="info" data-quicktip-arrow="bottom"
data-quicktip-content="When true, execution is throttled via 'ACS AEM Commons - Throttled Task Runner Service' configurable via OSGi configuration"></span>
Auto-Throttle</td>
<td class="coral-Table-cell">{{ data.status.autoThrottle }}</td>
</tr>
<tr class="coral-Table-row"
ng-show="data.status.startedAt">
<td class="coral-Table-cell">
<span ng-show="data.status.autoThrottle"
class="coral-Form-fieldinfo coral-Icon coral-Icon--infoCircle coral-Icon--sizeS" data-init="quicktip" data-quicktip-type="info" data-quicktip-arrow="bottom"
data-quicktip-content="CPU usage throttled via 'ACS AEM Commons - Throttled Task Runner Service' configurable via OSGi configuration"></span>
CPU Usage
</td>
<td class="coral-Table-cell">{{ data.status.systemStats.cpu }} <span ng-show="data.status.autoThrottle">/ {{ data.status.systemStats.maxCpu }}</span></td>
</tr>
<tr class="coral-Table-row"
ng-show="data.status.startedAt">
<td class="coral-Table-cell">
<span ng-show="data.status.autoThrottle"
class="coral-Form-fieldinfo coral-Icon coral-Icon--infoCircle coral-Icon--sizeS" data-init="quicktip" data-quicktip-type="info" data-quicktip-arrow="top"
data-quicktip-content="Memory (Heap) usage throttled via 'ACS AEM Commons - Throttled Task Runner Service' configurable via OSGi configuration"></span>
Memory (Heap) Usage
</td>
<td class="coral-Table-cell">{{ data.status.systemStats.mem }} <span ng-show="data.status.autoThrottle">/ {{ data.status.systemStats.maxMem }}</span></td>
</tr>
</tbody>
</table>
</div>
<div style="width: 48%; padding-left: 2%; float: left;">
<table class="coral-Table coral-Table--bordered">
<tbody>
<tr class="coral-Table-row">
<td class="coral-Table-cell">Query Type</td>
<td class="coral-Table-cell" style="text-transform: capitalize;">{{ data.status.queryType }}</td>
</tr>
<tr class="coral-Table-row" ng-hide="data.status.queryType === 'list'">
<td class="coral-Table-cell">Query Statement</td>
<td class="coral-Table-cell" style="white-space: pre;">{{ data.status.queryStatement }}</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">Batch Size</td>
<td class="coral-Table-cell">{{ data.status.batchSize }}</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">Batch Interval</td>
<td class="coral-Table-cell">{{ data.status.interval }} seconds</td>
</tr>
<tr class="coral-Table-row">
<td class="coral-Table-cell">Workflow Model</td>
<td class="coral-Table-cell">{{ data.status.workflowModel }}</td>
</tr>
<tr class="coral-Table-row"
ng-show="data.status.startedAt">
<td class="coral-Table-cell">Started At</td>
<td class="coral-Table-cell">{{ data.status.startedAt }}</td>
</tr>
<tr class="coral-Table-row"
ng-show="data.status.stoppedAt && !data.status.completedAt">
<td class="coral-Table-cell">Stopped At</td>
<td class="coral-Table-cell">{{ data.status.stoppedAt }}</td>
</tr>
<tr class="coral-Table-row"
ng-show="data.status.completedAt">
<td class="coral-Table-cell">Completed At</td>
<td class="coral-Table-cell">{{ data.status.completedAt }}</td>
</tr>
<tr class="coral-Table-row"
ng-show="data.status.timeTakenInMillis">
<td class="coral-Table-cell">Time Taken</td>
<td class="coral-Table-cell">{{ timeTaken() }}</td>
</tr>
<tr class="coral-Table-row"
ng-show="data.status.timeTakenInMillis && !data.status.completedAt">
<td class="coral-Table-cell">Projected Time Remaining</td>
<td class="coral-Table-cell">{{ projectedTimeRemaining() }}</td>
</tr>
</tbody>
</table>
</div>
<div style="clear: both; margin-bottom: 1rem;"></div>