class OnCreateArtifact
A new artifact is created.
Examples:
Define an event that triggers when a new artifact is created in the
collection “my-collection”:
method OnCreateArtifact.__init__
event_type(Literal[CREATE_ARTIFACT]):scope(Union[_ArtifactSequenceScope, _ArtifactPortfolioScope]): The scope of the event: must be an artifact collection.filter(Union[And, Or, Nor, Not, Lt, Gt, Lte, Gte, Eq, Ne, In, NotIn, Exists, Regex, Contains, FilterExpr, Dict[str, Any]]): Additional conditions(s), if any, that are required for this event to trigger.
OnCreateArtifact object.