Project Manifest

Manifest

The project command is based on a manifest.json file. This definition document lets you define the contents of your WorkflowGen project and set your processes, sub-processes, custom applications, global lists, and custom assets (JavaScript, CSS, .cs files, etc.).
1
{
2
"version": "1.0",
3
"tag": "1.1.0",
4
"processes":[
5
{
6
"name":"PARENT_PROCESS2",
7
"version":1,
8
"folder":"DEFAULT"
9
},
10
{
11
"name":"PARENT_PROCESS1",
12
"version":1,
13
"folder":"DEFAULT"
14
}
15
],
16
"subProcesses":[
17
{
18
"name":"SUBPROCESS",
19
"version":1,
20
"folder":"DEFAULT"
21
}
22
],
23
"globalLists": [
24
"GLOBAL_LIST_DATA"
25
],
26
"customApplications": [
27
"MY_CUSTOM_APP"
28
],
29
"webformAssets": [
30
"js/myProcess/test.js",
31
"js/global.js",
32
"css/test.css",
33
"appCode/Tools.cs",
34
"img/logo.png"
35
]
36
}
Copied!
Parameter
Description
version
Represents the manifest version; should always be 1.0
tag
Represents your project version
processes
You can set zero or more processes in this array; for each item you should specify the name and the version of your process
subProcesses
You can set zero or more processes in this array; for each item you should specify the name and the version of your process
globalLists
You can set zero or more global lists in this array; you only need to specify the global list name
customApplications
You can set zero or more custom applications in this array; you only need to specify the custom application name
webformAssets
You can set zero or more assets in this array; for each asset, set the relative path to your asset based on your webform path
During an import, the CLI will proceed in the following order:
    Custom applications
    Global lists
    Sub-processes
    Processes
    Webform assets
All items will be imported into the array in this order. Make sure that the link between processes is correct.
You can use the project init command to generate your manifest interactively.
Last modified 7mo ago
Copy link