Date and DateTime Formatting in Workflow
This section explains how the application formats and displays Date and DateTime values across workflow configuration screens. These settings ensure a consistent experience when you create, edit, and review workflow variables.
Supported Data Types
The system supports two related data types:
- Date: Stores only the calendar date (no time component).
- DateTime: Stores both date and time values, including time zone context.
How the System Determines the Display Format
The application uses a defined format hierarchy to display Date and DateTime values. It applies the first available setting in the following order:
- User-level format
- Organization-level format
- Platform default format
This hierarchy ensures values always appear in the effective configured format. If a user-level format is available, the system applies it. If not, the system uses the organization setting. If neither is defined, the platform default applies.
Time Zone Handling (DateTime Only)
For DateTime variables, the system determines the time zone using this order:
- User time zone
- Organization time zone (fallback)
- Browser or platform default (final fallback)
The system automatically adjusts values when time zone differences result in cross-day changes.
Locale Behavior
The application respects the selected locale when displaying Date and DateTime values. This includes:
- Month names
- Numeric formats
- AM/PM markers
If you change the locale or date/time format during runtime, the system automatically re-renders values to reflect the updated settings.
Where Formatting Applies
These behaviors apply to:
- Workflow Variables: Create, Edit, and View screens (Date and DateTime data types)
- Criteria Builder: All activities
- Decision Builder: All activities
- Resource dropdowns that support manual Date or DateTime entry
Best Practices
- Configure your preferred date and time format at the user level to ensure consistent display.
- Verify your time zone setting before configuring time-based workflows.
- Review values after changing locale or format settings to confirm they display as expected.
