Skip to main content
Version: 8.1

ProcessUserTaskSchemaExtension class

Level: intermediate

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 UserConnection class.

userTask

User task. The instance of the ProcessSchemaUserTask schema class. The class describes the schema of the element for which to call the current method.

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 UserConnection class.

target

User task. The instance of the ProcessSchemaUserTask schema class. The class describes the schema of the element for which to call the current method.

public virtual void SynchronizeParameters(ProcessSchemaUserTask schemaElement)

Synchronizes parameters created when implementing the user task in the Process Designer.

Parameters

schemaElement

The instance of the ProcessSchemaUserTask schema class. The class describes the schema of the element for which to call the current method.

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 ProcessSchemaUserTask schema class. The class describes the schema of the element for which to call the current method.

dependencyReporter

An interface that includes methods for setting the schema or object column dependency.