WJb Docs - Reference
Browse APIs, configuration options, interfaces, and implementation details.
⚡ Actions
🔀 Workflow
📦 Jobs
⚙️ Runtime
💾 Persistence
🗄 Storage
🧩 Workflow Metadata
🛠 Extensions & Helpers
ActionNameAttribute
Specifies an explicit public name for an action.
Purpose
ActionNameAttribute allows an action to be identified by a stable name instead of relying on the CLR type name.
This is useful when action definitions, persisted jobs, or integrations reference actions by name.
Usage
[ActionName("send-email")]
public sealed class SendEmailAction : JobAction<SendEmailRequest>
{
}
Benefits
- Stable action identifiers
- Safer refactoring
- Clear business-oriented naming
- Separation between implementation name and public name
Recommendations
Use names that describe business intent:
send-email
import-customers
generate-invoice
Avoid implementation-specific names:
action-v2
my-action
test-action
Relationship to Action Resolution
Action Name
↓
ActionNameAttribute
↓
IActionFactory
↓
Action Instance
Best Practices
- Keep action names unique.
- Treat action names as public identifiers.
- Avoid changing action names once jobs or definitions depend on them.
Related Types
- IAction
- JobAction
- IActionFactory
- JobInfo
See Also
- IActionFactory
- IAction
- JobAction