You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Opie, I would like to see an indication when a process did not complete within the specified timespan (or completed but exceeded the specified timespan).
Defining a Process SLA is a platform-level action (as opposed to a product specific action) since it requires definition of a process and its SLA requirements by personnel who are both business and technology savvy (Archie, the architect), and monitoring by the Ops personnel (Opie), and it will later be debugged and investigated in SI by Dave (or Archie)
Completion event: "OrderAccepted" in the "CustomerRelations" endpoint
Must complete within 60 seconds
Process 3:
Process name: "Content Provisioning"
Starting event: "OrderAccepted" in the "ContentManagement" endpoint
Completion event: "DownloadIsReady"
Must complete within 10 seconds
Process 4:
Process name: "Order Cancellation"
Starting event: "CancelOrder"
Completion event: "OrderCancelled"
"Must complete..." is not checked (no completion SLA)
Case 1: Successful completion
Open Video Store sample in VS and submit an order
Wait until the conversation completes, within 40 seconds
Make sure no event is raised in ServicePulse
Case 2: Delayed completion
Open Video Store sample in VS
Change the BuyersRemorseIsOver timeout from 20 seconds to 50 seconds
Submit an order
Wait until the conversation completes (in a little bit more than 40 seconds)
As soon as the "Customer Interaction" process completes (processing the DownloadIsReady message):
the Process SLA indicator is red and the it number is incremented
an event is raised (severity: error) indicating that: "'Customer Interaction' process instance [ProcessInstanceId] did not complete within specified time of 40 seconds (completed in 52 seconds)"
Case 3: SLA violation without completion
Open Video Store sample in VS
Change the BuyersRemorseIsOver timeout from 20 seconds to 600 seconds
Submit an order
Wait for up to 300 seconds
Within 300 seconds:
The Process SLA indicator is red and the it number is incremented
an event is raised "Customer Interaction" process did not complete (processing the DownloadIsReady message), and an event is raised (severity: error) indicating that: "'Customer Interaction' Process instance [ProcessInstanceId] did not complete within specified time of 40 seconds.
another event is raised: "CRM Data Processing" process did not complete, and an event is raised (severity: error) indicating that: "'CRM Data Processing' Process instance [ProcessInstanceId] did not complete within specified time of 60 seconds.
After 600 seconds, the process completes, and the following events are raised:
"'Customer Interaction' Process instance [ProcessInstanceId] did not complete within specified time of 40 seconds (completed in 605 seconds)
"'CRM Data Processing' Process instance [ProcessInstanceId] did not complete within specified time of 60 seconds (completed in 603 seconds)
Case 4: SLA violation without completion (2nd example)
Open Video Store sample in VS
Add a delay in the ProvisionDownloadResponse of 11 seconds
Submit an order
Wait until the conversation completes
As soon as the conversation completes:
The Process SLA indicator is red and the it number is incremented
an event is raised (severity: error) indicating that: "'Content Provisioning' Process instance [ProcessInstanceId] did not complete within specified time of 10 seconds.
No other event is raised (since "CRM Data Processing" was not affected and completed within 60 seconds, and "Customer Interaction" process also completed within 40 seconds)
Case 5: Process Cancellation
Open Video Store sample in VS
Change the BuyersRemorseIsOver timeout from 20 seconds to 600 seconds
Add a delay in the OrderCancelled of 60 seconds
Submit an order
Wait for up to 300 seconds
Within 300 seconds:
The Process SLA indicator is red and the it number is incremented
an event is raised "Customer Interaction" process did not complete (processing the DownloadIsReady message), and an event is raised (severity: error) indicating that: "'Customer Interaction' Process instance [ProcessInstanceId] did not complete within specified time of 40 seconds.
another event is raised: "CRM Data Processing" process did not complete, and an event is raised (severity: error) indicating that: "'CRM Data Processing' Process instance [ProcessInstanceId] did not complete within specified time of 60 seconds.
After 400 seconds, click on the Cancel button to send a CancelOrder message
The process is cancelled within ~460 seconds (400 waited, and 60 delayed in OrderCancelled processing)
No additional events are raised
The text was updated successfully, but these errors were encountered:
Note that the above acceptance tests do include the indicator being red and the number incrementing as processes violate their SLA's.
It does not include a definition of how the indicator turns to be ing green again (more precisely: how Opie turns the indicator to green).
This is defined in the issue for acknowledging the events: #13
As Opie, I would like to see an indication when a process did not complete within the specified timespan (or completed but exceeded the specified timespan).
Notes:
Acceptance tests:
Prep for acceptance tests:
Case 1: Successful completion
Case 2: Delayed completion
"'Customer Interaction' process instance [ProcessInstanceId] did not complete within specified time of 40 seconds (completed in 52 seconds)"
Case 3: SLA violation without completion
"'Customer Interaction' Process instance [ProcessInstanceId] did not complete within specified time of 40 seconds.
"'CRM Data Processing' Process instance [ProcessInstanceId] did not complete within specified time of 60 seconds.
"'Customer Interaction' Process instance [ProcessInstanceId] did not complete within specified time of 40 seconds (completed in 605 seconds)
"'CRM Data Processing' Process instance [ProcessInstanceId] did not complete within specified time of 60 seconds (completed in 603 seconds)
Case 4: SLA violation without completion (2nd example)
"'Content Provisioning' Process instance [ProcessInstanceId] did not complete within specified time of 10 seconds.
Case 5: Process Cancellation
"'Customer Interaction' Process instance [ProcessInstanceId] did not complete within specified time of 40 seconds.
"'CRM Data Processing' Process instance [ProcessInstanceId] did not complete within specified time of 60 seconds.
The text was updated successfully, but these errors were encountered: