Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
73:admin_jobs [2019/03/25 19:44] – emr | 73:admin_jobs [2019/03/25 19:45] – emr | ||
---|---|---|---|
Line 6: | Line 6: | ||
The existing Facade API can be used to navigate through the process content. For example, to assign a user named **'' | The existing Facade API can be used to navigate through the process content. For example, to assign a user named **'' | ||
- | < | + | < |
+ | var user = stages.getUserByUsername(userName); | ||
var project = stages.getProjectByPath(workspacePath); | var project = stages.getProjectByPath(workspacePath); | ||
if (user != null && project != null) { | if (user != null && project != null) { | ||
Line 17: | Line 18: | ||
} | } | ||
} | } | ||
- | |||
</ | </ | ||
Sample scripts can be downloaded here: | Sample scripts can be downloaded here: | ||
- | * [[Role assignment|]] via an Excel sheet that is managed as a file instance in a Stages process | + | * {{: |
- | * [[Data export|]] to an external SQL table | + | * {{: |
Please note, that these scripts are just samples and __need to be adjusted__ | Please note, that these scripts are just samples and __need to be adjusted__ | ||
- | We plan to expand the API in future | + | Future |