Update workflow editor settings screen with Tag field
This commit is contained in:
parent
7739a65189
commit
265cc2513f
|
|
@ -184,6 +184,7 @@ export class ElsaWorkflowDefinitionEditorScreen {
|
|||
displayName: workflowDefinition.displayName,
|
||||
isSingleton: workflowDefinition.isSingleton,
|
||||
name: workflowDefinition.name,
|
||||
tag: workflowDefinition.tag,
|
||||
persistenceBehavior: workflowDefinition.persistenceBehavior,
|
||||
publish: publish || false,
|
||||
variables: workflowDefinition.variables,
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ export class ElsaWorkflowDefinitionSettingsModal {
|
|||
{textInput(formContext, 'name', 'Name', workflowDefinition.name, 'The technical name of the workflow.', 'workflowName')}
|
||||
{textInput(formContext, 'displayName', 'Display Name', workflowDefinition.displayName, 'A user-friendly display name of the workflow.', 'workflowDisplayName')}
|
||||
{textArea(formContext, 'description', 'Description', workflowDefinition.description, null, 'workflowDescription')}
|
||||
{textInput(formContext, 'tag', 'Tag', workflowDefinition.tag, 'Tags can be used to query workflow definitions with.', 'tag')}
|
||||
{selectField(formContext, 'persistenceBehavior', 'Persistence Behavior', workflowDefinition.persistenceBehavior, persistenceBehaviorOptions, 'The persistence behavior controls how often a workflow instance is persisted during workflow execution.', 'workflowContextFidelity')}
|
||||
{checkBox(formContext, 'isSingleton', 'Singleton', workflowDefinition.isSingleton, 'Singleton workflows will only have one active instance executing at a time.')}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export interface WorkflowDefinition {
|
|||
isLatest?: boolean;
|
||||
activities: Array<ActivityDefinition>;
|
||||
connections: Array<ConnectionDefinition>;
|
||||
tag?: string;
|
||||
}
|
||||
|
||||
export interface WorkflowDefinitionSummary {
|
||||
|
|
@ -32,6 +33,7 @@ export interface WorkflowDefinitionSummary {
|
|||
persistenceBehavior?: WorkflowPersistenceBehavior;
|
||||
isPublished?: boolean;
|
||||
isLatest?: boolean;
|
||||
tag?: string;
|
||||
}
|
||||
|
||||
export interface ActivityBlueprint {
|
||||
|
|
@ -65,6 +67,7 @@ export interface WorkflowBlueprint extends CompositeActivityBlueprint {
|
|||
isSingleton: boolean;
|
||||
isPublished: boolean;
|
||||
isLatest: boolean;
|
||||
tag?: string;
|
||||
contextOptions?: WorkflowContextOptions;
|
||||
variables: Variables;
|
||||
customAttributes: Variables;
|
||||
|
|
@ -81,6 +84,7 @@ export interface WorkflowBlueprintSummary {
|
|||
isSingleton: boolean;
|
||||
isPublished: boolean;
|
||||
isLatest: boolean;
|
||||
tag?: string;
|
||||
}
|
||||
|
||||
export interface WorkflowInstance {
|
||||
|
|
|
|||
|
|
@ -225,6 +225,7 @@ export interface SaveWorkflowDefinitionRequest {
|
|||
name?: string;
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
tag?: string;
|
||||
variables?: Variables;
|
||||
contextOptions?: WorkflowContextOptions;
|
||||
isSingleton?: boolean;
|
||||
|
|
|
|||
Loading…
Reference in a new issue