We are calculating savings based on the job execution time, with a custom weighting per process. So savings = weight * execution_time. We want to use the ROI Dataset to store the weights.
Unfortunately, none of the built-in measures correctly reflects execution time for long-running workflows.
- There is “Total run time in seconds”, but this is apparently only job end time - job start time, so it completely fails for long-running workflows
- We then tried to calculate actual execution time based on “total run time” - “Total suspended time”, but this is still too large because it does not take into account delays due to jobs staying in “resumed” state for some time
- In the Jobs explore, we can use a table calculation to calculate something that looks correct as “end time” - “creation time” - “suspended time” - “pending time”, but the pending time is missing in the ROI explore
We would need either of two changes:
- Add an execution time measure that correctly measures just the execution time out-of-the-box (preferred, imo “Total run time in seconds” should already work that way, but doesn’t)
- Add pending time to the Process ROI explore so we can use our own table calculation

