Table of Contents

Class WorkflowPolicy

Namespace
JD.AI.Core.Governance
Assembly
JD.AI.Core.dll

Controls who can publish, install, and manage shared workflows. Roles are compared against the current user identity (e.g. from Environment.UserName or an org identity provider).

public sealed class WorkflowPolicy
Inheritance
WorkflowPolicy
Inherited Members

Properties

PublishAllowed

Roles or usernames permitted to publish workflows. Empty means anyone can publish (no restriction).

public IList<string> PublishAllowed { get; set; }

Property Value

IList<string>

PublishDenied

Roles or usernames explicitly denied from publishing. Deny takes precedence over allow.

public IList<string> PublishDenied { get; set; }

Property Value

IList<string>

RequireApprovalGate

When true, workflow execution requires explicit approval from IApprovalService before any workflow step runs.

public bool RequireApprovalGate { get; set; }

Property Value

bool