- Introduction
- Installation
- Self Service Licensing Guide Updated
- Prerequisites
- Decisions License Updated
- Basic
- Advanced
- Enterprise
- Containers
- Containers Overview
- Decisions Container Updated
- Decisions Environment Variables
- Deploying Containers on Docker
- Deploying Containers on Azure
- Deploying Containers on Amazon ECS
- Deploying Containers on GCP
- Deploying Azure Kubernetes Services (AKS) Updated
- Deploying an AWS Kubernetes Cluster
- Securing Decisions Container Environment
- Clustering
- Multi Tenancy
- Containers
- Upgrading
- Getting Started
- Data Structures
- Starting with Data Structures
- Creating Data Structures
- Creating Case Entities
- Creating Entities
- Creating Leased Entities
- Creating External Entities
- Creating Entity Extensions
- Creating Folder Extension Data Structures
- Creating Flow Execution Extension Data Structures
- Creating Flow Structures
- Creating Defined Data Structures
- Creating Database Structures
- Creating Value Lists
- Creating a CSV Data Structure
- Creating Types From JSON Schema
- Creating Types From XSD
- Creating Types From JSON
- Data Fields
- Building Data Structures CRUD Actions
- Data Structure CRUD Overview
- Case Entity CRUD Actions
- Database Structure CRUD Actions
- Defined Data Structure CRUD Actions
- Entity Structure CRUD Actions
- Entity Extension CRUD Actions Updated
- External Entity CRUD Actions
- Flow Execution Extension CRUD Actions Updated
- Folder Extension CRUD Actions Updated
- Managing Data Structures
- Flows
- Create Flows
- Flow Behaviors
- About Flow Behaviors Updated
- Building and Using Converter Flows
- Flow Step Trigger (After, Before, Error) Flow Behavior
- Folder Count Flow Behavior
- Login User Flow Behavior
- Post to Flow Handler Behavior
- Login User UI Flow Behavior
- Tile Source Flow Behavior
- Turn Flow Statistics On Updated
- Get Page Variable Updated
- Report Field Action Handler Flow
- Password Reset Flow
- Creating a BPMN Flow Updated
- Exporting BPMN Flow
- Report Group Action Flow
- Steps
- Simple Flows
- Sub Flows
- Flow Behaviors
- Configure Flows
- Debug Flows
- Implement Flows
- Best Practices
- Create Flows
- Forms
- Create Forms
- Form Controls
- Form Control Comparison
- Data Grids
- Data Repeaters
- Dropdown Lists
- Javascript Controls
- Form Control Glossary
- Form Control Behavior Overview
- Form Control Key Triggers
- Adding a Timeline to a Series of Forms
- Color Picker
- Copy-able Label
- Creating Help Text Messages for Form Fields
- Masked Textbox Control
- Currency Box and Number Box/Spinner
- Document Viewer
- Multiple File Upload and Download Controls
- Tree View Control
- User Controls
- Video Control
- Latitude and Longitude Control Updated
- HTML Display Control
- Create Form with Property Grid
- Editing Data Objects in a Wizard Property Grid
- Progress Bar Overview
- Editing CSV Records in a Form
- Simple Forms
- Form Controls
- Configure Forms
- Layout & Design
- Creating Form Backgrounds
- Layouts Overview
- Form Organization
- Grid Layout
- Canvas Layout
- Header Container Layout
- Horizontal and Vertical Stacks
- Split Panel Layout
- Responsive Containers and Grids
- Tabs Container Layout
- Using the Tab Editor to Set Tab Order
- Side Menu Containers
- Creating End Forms Updated
- Data & Logic
- CSS
- Form Settings in the Flow Designer
- Layout & Design
- Implement Forms
- Create Forms
- Rules
- Create Rules
- Creating Statement Rules
- Creating an Expression Rule
- Creating a Truth Table
- Creating an External Truth Table
- Creating a Rule Table
- Creating a Matrix Rule
- Creating a Tree Rule
- Creating a Rule Set
- Creating an Interceptor Rule
- Creating a Rule Chain
- Creating a Sequential Rule
- Leveraging Default Rules
- Rule Verbs
- Configure Rules
- Debug Rules
- Implement Rules
- Create Rules
- Reports Updated
- Pages / Dashboards
- Create Page / Dashboard
- Page Controls
- Charts
- Tiles
- Selecting a Data Drill View for the Report Viewer
- Report Viewer Control
- Flow Run Part Updated
- Folder Activity Panel
- Folder Viewer
- Tag Browser
- Adding Folder Navigation Buttons to a Page
- Horizontal Folder Timeline
- Adding Run Flow Links or Buttons to a Page
- Adding User Actions with a Page/Dashboard with the Action Bars Component
- Date Range Filter on Pages
- Filtering Reports via Page Control
- Adding an Image to a Page/Dashboard
- Page Controls
- Configure Page
- Implement Page
- Create Page / Dashboard
- Networking
- Integrations
- Azure Account and Group Sync
- Starting with Integrations
- Agents
- Database Integrations
- Integrating an External Database with a Flow
- Creating Database Table Relationships
- Creating a Database in MSSQL for Decisions
- External Database Integration
- Advanced Postgres Connection
- Integrate with Database Table
- Fetching External Data to a CSV
- Connecting with an ODBC
- Return Dynamic Data Rows When Fetching Data From Database
- Creating Access Pattern For Table Integrations
- Using Stored Procedure in Flows
- Raw SQL Step
- Integrating Decisions with External Oracle Database
- Connect to MySQL
- External Service for OData
- Adding a Query to a Database
- Add Query (Parameterized Queries)
- Using Transaction Steps
- Connecting to Amazon Redshift
- Integrating with Snowflake
- Managing Database Connection Timeouts
- Troubleshooting Database Connection Response Times
- External Webservices
- JWT
- OAuth
- REST Service Integration
- Using Decisions in External Applications
- Services
- Query Editor
- Decisions Backend
- Process Mining
- Modules
- About Modules
- Available Modules Updated
- Installing Modules
- Modules in GitHub
- Uploading and Installing Custom Modules
- Updating Custom Modules
- Generating Certificates with OpenSSL
- Active Directory
- Adobe Sign
- AI.Common
- AWS
- AWS Bedrock
- Azure
- Box Module
- Datamatics
- Docker
- Docusign
- Dropbox
- Enterprise Module
- Equifax
- Exchange Web Services
- Experian
- FHIR
- Financial
- Foreign Exchange
- Google Cloud
- Google Drive
- HL7
- HubSpot
- iCal
- Jira
- Logging.WindowsEvent
- Messaging
- MongoDB
- MSMQ
- MS OneDrive
- Okta
- OpenAI
- OpenID
- PGP
- Plaid
- PowerShell
- Python
- QR Codes
- Remedy
- R Module
- Salesforce
- SAML
- Sharepoint
- Slack
- SSH
- Symantec
- Telephony
- UnitTestCore
- USPS
- Word To PDF
- X12
- Advanced
- API and Authentication
- Troubleshooting
- Using Selenium and NUnit for Front-end Testing
- Understanding Thread Jobs and Processes
- Logging & Auditing
- Logging Overview Updated
- Logging Settings
- Reading Logs
- Using the Log Step
- Writing To Log Files
- Creating Custom Log Files
- Setting up AWS Cloudwatch Logging
- Setting Up Azure Log Analytics Integration
- Enabling W3C Logging
- Enabling Auditing
- Viewing Audit History
- Troubleshooting Using the Profiler
- Configuring Decisions with Grafana Loki
- Decisions Disaster Recovery Architecture
- SDK
- Administrators
- User Management
- Deployment
- Import & Export
- Best Practices for Decisions Deployment
- Repository
- Repository Overview
- Repository Installation
- Connecting a Decisions Server to a Repository Server
- Repository Settings
- Using The Repository
- Configuring CICD Process Using Azure DevOps
- Configuring Repository with Repo-SSO
- Repository Features and Functions
- Troubleshooting Repository
- Repository Revisions
- Repository Branches
- Sub Project Overview
- Repository Action Flows
- Customization
- Permissions
- System Folders
- System Settings
- System Folders Tree
- Customizing System Page
- Controlling Assignment Notification Types for Server
- Creating Custom Modes of Notification with Notification Flows
- Event Viewer
- Flow Management Dashboard
- System Validation Folder
- Turn Portal Statistics On
- Configuring Locations
- Stored Workflows
- Setting Up Notifications for Events
- Toolbox Visibility Rules
- Email and SMTP in Decisions
- File Archiving and Deletion
- Integration Activities
Have Questions? Need Expert Answers? JOIN LUNCH N' LEARNS!
Troubleshooting Using the Profiler
- Updated on 05 Aug 2022
- 4 Minutes to read
- Suggest Edit
- Print
- Share
- DarkLight
Overview
The Decisions Profiler is designed to help the Designer find problems in their Flows. The Profiler writes out and captures data on all step executions and the count of Executions/Objects and the Time they took to complete the action. This information can be used by Administrative accounts to see which parts of a system or process can be better optimized. An Admin can see which processes are running as expected, which are running slower, which ones are idle, etc.
This document is an introduction to using the Profiler to determine such issues and how to access and use the Profiler from multiple points within Decisions.
Users may access a Profiler Session in a few ways; via the System folder, by profiling a specific Flow, or through the Debugger on a Flow.
System Tools
To access the Profiler from the System Folder, from the Designer Studio, navigate to System > Administration > System Tools > Profiler.
Four tiles on the Profile View Dashboard: Flow Execution, Database Calls, Flow Steps, and Hotspots.
- Flow Execution: Number of Flows executed.
- Database Calls: Total number of calls made to a Database
- Flow Steps: Total number of Steps executed.
- Hotspots: Shows the number of items for which MilliSecondsWithoutChildren is greater than 1000.
Start new Profiling Session
- Select the START NEW PROFILING SESSION button from the top Action bar of the Profiler.
- The Profile Data window will appear with the following configurations; Profile Name, Summarize Profile Events Less Than (ms), Only Profile Top Level Service Methods, and Save Current.
- Profile Name: The name given to identify this Profile Session for viewing later.
- Summarize Profile Events Less Than (ms): A parameter that summarizes Profile Events if they are recorded in less time than the defined number. For example, the details will be summarized if a Profile Event is recorded in less than 5 milliseconds. Summarized Profile Events are also viewable via the PROFILE VIEW (SUMMARIZED) tab.
- Only Profile Top Level Service Methods: This setting excludes web service calls in child processes.
- Upon clicking OK, the Profile Session resets and begins running. While the Profiler is running, clicking the STOP PROFILING button in the top Action Bar provides options to stop the Profile and either Save Profile Data First or stop Without Saving. Selecting the Without Saving option under STOP PROFILING will NOT record Profile Data.
- After stopping the Profiling session, the data will appear under the Profile Sessions tab.
Profile Actions
- Right-click a Profile Session or access the DOWNLOAD button from the top Action bar, and users gain access to actions.
Open Text View
Open Text View downloads a Text file that lists out all of the Profile Data. For this example text file, a Flow is called with a Rule that will run inside the Flow.
Each nesting has an Item, Type, Total Time, Total Time w/o Children, Count, Min time, Max Time, and Avg Time.
In this example Text file, the Flow that was called has a Total Time of 69480 ms, and the Total Time w/o Children is 277 ms; the gap in these two numbers is what needs to be evaluated. To find what is taking the longest, look for the Item that Total Time and Total Time w/o Children have close together or equal. The Count reflects how many times the Item ran.
Skimming down further in this text file, notice a Rule has a Total Time that is 27933 ms, and the Total Time w/o Children is also 27933 ms. In this example, this Rule is why the Flow is running slow.
Profile Data
Profile Data downloads a file (profile.xml) that can be loaded into the Decisions Profiler to be viewed. This is a good option for sharing Profile Data with Decisions support.
Use
Use loads the Profile Data into the Profile Report View tab.
The report only shows the top-level items. To view the data for the children's items, click on a top-level item and select Show Children from the Action Menu.
Show Children
Show Children opens the Children in a simple text view box as shown below. When looking through the Profile Data, look for either unexpectedly large Counts or Time values, as they likely pinpoint the problematic parts of a workflow.
Profile Flow
In addition to profiling the whole system, users may utilize a special action to view Profiling details on a specific Flow.
To Profile a Flow, stop the Profiler by selecting STOP PROFILING from the top Action bar, and then select either Save Profile Data First or Without Saving.
Then, navigate to and right-click on the Flow to be Profiled, and select Run [Advanced] > Profile Flow. This will pull up the Profile Result page for the Flow.
Debugger
In addition to accessing the Profiler through System Tools and via the Profile Flow action, users may use the Profiler within the Debugger.
- To initiate the Profiler from the Debugger, select STOP PROFILING within the Profiler via the top Action bar.
- Then open a Flow in the Flow Designer, click the arrow beside Debug and select Debug > Profile Flow from the top Action bar.
Similar to how using Profile Flow on a Flow acts, a Profile Result page for the Debugger's Profiler will appear, displaying Profile information pertaining to the Flow on which the action was enacted.