Skip to end of banner
Go to start of banner

getWorkflowsFromSchemeName

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Availability

This routine is available starting with SIL Engine 4.8.0.4.

Syntax

getWorkflowsFromSchemeName(workflowSchemeName)

Description

Retrieves a list of workflows associated to a workflow scheme.

Parameters

Parameter name

Type

Required

Description

workflowSchemeName

string

Yes

The name of the workflow scheme.

Return type

JWorkflow[]

Returns a list workflow objects representing workflows associated to a given workflow scheme.

Example

string workflowSchemeName = "TEST: Software Simplified Workflow Scheme";
JWorkflow[] workflows = getWorkflowsFromSchemeName(workflowSchemeName);

return workflows;


// String representation
// 10100|Software Simplified Workflow for Project TEST|live|User Built|Default|true|To Do|In Progress|Done|Create|To Do|In Progress|Done|10600|Software Simplified Workflow for Project DEMO|live|User Built|10000|true|To Do|In Progress|Done|Create|To Do|In Progress|Done|Clone Epic


// JSON representation
/*
[{
	"id": "10100",
	"name": "Software Simplified Workflow for Project TEST",
	"mode": "live",
	"type": "User Built",
	"assocIssueType": "Default",
	"active": true,
	"statuses": ["To Do", "In Progress", "Done"],
	"transitions": ["Create", "To Do", "In Progress", "Done"]
}, {
	"id": "10600",
	"name": "Software Simplified Workflow for Project DEMO",
	"mode": "live",
	"type": "User Built",
	"assocIssueType": "10000",
	"active": true,
	"statuses": ["To Do", "In Progress", "Done"],
	"transitions": ["Create", "To Do", "In Progress", "Done", "Clone Epic"]
}]
*/
  • No labels