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
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.