Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is


This routine is available starting with SIL Engine™ 2.5.8.


admSetProjectWorkflowScheme(pkey, schemeName)


Updates the project workflow scheme.

Both the scheme and the project must exist.


Parameter name




 pkeystringyesProject key. Must exist.
schemeNamestringyesScheme name. The scheme must exist.

Return type


Returns 'true' if the project was updated and 'false' if not.

Updating the project workflow scheme happens smoothly only if the statuses in the destination scheme match the ones in the source scheme in both their name and step id. Otherwise, the workflow scheme update might cause some failures in issue transitioning. To avoid having these, it is mandatory to perform a Workflow Integrity Check and fix the errors for the workflow current step entries of the project.


When using an empty or null scheme name, the routine will set the default workflow scheme on the specified project.

In other words the code will look like this:

string pkey = "TEST"; 
string schemeName; 
return admSetProjectWorkflowScheme(pkey, schemeName);

It equivalents to the following code:

string pkey = "TEST"; 
string schemeName = ""; 
return admSetProjectWorkflowScheme(pkey, schemeName);

It will return 'true' and will set the default Jira workflow scheme (Default Workflow Scheme).

Otherwise, when using a nonexistent workflow scheme name, the routine will return 'false' and will not make any change.

See also