Skip to main content

Automation Time Saved Tracking

Purpose

To track the estimated time saved to the client via ProVal automation.

Associated Content

ContentTypeFunction
Link to the documentation of the content pieceWhat is the type of content? (Script, Custom Table, VSA Policy, CWM Dataview, etc.)What does this content piece do in the whole of the solution?
VSA - VSA Configuration - Agent Procedure - Automation Time CF UpdateAPThis is the main procedure used by all others to perform the CF update logic.
VSA - VSA Configuration - Agent Procedure - Monthly Automation Time ResetAPResets the value of the Monthly CF
VSA - VSA Configuration - Agent Procedure - Automation Time Saved (5-60) MinutesAPAPs with incremental time values that call the main CF Update Script. These are for ease of scheduling within other content.
VSA - VSA Configuration - Agent Procedure - Automation Time Saved InitializeAPSets both CFs to 0. This is for ease of implementation, as empty Custom Fields cannot be polled with Database Views.
VSA - VSA Host Procedure - Agent Procedure - Automation Time Saved ReportsAPRuns VSA - VSA Host Procedure - Agnostic - Get-VsaTimeSaved.ps1 and places the CSV it generates into GetFiles for client and consultant access.
VSA - VSA Host Procedure - Agnostic - Get-VsaTimeSaved.ps1PowershellGenerates a CSV report for the end client to show cumulative and monthly time saved values for each org in their environment, as well as the total for all orgs.
VSA - VSA Configuration - Custom Fields - xPVAL Automation Time SavedMachine CFWhere the cumulative and monthly time saved data is stored
VSA - VSA Configuration - Policy - Automation Time Monthly Reset SchedulePolicySchedules the Monthly CF Field Reset AP.
VSA - VSA Configuration - Policy - Automation Time Saved Report SchedulePolicySchedules the Report AP

Initial Implementation

  • Create both custom fields.
  • Import all Agent Procedures and check to ensure they reference the proper Custom Fields.
  • Import the Policy and ensure it properly schedules the Monthly Reset AP.
  • Continue to the next section.

Content Integration

For all content that needs saved time tracked, and any new content that will save the client considerable (5+ minutes) of manual configuration/labor, do the following:

Agent Procedures

  • Determine the location in the agent procedure where the automation is completed successfully.
  • Add an executeProcedure() function, and select one of the incremental APs.
  • If you would like a custom time to be entered, you can also use a getVariableUniversalWrite() function to set the custom time, directly before calling the Automation Time Saved CF Update procedure. Be sure to utilize universal1 only. For example:
    • getVariableUniversalWrite("7", " ", " ", All Operating Systems, Halt On Fail)
    • executeProcedure("Automation Time Saved CF Update", " ", Immediate, All Operating Systems, Halt On Fail)

Policy

  • Schedule the appropriate incremental AP. If the amount of time you wish to set does not exist as an incremental AP, create a new incremental AP with the desired time in minutes.

Monitors & Alerts

  • Set an ATSE action, Script, with the appropriate incremental AP. If the amount of time you wish to set does not exist as an incremental AP, create a new incremental AP with the desired time in minutes.