Method | Description | |
---|---|---|
ActionComponent ( ) : System |
Initializes a new instance of the ActionComponent class.
|
|
Execute ( |
Executes the action.
|
|
GetActionAttributeValue ( WorkflowAction action, string key ) : string |
Gets the action attribute value.
|
|
GetAttributeValue ( string key ) : string |
Use GetAttributeValue( WorkflowAction action, string key) instead. Workflow action attribute values are specific to the action instance (rather than global). This method will throw an exception
|
|
LoadAttributes ( WorkflowAction action ) : void |
Loads the attributes for the action. The attributes are loaded by the framework prior to executing the action, so typically workflow actions do not need to load the attributes
|
Method | Description | |
---|---|---|
GetAttributeValue ( WorkflowAction action, string key ) : string |
Gets the attribute value for the action
|
|
GetAttributeValue ( WorkflowAction action, string key, bool checkWorflowAttributeValue ) : string |
Gets the attribute value.
|
|
GetMergeFields ( WorkflowAction action ) : object>.Dictionary |
Resolves the merge fields.
|
|
SetWorkflowAttributeValue ( WorkflowAction action, System.Guid guid, string value ) : void |
Sets the workflow attribute value.
|
public abstract Execute ( |
||
rockContext | The rock context. | |
action | WorkflowAction | The workflow action. |
entity | Object | The entity. |
errorMessages | List |
The error messages. |
return | System.Boolean |
public static GetActionAttributeValue ( WorkflowAction action, string key ) : string | ||
action | WorkflowAction | The action. |
key | string | The key. |
return | string |
protected GetAttributeValue ( WorkflowAction action, string key ) : string | ||
action | WorkflowAction | The action. |
key | string | The key. |
return | string |
protected GetAttributeValue ( WorkflowAction action, string key, bool checkWorflowAttributeValue ) : string | ||
action | WorkflowAction | The action. |
key | string | The key. |
checkWorflowAttributeValue | bool | if set to |
return | string |
public GetAttributeValue ( string key ) : string | ||
key | string | The key. |
return | string |
protected GetMergeFields ( WorkflowAction action ) : object>.Dictionary |
||
action | WorkflowAction | The action. |
return | object>.Dictionary |
public LoadAttributes ( WorkflowAction action ) : void | ||
action | WorkflowAction | The action. |
return | void |
protected SetWorkflowAttributeValue ( WorkflowAction action, System.Guid guid, string value ) : void | ||
action | WorkflowAction | The action. |
guid | System.Guid | The unique identifier. |
value | string | The value. |
return | void |