Overview
The Transitions system enables:- Automated asset lifecycle workflows
- Custom transition actions and scripts
- Status-based workflow controls
- User input forms for additional data
- Integration with external systems
- Bulk transitions on multiple assets
- Audit trail of all state changes
State Transitions
Move assets between statuses with automated actions and validations
Custom Actions
Execute Python scripts, HTTP calls, or built-in actions during transitions
User Forms
Collect additional information from users during workflow execution
Bulk Processing
Run transitions on multiple assets simultaneously
How Transitions Work
Transitions represent changing an asset from one state to another:Key Concepts
Status - The current state of an asset (e.g., new, in use, liquidated) Transition - An action that changes asset status and performs additional tasks Source Status - Required status(es) to run the transition Target Status - Status after transition completes Actions - Scripts or tasks executed during the transition User Input - Additional data collected via formsRunning Transitions
Single Asset
From the asset detail page:- Open Asset - Navigate to asset detail view
- Click Transitions Menu - Top menu bar shows available transitions
- Select Transition - Choose appropriate workflow
- Fill Form - Provide required information if prompted
- Execute - Confirm to run the transition
- Status Updated - Asset status changes automatically
Multiple Assets
From asset list pages:- Navigate to List - Go to Data Center → Hardware or Back Office → Equipment
- Select Assets - Check boxes for multiple assets
- Choose Action - Select transition from actions dropdown
- Fill Form - Single form applies to all selected assets
- Execute - Transition runs on all selected assets
Transition Configuration
Transitions are configured per model type (Data Center Asset, Back Office Asset, etc.).Accessing Transition Settings
- Navigate - Settings → Transitions
- Select Model - Choose asset type (e.g., Data Center Asset)
- View Transitions - See all configured transitions for this model
- Add/Edit - Create new or modify existing transitions
Transition Properties
Basic Settings- Name - Transition display name
- Model - Which asset type this applies to
- Run Asynchronously - Execute in background for long-running tasks
- Required Report - Generate PDF report after completion
- Source - Allowed statuses to run (e.g., only “new” assets)
- Target - Status to set after completion
- Action List - Scripts and tasks to execute
- Order - Sequence of execution
- Fields - Additional data to collect from user
- Validation - Required fields and data types
Transition Actions
Actions are tasks executed during transitions:Built-in Actions
Ralph includes several pre-built actions: Change Rack- Move asset to different rack position
- Update DC visualization
- Validate U-level availability
- Assign asset to specific user
- Update owner information
- Send notification
- Remove user assignment
- Return to warehouse
- Clear user-specific data
- Generate or assign hostname
- Register in DNS
- Configure network settings
- Trigger deployment process
- Execute provisioning scripts
- Update configuration management
Custom Scripts
Write Python scripts for custom automation:HTTP Actions
Call external APIs during transitions:HTTP actions support variable substitution using double curly braces. Access asset properties and user input values in your requests.
Transition Forms
Collect additional information during transitions:Form Fields
Add input fields to gather data: Field Types- String - Text input
- Integer - Numeric input
- Date - Date picker
- Choice - Dropdown selection
- Boolean - Checkbox
- Foreign Key - Select related object
- Name - Field identifier
- Label - Display label
- Required - Must be filled
- Default Value - Pre-populated value
- Help Text - User guidance
Example: Deployment Form
Common Workflows
Server Deployment
Source Status: NewTarget Status: In Use Actions:
- Collect deployment parameters (IP, network, config)
- Generate hostname
- Assign IP address
- Update configuration management system
- Trigger PXE deployment
- Send notification to technical owner
- Network environment (required)
- IP address (optional, auto-assign if empty)
- Configuration class (required)
Laptop Assignment
Source Status: FreeTarget Status: In Use Actions:
- Assign to user
- Set location
- Generate asset tag
- Send welcome email with asset details
- Create ticket for IT setup
- User (required)
- Office location (required)
- Special requests (optional)
Asset Return
Source Status: In UseTarget Status: Free Actions:
- Remove user assignment
- Clear configuration
- Mark for data wipe
- Move to warehouse
- Generate return receipt
- Return reason (required)
- Condition assessment (required)
- Warranty status (choice)
Decommission
Source Status: In UseTarget Status: Liquidated Actions:
- Remove from monitoring
- Remove from configuration management
- Clear IP assignments
- Remove from DC visualization
- Generate disposal certificate
- Decommission reason (required)
- Disposal method (choice: recycle, sell, destroy)
- Data wipe confirmation (checkbox, required)
Integration Examples
Configuration Management
Integrate with Puppet/Ansible:Monitoring Integration
Ticketing System
Reports and PDFs
Generate reports during transitions:Report Types
- Asset Labels - Printable barcode labels
- Deployment Sheets - Configuration details
- Return Receipts - Asset return confirmation
- Disposal Certificates - Decommission documentation
- Stock-Taking Reports - Inventory confirmations
Configuration
- Create custom report template
- Link to transition in settings
- Select “Required report” option
- Report generates automatically after transition
- Download or email to stakeholders
Permissions
Control who can run transitions:- Assign transition permissions to user groups
- Restrict sensitive transitions (liquidate, etc.)
- Require approval workflows for high-value assets
- Audit trail tracks who executed each transition
Best Practices
Transitions can only change one status at a time. For complex workflows requiring multiple status changes, create separate transitions that can be run in sequence.
Troubleshooting
Transition Not Available- Check asset current status matches transition source status
- Verify user has permission to run this transition
- Confirm transition is configured for this asset model type
- Check action script logs for error details
- Verify external systems are accessible
- Ensure required form fields were provided
- Test action script independently
- Check individual asset statuses
- Review error messages for each failure
- Fix issues and re-run on failed assets only
Related Documentation
Learn more about Asset Management and DCIM