Logo di Process Mining Insights

Process Mining Insights

Organizzazione
Happy-Technologies-LLC
process-mining-insights

Generate process mining insights to identify inefficiencies, bottlenecks, compliance deviations, and optimization opportunities from ServiceNow process data

Panoramica

AutoreHappy-Technologies-LLC
Repositoryhappy-platform-skills
Nome della skillprocess-mining-insights
Stelle
41
Fork
14
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Happy-Technologies-LLC su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Process Mining Insights in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/genai/process-mining-insights
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Happy-Technologies-LLC/happy-platform-skills.git /tmp/happy-platform-skills
mkdir -p .claude/skills
cp -r /tmp/happy-platform-skills/skills/genai/process-mining-insights .claude/skills/process-mining-insights
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Process Mining Insights in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Process Mining Insights non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Process Mining Insights non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Process Mining Insights

Overview

This skill generates actionable insights from ServiceNow Process Mining data by analyzing process variants, identifying bottlenecks, detecting compliance deviations, and recommending optimization opportunities. It transforms raw process data into decision-ready intelligence.

  • Retrieve and analyze process definitions, variants, and activity data
  • Identify bottleneck activities where cases spend disproportionate time
  • Detect compliance deviations: skipped steps, out-of-order activities, unauthorized actors
  • Compare variant performance to identify the most efficient process paths
  • Calculate process KPIs: throughput time, rework rate, automation potential
  • Generate optimization recommendations with estimated impact

When to use: When analyzing business process efficiency, investigating process compliance, preparing process improvement proposals, or building executive dashboards for process performance.

Prerequisites

  • Roles: process_mining_admin, process_mining_analyst, or admin
  • Plugins: com.snc.process_mining (Process Mining)
  • Access: Read on sn_process_mining_process, sn_process_mining_variant, sn_process_mining_activity, sn_process_mining_case
  • Knowledge: Understanding of process mining concepts (variants, activities, transitions, conformance)
  • Data: At least one process mining project with imported event data

Procedure

Step 1: Retrieve Process Definitions

List available process mining projects and their metadata.

Using MCP (Claude Code/Desktop):

Tool: SN-Query-Table
Parameters:
  table_name: sn_process_mining_process
  query: active=true
  fields: sys_id,name,description,source_table,total_cases,total_variants,total_activities,created_on,updated_on
  limit: 20

Using REST API:

bash
GET /api/now/table/sn_process_mining_process?sysparm_query=active=true&sysparm_fields=sys_id,name,description,source_table,total_cases,total_variants,total_activities,created_on,updated_on&sysparm_limit=20

Step 2: Analyze Process Variants

Retrieve variants sorted by frequency to understand the most common process paths.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sn_process_mining_variant
  query: process=[process_sys_id]^ORDERBYDESCcase_count
  fields: sys_id,name,process,case_count,avg_duration,median_duration,activity_sequence,conformance_status
  limit: 25

Using REST API:

bash
GET /api/now/table/sn_process_mining_variant?sysparm_query=process=[process_sys_id]^ORDERBYDESCcase_count&sysparm_fields=sys_id,name,process,case_count,avg_duration,median_duration,activity_sequence,conformance_status&sysparm_limit=25

Key variant analysis:

VariantCasesAvg DurationConformanceNotes
Happy Path1,2452.3 daysCompliantIdeal process flow
With Rework3896.1 daysDeviatedLoop between Review and Fix
Skipped Approval671.1 daysNon-compliantMissing manager approval
Emergency Path420.4 daysCompliantExpedited with justification

Step 3: Identify Bottleneck Activities

Query activity-level data to find where cases spend the most time.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sn_process_mining_activity
  query: process=[process_sys_id]^ORDERBYDESCavg_duration
  fields: sys_id,name,process,case_count,avg_duration,median_duration,min_duration,max_duration,avg_wait_time
  limit: 20

Using REST API:

bash
GET /api/now/table/sn_process_mining_activity?sysparm_query=process=[process_sys_id]^ORDERBYDESCavg_duration&sysparm_fields=sys_id,name,process,case_count,avg_duration,median_duration,min_duration,max_duration,avg_wait_time&sysparm_limit=20

Bottleneck identification criteria:

  • Duration bottleneck: Activity avg_duration > 2x the process average
  • Wait bottleneck: Activity avg_wait_time > avg processing time (waiting, not working)
  • Volume bottleneck: Activity case_count significantly higher than downstream (queue buildup)
  • Variance bottleneck: max_duration / min_duration > 10x (inconsistent execution)

Step 4: Analyze Transitions Between Activities

