ProcessUserTaskSchemaExtension class
Terrasoft.Core.Process
namespace.
Terrasoft.Core.Process.ProcessUserTaskSchemaExtension
implements additional capabilities of the user task, for example, parameter synchronization, dependency setup, etc. Replace methods in a custom class that inherits from the ProcessUserTaskSchemaExtension
class.
Methods
public virtual Dictionary<Guid, string> GetResultParameterAllValues(UserConnection userConnection, ProcessSchemaUserTask userTask)
Returns the index of available values for resulting user task parameters as Dictionary<System.Guid, System.String>
.
Parameters
userConnection | User connection. The instance of the |
userTask | User task. The instance of the |
public virtual void SynchronizeDynamicParameters(UserConnection userConnection, ProcessUserTaskSchema target)
Synchronizes dynamic parameters. Dynamic parameters are generated automatically for an element and are not included in the user task schema.
Parameters
userConnection | User connection. The instance of the |
target | User task. The instance of the |
public virtual void SynchronizeParameters(ProcessSchemaUserTask schemaElement)
Synchronizes parameters created when implementing the user task in the Process Designer.
Parameters
schemaElement | The instance of the |
public virtual void AnalyzePackageDependencies(ProcessSchemaUserTask schemaElement, IProcessSchemaPackageDependencyReporter dependencyReporter)
Sets dependencies of the linked user task schemas by calling the ReportSchemaDependency()
method of the dependencyReporter
parameter.
Parameters
schemaElement | The instance of the |
dependencyReporter | An interface that includes methods for setting the schema or object column dependency. |