create_step
Registers a new SDK message processing step, binding a plug-in class to a specific message, entity, and stage in Dataverse. Configure stage, rank, filtering attributes, and impersonation for execution.
Instructions
Register a new SDK message processing step, binding a plug-in class to a message/entity/stage.
plugin_type_name_or_id: typename (Namespace.Class), friendlyname, or GUID of the plugintype -- use list_plugin_types() to find it. message: Dataverse message name, e.g. 'Create', 'Update', 'Delete'. entity: logical name of the table (e.g. 'account'); empty = all entities that support the message. stage: 'PreValidation', 'PreOperation', or 'PostOperation'. filtering_attributes: comma-separated list of columns (only meaningful for 'Update'). rank: execution order among steps in the same stage/message/entity (lower runs first). configuration: free text (unsecure configuration) passed to the plugin's constructor. impersonate_user_id: GUID of a systemuser to run the step as ("Run in User's Context"); empty = runs as the user who triggered the operation. WARNING: this creates a real record in the environment -- the plug-in starts executing for real.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rank | No | ||
| stage | No | PostOperation | |
| entity | No | ||
| message | Yes | ||
| step_name | No | ||
| environment | No | ||
| asynchronous | No | ||
| configuration | No | ||
| impersonate_user_id | No | ||
| filtering_attributes | No | ||
| plugin_type_name_or_id | Yes |