The Workflow Entity
catalytic.sdk.entities.Workflow
Common Methods
These are the most commonly used methods of a Workflow
.
Name | Return Type | Description |
---|---|---|
getId | UUID | The unique ID of the Workflow |
getName | String | The descriptive name of the Workflow |
getDescription | String | A description of what the Workflow does |
getCategory | String | A descriptive grouping for your Workflow |
getInputFields | List< Field> | A collection of the required and optional input fields that can be passed to this Workflow when starting it. |
Permission and Visibility Methods
These are the methods that determine how users can find, edit, start or access a Workflow
.
Name | Return Type | Description |
---|---|---|
getIsPublished | Boolean | Indicates whether the Workflow is published or is in draft mode |
getIsArchived | Boolean | Indicates whether is Archived and no longer available for users to find, start or edit. |
getFieldVisibility | FieldVisibility | The default visiblity level of fields for this WorkflowPublic , Internal , Confidential or HighlyConfidential |
getInstanceVisibility | InstanceVisibility | The visbility level of this WorkflowOpen or Restricted |
getAdminUsers | List<String> | The users or groups who who may view, start, and edit this Workflow . Users will be represented by their Email ,groups by their group name (starting with g_ ). |
getStandardUsers | List<String> | The users or groups who who may view and start this Workflow . Users will be represented by their Email ,groups by their group name (starting with g_ ). |
Other Methods
These are less commonly used methods, or methods that are often used only with specific interfaces.
Name | Return Type | Description |
---|---|---|
getWorkflowId | UUID | Read-only alias for Id . |
getReferenceName | String | Read-only alias for Id , represented as a string |
getCreatedBy | String | The email address of the user who created this Workflow |
getOwner | String | The email address of the user who is the primary admin for this Workflow . This user will receive fix tasks when there isa problem in an Instance of this Workflow |
Constructors
Workflow()
Workflow(UUID id, String name, String teamName, String description, String category, String owner, String createdBy, List<Field> inputFields, boolean isPublished, boolean isArchived, List<Field> inputFields, boolean isPublished, boolean isArchived, FieldVisibility fieldVisibility, InstanceVisibility instanceVisibility, List<String> adminUsers, List<String> standardUsers);
Creates a new instance of the Workflow
class. Note that this does not create a new Workflow
on the platform. That functionality is not yet supported in this SDK. Until it is supported, you must create a Workflow in the Web UI.
Updated almost 4 years ago