create

abstract fun create(directive: NewDirective): ActivityDirectiveId

Create a new activity.

Return

a long, the directive id this activity will have.

Parameters

directive

a directive without a directive id.


open fun create(type: String, start: DirectiveStart, arguments: Map<String, SerializedValue>): ActivityDirectiveId

A simplified version of create with minimal arguments.