-
Notifications
You must be signed in to change notification settings - Fork 5
Dependency
A Dependency is a Collection which may references zero-to-many Items (optionally of a specific type). They are the most basic collection type, used for simple referencing Items.
The predefined step CreateItemFromDescription expects a dependency collection called 'workflow' to exist within its Item, and contain a single member that points to the Composite activity definition Item that defines its instance workflow. A collection member property named 'Version' indicated the definition version to use.
The general rule-of-thumb that a Dependency is instantiated as set of properties. There are 2 different kind of properties in Kernel. ItemProperties and VertexProperties, and depending on the purpose of the Dependency, it is converted to either of these properties.
If the instantiated Dependency is one of the built-in one (i.e. Activity, Schema, Script, StateMachine), the kernel has code to convert them. For domain specific Dependency the kernel will use the ScriptName and ScriptVersion built-in properties if available in the CollectionMember (similar to RoutingScript of Split), and executes the Script which depending on the context shall produce a list of ItemPropeties or VetexPropeties. There are 2 points when the Kernel instantiates a Dependency during the CreateItemFromDescription:
-
The instantiated Description Item has a Dependency to another Item - converted to ItemProperties. This means that BuiltInCollections (i.e. Activity, Schema, Script, StateMachine) are converted to the BuiltInItemProperties. Domain specific Dependencies can provide a Script as explained earlier.
-
The instantiated WorkflowDesc Item has Dependencies to Script/Schema/SM/Activity/Prefill - converted to VertexProperties. When Workflow Description is instantiated the CompositeActDescs are recursively traversed to instantiate all of their Dependencies (Activities, Schemas, Scripts, StateMachines) by converting them to BuiltInVertexProperties. Domain specific Dependencies can provide a Script as explained earlier.
- Getting started
- Key features
- Documentation
- Tutorials
- Basic: Create Patient
- Adv: Patient Tracking
- Selected papers
- Maven Deploy Travis
- Maven-Deploy-Travis-GPG2