Bug #3632
closedTPC exceedence notification feature
0%
Description
Email alert and notification feature is required as part of the remote workflow execution. Specifically, it will be used for TPC exceedence notification so that managers can receive an email and a link to the report when there is a TPC exceedence.
Updated by ben leinfelder over 15 years ago
for 2a1 release - we'll be using a "special" report item that will identify a TPC as being Normal or Exceeded. This needs to be made available in the WorkflowRun metadata after a report is generated from a workflow execution.
Updated by ben leinfelder over 15 years ago
i'm going to take a stab at extracting a field from the reportinstance (post run) and adding a field to the WorkflowRun metadata document indicating the status
Updated by ben leinfelder over 15 years ago
Okay - fairly easy to look up values from the ReportInstance.
Now it's just a matter of making a standard report element that will capture that value (Normal vs. Exceeded).
if we had a sink actor on the canvas named "status" with a single input port named "status" then we could just look for the report item with the name that ends with "status.status"
Updated by ben leinfelder over 15 years ago
entry in the config.xml allows us to include many report items in the run metadata:
<!-- Reporting configuration -->
<reporting>
<!-- "promote" report instance values to workflow run metadata fields -->
<reportMapping>
<itemName>status.input</itemName>
<metadataName>TPC Staus</metadataName>
</reportMapping>
</reporting>