Class ActivityBase
The class for implementation custom activities
Inheritance
↳ object
↳ FormBase
↳ ActivityBase
↳ Decision
↳ DecisionTable
↳ GeneratedCustomActivity
↳ ActivityBaseFromAction
↳ ActivityBaseFromActionAsync
Inherited Members
FormBase.CustomTypeAnnotationName
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic abstract class ActivityBase : FormBase
Constructors
ActivityBase(Func<bool>)
Declarationpublic ActivityBase(Func<bool> getDisabled = null)
Type | Name | Description |
---|---|---|
Func<bool> | getDisabled |
Properties
Description
Declarationpublic virtual string Description { get; set; }
Type | Description |
---|---|
string |
Image
Declarationpublic virtual string Image { get; set; }
Type | Description |
---|---|
string |
SVGTemplate
Declarationpublic virtual string SVGTemplate { get; set; }
Type | Description |
---|---|
string |
AllowCycleTransition
If true, you can create a cycle transition from this activity to itself. If false, you can't do it.
Declarationpublic virtual bool AllowCycleTransition { get; }
Type | Description |
---|---|
bool |
PluginName
If activity provides by a plugin, this property should contain the name of the plugin.
Declarationpublic virtual string PluginName { get; }
Type | Description |
---|---|
string |
IsOutgoingTransitionsReadonly
If true, the outgoing transitions of the activity are read-only, and can be edited only via the activity form.
Declarationpublic virtual bool IsOutgoingTransitionsReadonly { get; }
Type | Description |
---|---|
bool |
BaseTemplate
Defines the base template which is used to edit the activity.
Declaration[JsonConverter(typeof(StringEnumConverter))]
public virtual BaseTemplate BaseTemplate { get; }
Type | Description |
---|---|
BaseTemplate |
SaveToAnnotationsPolicy
Defines the policy for saving attributes to annotations.
Declaration[JsonConverter(typeof(StringEnumConverter))]
public virtual SaveToAnnotationsPolicy SaveToAnnotationsPolicy { get; }
Type | Description |
---|---|
SaveToAnnotationsPolicy |
OrdinaryActivityParameters
Gets the set of fields that can be saved to the activity properties instead of annotations.
Declarationpublic virtual ImmutableHashSet<string> OrdinaryActivityParameters { get; }
Type | Description |
---|---|
ImmutableHashSet<string> | The set of fields that can be saved to the activity properties. |
AnnotationActivityParameters
Gets the set of fields that can be saved to the activity annotations. The policy for saving fields to annotations is defined by the ActivityBase.SaveToAnnotationsPolicy property.
Declarationpublic virtual ImmutableHashSet<string> AnnotationActivityParameters { get; }
Type | Description |
---|---|
ImmutableHashSet<string> |
Disabled
Declarationpublic override bool Disabled { get; set; }
Type | Description |
---|---|
bool |