Examine how cases flow between activities to detect rework loops and unusual paths.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sn_process_mining_transition
  query: process=[process_sys_id]^ORDERBYDESCcase_count
  fields: sys_id,source_activity,target_activity,case_count,avg_duration,process
  limit: 50

Using REST API:

bash
GET /api/now/table/sn_process_mining_transition?sysparm_query=process=[process_sys_id]^ORDERBYDESCcase_count&sysparm_fields=sys_id,source_activity,target_activity,case_count,avg_duration,process&sysparm_limit=50

Look for:

  • Rework loops: Transitions where target_activity appears earlier in the expected sequence
  • Skip patterns: Expected transitions with zero or very low case counts
  • Unusual paths: Transitions not present in the reference model

Step 5: Detect Compliance Deviations

Compare actual process execution against the reference (happy path) model.

Deviation categories:

TypeDescriptionRisk Level
Skipped activityRequired step was bypassed entirelyHigh
Out-of-order executionActivities performed in wrong sequenceMedium
Unauthorized actorActivity performed by someone without proper roleCritical
Excessive reworkActivity repeated more than threshold (e.g., 3 times)Medium
SLA breachActivity duration exceeded defined SLAHigh
Missing documentationRequired notes or attachments not presentLow

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sn_process_mining_variant
  query: process=[process_sys_id]^conformance_status=non_compliant
  fields: sys_id,name,case_count,activity_sequence,conformance_status,deviation_details
  limit: 20

Step 6: Calculate Process KPIs

Derive key performance indicators from the process data:

=== PROCESS MINING KPI DASHBOARD ===
Process: Incident Management
Period: Last 90 days

Throughput Metrics:
  Total Cases:           1,743
  Avg Cycle Time:        3.2 days
  Median Cycle Time:     1.8 days
  90th Percentile:       8.4 days

Efficiency Metrics:
  Happy Path Rate:       71.4% (1,245/1,743)
  Rework Rate:           22.3% (389 cases with loops)
  First-Time-Right:      77.7%
  Automation Rate:       34.2% (activities performed by system)

Compliance Metrics:
  Conformance Rate:      96.2% (1,676/1,743 compliant)
  Skipped Steps:         67 cases (3.8%)
  SLA Compliance:        89.1%

Resource Metrics:
  Avg Handoffs:          3.1 per case
  Avg Wait vs Work:      62% wait / 38% work
  Busiest Activity:      "Approval" (avg 1.4 days wait)

Step 7: Generate Optimization Recommendations

Based on the analysis, produce prioritized recommendations:

=== OPTIMIZATION RECOMMENDATIONS ===

1. [HIGH IMPACT] Reduce Approval Wait Time
   Finding: "Manager Approval" averages 1.4 days wait, 62% of total cycle time
   Root Cause: Approvals queue in manager inbox without SLA enforcement
   Recommendation: Implement auto-approval for low-risk items (<$500) and
   add escalation after 4 hours for standard items
   Estimated Impact: -0.8 days avg cycle time, 25% throughput improvement

2. [HIGH IMPACT] Eliminate Rework Loop: Review-Fix-Review
   Finding: 389 cases (22.3%) cycle between Review and Fix steps
   Root Cause: Incomplete initial submissions missing required fields
   Recommendation: Add mandatory field validation at submission and
   pre-review checklist
   Estimated Impact: -2.8 days for affected cases, 15% rework reduction

3. [MEDIUM IMPACT] Address Skipped Approval Deviation
   Finding: 67 cases bypassed mandatory approval step
   Root Cause: Users with admin role can override state transitions
   Recommendation: Add business rule to enforce approval regardless of role,
   with emergency override requiring documented justification
   Estimated Impact: 100% conformance on approval step

4. [MEDIUM IMPACT] Automate Assignment Activity
   Finding: "Assignment" activity is manual, avg 2.1 hours
   Root Cause: No auto-assignment rules configured for this category
   Recommendation: Implement predictive assignment (see itsm/predict-assignment)
   Estimated Impact: -2 hours per case, 95% auto-assignment rate

Step 8: Export and Report Findings

Compile findings into a structured report for stakeholders:

Using MCP:

Tool: SN-Add-Work-Notes
Parameters:
  sys_id: [process_sys_id]
  work_notes: |
    === PROCESS MINING ANALYSIS REPORT ===
    Process: [process_name]
    Analysis Date: [current_date]
    Period: [date_range]

    EXECUTIVE SUMMARY:
    [2-3 sentence summary of key findings]

    TOP BOTTLENECKS:
    [Ranked list with impact metrics]

    COMPLIANCE STATUS:
    [Conformance rate and critical deviations]

    RECOMMENDATIONS:
    [Prioritized list with estimated impact]

    NEXT STEPS:
    [Action items with owners and timelines]

Tool Usage

ToolPurposeWhen to Use
SN-Query-TableRetrieve process, variant, activity, and transition dataCore analysis data gathering
SN-Natural-Language-SearchFind processes or cases by natural languageAd-hoc investigation
SN-Update-RecordUpdate process records with analysis resultsPersisting findings
SN-Add-Work-NotesDocument analysis and recommendationsReports and audit trail
SN-Get-Table-SchemaExplore process mining table structuresSetup and field discovery

Best Practices

  1. Start with the happy path -- understand the ideal process before analyzing deviations
  2. Focus on high-volume variants -- optimize the paths that affect the most cases first
  3. Distinguish wait from work -- most bottlenecks are wait time, not processing time
  4. Validate deviations contextually -- some "deviations" are legitimate exceptions (emergencies)
  5. Quantify impact -- always attach metrics (time saved, cost reduced) to recommendations
  6. Compare time periods -- trend analysis reveals whether processes are improving or degrading
  7. Involve process owners -- share findings with the people who can act on them
  8. Iterate regularly -- run analysis monthly to track improvement and catch regressions
  9. Correlate with outcomes -- link process variants to business outcomes (CSAT, resolution quality)
  10. Use conformance checking -- compare against BPMN reference models when available

Troubleshooting

"No process mining data found"

Cause: Process mining project has not been configured or data has not been imported Solution: Verify that sn_process_mining_process has active records. Check that event log data has been imported from the source table.

"Variant count is extremely high"

Cause: Process is highly variable or event data includes noise (system events, duplicate timestamps) Solution: Apply filters to exclude system-generated activities. Focus on the top 20 variants which typically cover 80%+ of cases (Pareto principle).

"Activity durations seem incorrect"

Cause: Timestamps may reflect calendar time including weekends/holidays rather than business hours Solution: Check if the process mining project uses business calendar settings. Adjust duration calculations to exclude non-business hours.

"Conformance status is blank on variants"

Cause: No reference model has been defined for the process Solution: Create a reference model (happy path) in the process mining project settings. Without it, conformance checking cannot be performed.

Examples

Example 1: Incident Management Process Analysis

Process: Incident Management (1,743 cases over 90 days)

Key Findings:

  • Happy path (Create > Assign > Investigate > Resolve > Close) covers 71% of cases
  • Bottleneck: Assignment step averages 2.1 hours due to manual routing
  • Rework: 22% of cases loop between Investigation and Reassignment
  • Compliance: 3.8% of cases skip the required approval for P1 incidents

Top Recommendation: Implement auto-assignment to eliminate the 2.1-hour routing delay.

Example 2: Change Management Process Compliance

Process: Change Management (412 changes over 90 days)

Key Findings:

  • 94% conformance rate overall
  • 26 changes (6.3%) bypassed CAB review -- all were "Normal" changes incorrectly marked "Standard"
  • Emergency changes (42 cases) had 98% post-implementation review completion
  • Bottleneck: CAB scheduling averages 3.2 days wait time

Top Recommendation: Add validation to prevent Normal changes from using Standard change workflow.

Example 3: Service Catalog Fulfillment Efficiency

Process: Service Catalog Fulfillment (2,891 requests over 90 days)

Key Findings:

  • 5 distinct fulfillment paths identified
  • Fastest variant (auto-provisioned software) averages 0.3 days
  • Slowest variant (hardware with procurement) averages 14.2 days
  • 78% of total cycle time is wait time (approvals + procurement)
  • 12% of requests are cancelled after approval due to incorrect item selection

Top Recommendation: Add guided item selection wizard to reduce 12% cancellation rate.

Related Skills

  • itsm/predict-assignment - Implement auto-assignment recommended by process analysis
  • itsm/change-management - Change management process understanding
  • reporting/trend-analysis - Complementary trend analysis on process data
  • reporting/sla-analysis - SLA compliance analysis
  • genai/flow-generation - Automate process steps identified as optimization candidates

Domande frequenti

Cosa fa la skill IA Process Mining Insights?

Generate process mining insights to identify inefficiencies, bottlenecks, compliance deviations, and optimization opportunities from ServiceNow process data

Perché usare Process Mining Insights su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Process Mining Insights è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Process Mining Insights in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/genai/process-mining-insights. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Process Mining Insights?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Process Mining Insights?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Process Mining Insights: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Process Mining Insights è gratuita?

Sì. È pubblicata su GitHub da Happy-Technologies-LLC con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