wbcore 2.2.1__py2.py3-none-any.whl → 2.2.4__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wbcore/contrib/agenda/locale/de/LC_MESSAGES/django.po +113 -0
- wbcore/contrib/agenda/static/agenda/markdown/documentation/building.md +11 -0
- wbcore/contrib/agenda/static/agenda/markdown/documentation/conferenceroom.md +20 -0
- wbcore/contrib/authentication/fixtures/authentication.json +62 -0
- wbcore/contrib/authentication/locale/de/LC_MESSAGES/django.po +610 -0
- wbcore/contrib/authentication/templates/activate_confirm.html +12 -0
- wbcore/contrib/authentication/templates/base.html +135 -0
- wbcore/contrib/authentication/templates/email_base_template.html +335 -0
- wbcore/contrib/authentication/templates/password_reset_done.html +13 -0
- wbcore/contrib/authentication/templates/password_reset_email.html +11 -0
- wbcore/contrib/authentication/templates/password_reset_email_html.html +43 -0
- wbcore/contrib/authentication/templates/password_reset_form.html +23 -0
- wbcore/contrib/authentication/templates/password_reset_sent.html +11 -0
- wbcore/contrib/authentication/templates/reset_password.html +15 -0
- wbcore/contrib/authentication/templates/user_registration_email.html +37 -0
- wbcore/contrib/color/admin.py +28 -0
- wbcore/contrib/color/apps.py +5 -0
- wbcore/contrib/color/enums.py +17 -0
- wbcore/contrib/color/factories.py +10 -0
- wbcore/contrib/color/fields.py +29 -0
- wbcore/contrib/color/forms.py +13 -0
- wbcore/contrib/color/models.py +62 -0
- wbcore/contrib/color/tests/conftest.py +10 -0
- wbcore/contrib/color/tests/test_color_models.py +61 -0
- wbcore/contrib/color/tests/test_fields.py +25 -0
- wbcore/contrib/currency/fixtures/currency.yaml +1014 -0
- wbcore/contrib/currency/fixtures/currency_fx_rate.yaml +73585 -0
- wbcore/contrib/directory/fixtures/directory.json +3924 -0
- wbcore/contrib/directory/locale/de/LC_MESSAGES/django.po +1686 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/address.md +38 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/banking.md +54 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/bankingentry.md +38 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/clientmanagerrelationship.md +42 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/company.md +52 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/companytype.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/customerstatus.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/email.md +20 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/employeecompany.md +34 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/employerperson.md +43 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/person.md +61 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/position.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/relationshiptype.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/socialmedia.md +23 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/specialization.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/systememployee.md +31 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/telephone.md +23 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/telephonesearch.md +26 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/userisclient.md +14 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/userismanager.md +28 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/website.md +20 -0
- wbcore/contrib/documents/fixtures/docments.json +135 -0
- wbcore/contrib/documents/locale/de/LC_MESSAGES/django.po +272 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/document_types.md +21 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/documents.md +18 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/shareablelink.md +28 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/shareablelinkaccess.md +20 -0
- wbcore/contrib/documents/tests/conftest.py +30 -0
- wbcore/contrib/documents/tests/test_models.py +144 -0
- wbcore/contrib/example_app/fixtures/example_app.json +7425 -0
- wbcore/contrib/example_app/tests/test_models/test_event.py +87 -0
- wbcore/contrib/example_app/tests/test_models/test_match.py +210 -0
- wbcore/contrib/example_app/tests/test_models/test_others.py +159 -0
- wbcore/contrib/example_app/tests/test_serializers/test_league_serializer.py +34 -0
- wbcore/contrib/example_app/tests/test_serializers/test_match_serializer.py +134 -0
- wbcore/contrib/example_app/tests/test_serializers/test_role_serializer.py +13 -0
- wbcore/contrib/example_app/tests/test_serializers/test_sport_serializer.py +14 -0
- wbcore/contrib/example_app/tests/test_serializers/test_stadium_serializer.py +14 -0
- wbcore/contrib/example_app/tests/test_serializers/test_team_result_serializer.py +30 -0
- wbcore/contrib/example_app/tests/test_serializers/test_team_serializer.py +70 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_event_viewset.py +162 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_league_viewset.py +84 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_match_viewset.py +65 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_person_viewset.py +166 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_role_viewset.py +75 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_sport_viewset.py +75 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_stadium_viewset.py +75 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_team_viewset.py +92 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_teamresult_viewset.py +58 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_utils_viewsets.py +124 -0
- wbcore/contrib/geography/fixtures/geography.json +13454 -0
- wbcore/contrib/geography/static/geography/markdown/documentation/geography.md +16 -0
- wbcore/contrib/guardian/apps.py +6 -0
- wbcore/contrib/guardian/configurations.py +3 -0
- wbcore/contrib/guardian/filters.py +21 -0
- wbcore/contrib/guardian/tasks.py +10 -0
- wbcore/contrib/guardian/urls.py +12 -0
- wbcore/contrib/guardian/utils.py +124 -0
- wbcore/contrib/io/fixtures/io.json +145 -0
- wbcore/contrib/io/locale/de/LC_MESSAGES/django.po +52 -0
- wbcore/contrib/notifications/locale/de/LC_MESSAGES/django.po +60 -0
- wbcore/contrib/notifications/static/notifications/service-worker.js +1 -0
- wbcore/contrib/notifications/templates/notifications/notification_template.html +43 -0
- wbcore/contrib/notifications/viewsets/configs/notification_types.py +27 -0
- wbcore/contrib/notifications/viewsets/configs/notifications.py +85 -0
- wbcore/contrib/workflow/fixtures/workflow.json +612 -0
- wbcore/contrib/workflow/locale/de/LC_MESSAGES/django.po +1289 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/assignedprocessstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/condition.md +24 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/decisionstep.md +30 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/emailstep.md +45 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/finishstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/joinstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/process.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/processstep.md +51 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/scriptstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/splitstep.md +30 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/startstep.md +27 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/transition.md +27 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/userstep.md +42 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/workflow.md +32 -0
- wbcore/contrib/workflow/templates/Test_Templates.txt +25 -0
- wbcore/contrib/workflow/tests/test_models/step/test_decision_step.py +79 -0
- wbcore/contrib/workflow/tests/test_models/step/test_email_step.py +45 -0
- wbcore/contrib/workflow/tests/test_models/step/test_finish_step.py +105 -0
- wbcore/contrib/workflow/tests/test_models/step/test_join_step.py +127 -0
- wbcore/contrib/workflow/tests/test_models/step/test_script_step.py +24 -0
- wbcore/contrib/workflow/tests/test_models/step/test_split_step.py +49 -0
- wbcore/contrib/workflow/tests/test_models/step/test_step.py +621 -0
- wbcore/contrib/workflow/tests/test_models/step/test_user_step.py +225 -0
- wbcore/contrib/workflow/tests/test_models/test_condition.py +103 -0
- wbcore/contrib/workflow/tests/test_models/test_data.py +134 -0
- wbcore/contrib/workflow/tests/test_models/test_process.py +98 -0
- wbcore/contrib/workflow/tests/test_models/test_transition.py +128 -0
- wbcore/contrib/workflow/tests/test_models/test_workflow.py +358 -0
- wbcore/locale/de/LC_MESSAGES/django.po +667 -0
- wbcore/templates/errors/404.html +134 -0
- wbcore/templates/errors/500.html +138 -0
- wbcore/templates/errors/503.html +132 -0
- wbcore/templates/errors/custom.html +132 -0
- wbcore/templates/forms.py +0 -0
- wbcore/templates/notifications/email_template.html +43 -0
- wbcore/templates/wbcore/admin/change_list.html +8 -0
- wbcore/templates/wbcore/admin/csv_form.html +15 -0
- wbcore/templates/wbcore/dynamic_color_array.html +29 -0
- wbcore/templates/wbcore/email_base_template.html +335 -0
- wbcore/templates/wbcore/email_notification_template.html +10 -0
- wbcore/templates/wbcore/frontend.html +51 -0
- wbcore/test/e2e_helpers_methods/e2e_checks.py +121 -0
- wbcore/test/e2e_helpers_methods/e2e_helper_methods.py +395 -0
- wbcore/tests/test_permissions/test_backend.py +29 -0
- {wbcore-2.2.1.dist-info → wbcore-2.2.4.dist-info}/METADATA +1 -1
- {wbcore-2.2.1.dist-info → wbcore-2.2.4.dist-info}/RECORD +143 -3
- {wbcore-2.2.1.dist-info → wbcore-2.2.4.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"model": "workflow.condition",
|
|
4
|
+
"pk": 6,
|
|
5
|
+
"fields": {
|
|
6
|
+
"transition": 29,
|
|
7
|
+
"attribute_name": "title",
|
|
8
|
+
"operator": "==",
|
|
9
|
+
"negate_operator": true,
|
|
10
|
+
"expected_value": "This title was edited by ScriptStep2"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"model": "workflow.condition",
|
|
15
|
+
"pk": 7,
|
|
16
|
+
"fields": {
|
|
17
|
+
"transition": 28,
|
|
18
|
+
"attribute_name": "testdata",
|
|
19
|
+
"operator": "==",
|
|
20
|
+
"negate_operator": false,
|
|
21
|
+
"expected_value": "22.06.2023 13:00:00"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"model": "workflow.data",
|
|
26
|
+
"pk": 2,
|
|
27
|
+
"fields": {
|
|
28
|
+
"workflow": 3,
|
|
29
|
+
"label": "TestData",
|
|
30
|
+
"help_text": null,
|
|
31
|
+
"data_type": "Date Time",
|
|
32
|
+
"required": true,
|
|
33
|
+
"default": null
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"model": "workflow.display",
|
|
38
|
+
"pk": 1,
|
|
39
|
+
"fields": {
|
|
40
|
+
"grid_template_areas": [
|
|
41
|
+
[
|
|
42
|
+
"process__instance__result",
|
|
43
|
+
"state"
|
|
44
|
+
]
|
|
45
|
+
],
|
|
46
|
+
"name": "ActivityDisplay"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"model": "workflow.transition",
|
|
51
|
+
"pk": 1,
|
|
52
|
+
"fields": {
|
|
53
|
+
"name": "Workflow1Transition1",
|
|
54
|
+
"from_step": 21,
|
|
55
|
+
"to_step": 5,
|
|
56
|
+
"icon": "arrow_forward"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"model": "workflow.transition",
|
|
61
|
+
"pk": 2,
|
|
62
|
+
"fields": {
|
|
63
|
+
"name": "Workflow1Transition11",
|
|
64
|
+
"from_step": 5,
|
|
65
|
+
"to_step": 11,
|
|
66
|
+
"icon": "account_balance"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"model": "workflow.transition",
|
|
71
|
+
"pk": 3,
|
|
72
|
+
"fields": {
|
|
73
|
+
"name": "Workflow1Transition12",
|
|
74
|
+
"from_step": 5,
|
|
75
|
+
"to_step": 1,
|
|
76
|
+
"icon": "account_box"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"model": "workflow.transition",
|
|
81
|
+
"pk": 4,
|
|
82
|
+
"fields": {
|
|
83
|
+
"name": "Workflow1Transition21",
|
|
84
|
+
"from_step": 11,
|
|
85
|
+
"to_step": 7,
|
|
86
|
+
"icon": "adf_scanner"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"model": "workflow.transition",
|
|
91
|
+
"pk": 5,
|
|
92
|
+
"fields": {
|
|
93
|
+
"name": "Workflow1Transition22",
|
|
94
|
+
"from_step": 1,
|
|
95
|
+
"to_step": 7,
|
|
96
|
+
"icon": "attractions"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"model": "workflow.transition",
|
|
101
|
+
"pk": 8,
|
|
102
|
+
"fields": {
|
|
103
|
+
"name": "Workflow1Transition3",
|
|
104
|
+
"from_step": 7,
|
|
105
|
+
"to_step": 9,
|
|
106
|
+
"icon": "align_vertical_top"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"model": "workflow.transition",
|
|
111
|
+
"pk": 10,
|
|
112
|
+
"fields": {
|
|
113
|
+
"name": "Workflow1Transition4",
|
|
114
|
+
"from_step": 9,
|
|
115
|
+
"to_step": 3,
|
|
116
|
+
"icon": "airlines"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"model": "workflow.transition",
|
|
121
|
+
"pk": 14,
|
|
122
|
+
"fields": {
|
|
123
|
+
"name": "Workflow2Transition1",
|
|
124
|
+
"from_step": 22,
|
|
125
|
+
"to_step": 6,
|
|
126
|
+
"icon": "add_card"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"model": "workflow.transition",
|
|
131
|
+
"pk": 15,
|
|
132
|
+
"fields": {
|
|
133
|
+
"name": "Workflow2Transition11",
|
|
134
|
+
"from_step": 6,
|
|
135
|
+
"to_step": 12,
|
|
136
|
+
"icon": "add_ic_call"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"model": "workflow.transition",
|
|
141
|
+
"pk": 16,
|
|
142
|
+
"fields": {
|
|
143
|
+
"name": "Workflow2Transition12",
|
|
144
|
+
"from_step": 6,
|
|
145
|
+
"to_step": 2,
|
|
146
|
+
"icon": "assignment_late"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"model": "workflow.transition",
|
|
151
|
+
"pk": 17,
|
|
152
|
+
"fields": {
|
|
153
|
+
"name": "Workflow2Transition21",
|
|
154
|
+
"from_step": 12,
|
|
155
|
+
"to_step": 8,
|
|
156
|
+
"icon": "assistant"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"model": "workflow.transition",
|
|
161
|
+
"pk": 18,
|
|
162
|
+
"fields": {
|
|
163
|
+
"name": "Workflow2Transition22",
|
|
164
|
+
"from_step": 2,
|
|
165
|
+
"to_step": 8,
|
|
166
|
+
"icon": "backspace"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"model": "workflow.transition",
|
|
171
|
+
"pk": 20,
|
|
172
|
+
"fields": {
|
|
173
|
+
"name": "Workflow2Transition3",
|
|
174
|
+
"from_step": 8,
|
|
175
|
+
"to_step": 10,
|
|
176
|
+
"icon": "airline_seat_legroom_reduced"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"model": "workflow.transition",
|
|
181
|
+
"pk": 23,
|
|
182
|
+
"fields": {
|
|
183
|
+
"name": "Workflow2Transition4",
|
|
184
|
+
"from_step": 10,
|
|
185
|
+
"to_step": 4,
|
|
186
|
+
"icon": "batch_prediction"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"model": "workflow.transition",
|
|
191
|
+
"pk": 28,
|
|
192
|
+
"fields": {
|
|
193
|
+
"name": "Workflow1Transition51",
|
|
194
|
+
"from_step": 3,
|
|
195
|
+
"to_step": 20,
|
|
196
|
+
"icon": "airline_seat_legroom_normal"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"model": "workflow.transition",
|
|
201
|
+
"pk": 29,
|
|
202
|
+
"fields": {
|
|
203
|
+
"name": "Workflow2Transition51",
|
|
204
|
+
"from_step": 4,
|
|
205
|
+
"to_step": 19,
|
|
206
|
+
"icon": "addchart"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"model": "workflow.transition",
|
|
211
|
+
"pk": 30,
|
|
212
|
+
"fields": {
|
|
213
|
+
"name": "Workflow2Transition52",
|
|
214
|
+
"from_step": 4,
|
|
215
|
+
"to_step": 14,
|
|
216
|
+
"icon": "assistant"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"model": "workflow.transition",
|
|
221
|
+
"pk": 31,
|
|
222
|
+
"fields": {
|
|
223
|
+
"name": "Workflow1Transition52",
|
|
224
|
+
"from_step": 3,
|
|
225
|
+
"to_step": 13,
|
|
226
|
+
"icon": "airlines"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"model": "workflow.step",
|
|
231
|
+
"pk": 1,
|
|
232
|
+
"fields": {
|
|
233
|
+
"name": "UserStep1",
|
|
234
|
+
"workflow": 3,
|
|
235
|
+
"code": 1,
|
|
236
|
+
"status": null,
|
|
237
|
+
"step_type": "UserStep",
|
|
238
|
+
"permission": null
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"model": "workflow.step",
|
|
243
|
+
"pk": 2,
|
|
244
|
+
"fields": {
|
|
245
|
+
"name": "UserStep2",
|
|
246
|
+
"workflow": 4,
|
|
247
|
+
"code": 2,
|
|
248
|
+
"status": "PLANNED",
|
|
249
|
+
"step_type": "UserStep",
|
|
250
|
+
"permission": 365
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"model": "workflow.step",
|
|
255
|
+
"pk": 3,
|
|
256
|
+
"fields": {
|
|
257
|
+
"name": "DecisionStep1",
|
|
258
|
+
"workflow": 3,
|
|
259
|
+
"code": 3,
|
|
260
|
+
"status": null,
|
|
261
|
+
"step_type": "DecisionStep",
|
|
262
|
+
"permission": null
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"model": "workflow.step",
|
|
267
|
+
"pk": 4,
|
|
268
|
+
"fields": {
|
|
269
|
+
"name": "DecisionStep2",
|
|
270
|
+
"workflow": 4,
|
|
271
|
+
"code": 4,
|
|
272
|
+
"status": "PLANNED",
|
|
273
|
+
"step_type": "DecisionStep",
|
|
274
|
+
"permission": 363
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"model": "workflow.step",
|
|
279
|
+
"pk": 5,
|
|
280
|
+
"fields": {
|
|
281
|
+
"name": "SplitStep1",
|
|
282
|
+
"workflow": 3,
|
|
283
|
+
"code": 5,
|
|
284
|
+
"status": null,
|
|
285
|
+
"step_type": "SplitStep",
|
|
286
|
+
"permission": null
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"model": "workflow.step",
|
|
291
|
+
"pk": 6,
|
|
292
|
+
"fields": {
|
|
293
|
+
"name": "SplitStep2",
|
|
294
|
+
"workflow": 4,
|
|
295
|
+
"code": 6,
|
|
296
|
+
"status": "FINISHED",
|
|
297
|
+
"step_type": "SplitStep",
|
|
298
|
+
"permission": 366
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"model": "workflow.step",
|
|
303
|
+
"pk": 7,
|
|
304
|
+
"fields": {
|
|
305
|
+
"name": "JoinStep1",
|
|
306
|
+
"workflow": 3,
|
|
307
|
+
"code": 7,
|
|
308
|
+
"status": null,
|
|
309
|
+
"step_type": "JoinStep",
|
|
310
|
+
"permission": null
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"model": "workflow.step",
|
|
315
|
+
"pk": 8,
|
|
316
|
+
"fields": {
|
|
317
|
+
"name": "JoinStep2",
|
|
318
|
+
"workflow": 4,
|
|
319
|
+
"code": 8,
|
|
320
|
+
"status": "REVIEWED",
|
|
321
|
+
"step_type": "JoinStep",
|
|
322
|
+
"permission": 362
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"model": "workflow.step",
|
|
327
|
+
"pk": 9,
|
|
328
|
+
"fields": {
|
|
329
|
+
"name": "ScriptStep1",
|
|
330
|
+
"workflow": 3,
|
|
331
|
+
"code": 9,
|
|
332
|
+
"status": null,
|
|
333
|
+
"step_type": "ScriptStep",
|
|
334
|
+
"permission": null
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"model": "workflow.step",
|
|
339
|
+
"pk": 10,
|
|
340
|
+
"fields": {
|
|
341
|
+
"name": "ScriptStep2",
|
|
342
|
+
"workflow": 4,
|
|
343
|
+
"code": 10,
|
|
344
|
+
"status": "PLANNED",
|
|
345
|
+
"step_type": "ScriptStep",
|
|
346
|
+
"permission": 364
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"model": "workflow.step",
|
|
351
|
+
"pk": 11,
|
|
352
|
+
"fields": {
|
|
353
|
+
"name": "EmailStep1",
|
|
354
|
+
"workflow": 3,
|
|
355
|
+
"code": 11,
|
|
356
|
+
"status": null,
|
|
357
|
+
"step_type": "EmailStep",
|
|
358
|
+
"permission": null
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"model": "workflow.step",
|
|
363
|
+
"pk": 12,
|
|
364
|
+
"fields": {
|
|
365
|
+
"name": "EmailStep2",
|
|
366
|
+
"workflow": 4,
|
|
367
|
+
"code": 12,
|
|
368
|
+
"status": "REVIEWED",
|
|
369
|
+
"step_type": "EmailStep",
|
|
370
|
+
"permission": 365
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"model": "workflow.step",
|
|
375
|
+
"pk": 13,
|
|
376
|
+
"fields": {
|
|
377
|
+
"name": "FinishStep1",
|
|
378
|
+
"workflow": 3,
|
|
379
|
+
"code": 13,
|
|
380
|
+
"status": null,
|
|
381
|
+
"step_type": "FinishStep",
|
|
382
|
+
"permission": null
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"model": "workflow.step",
|
|
387
|
+
"pk": 14,
|
|
388
|
+
"fields": {
|
|
389
|
+
"name": "FinishStep2",
|
|
390
|
+
"workflow": 4,
|
|
391
|
+
"code": 14,
|
|
392
|
+
"status": "FINISHED",
|
|
393
|
+
"step_type": "FinishStep",
|
|
394
|
+
"permission": 363
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"model": "workflow.step",
|
|
399
|
+
"pk": 19,
|
|
400
|
+
"fields": {
|
|
401
|
+
"name": "UserStep3",
|
|
402
|
+
"workflow": 4,
|
|
403
|
+
"code": 17,
|
|
404
|
+
"status": "PLANNED",
|
|
405
|
+
"step_type": "UserStep",
|
|
406
|
+
"permission": null
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"model": "workflow.step",
|
|
411
|
+
"pk": 20,
|
|
412
|
+
"fields": {
|
|
413
|
+
"name": "UserStep4",
|
|
414
|
+
"workflow": 3,
|
|
415
|
+
"code": 18,
|
|
416
|
+
"status": "",
|
|
417
|
+
"step_type": "UserStep",
|
|
418
|
+
"permission": null
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"model": "workflow.step",
|
|
423
|
+
"pk": 21,
|
|
424
|
+
"fields": {
|
|
425
|
+
"name": "StartStep1",
|
|
426
|
+
"workflow": 3,
|
|
427
|
+
"code": 19,
|
|
428
|
+
"status": "",
|
|
429
|
+
"step_type": "StartStep",
|
|
430
|
+
"permission": null
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"model": "workflow.step",
|
|
435
|
+
"pk": 22,
|
|
436
|
+
"fields": {
|
|
437
|
+
"name": "StartStep2",
|
|
438
|
+
"workflow": 4,
|
|
439
|
+
"code": 20,
|
|
440
|
+
"status": "",
|
|
441
|
+
"step_type": "StartStep",
|
|
442
|
+
"permission": null
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"model": "workflow.startstep",
|
|
447
|
+
"pk": 21,
|
|
448
|
+
"fields": {}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"model": "workflow.startstep",
|
|
452
|
+
"pk": 22,
|
|
453
|
+
"fields": {}
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"model": "workflow.userstep",
|
|
457
|
+
"pk": 1,
|
|
458
|
+
"fields": {
|
|
459
|
+
"assignee": 1,
|
|
460
|
+
"notify_user": true,
|
|
461
|
+
"group": null,
|
|
462
|
+
"display": null
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"model": "workflow.userstep",
|
|
467
|
+
"pk": 2,
|
|
468
|
+
"fields": {
|
|
469
|
+
"assignee": 1,
|
|
470
|
+
"notify_user": true,
|
|
471
|
+
"group": null,
|
|
472
|
+
"display": 1
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"model": "workflow.userstep",
|
|
477
|
+
"pk": 19,
|
|
478
|
+
"fields": {
|
|
479
|
+
"assignee": 1,
|
|
480
|
+
"notify_user": true,
|
|
481
|
+
"group": null,
|
|
482
|
+
"display": 1
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"model": "workflow.userstep",
|
|
487
|
+
"pk": 20,
|
|
488
|
+
"fields": {
|
|
489
|
+
"assignee": 1,
|
|
490
|
+
"notify_user": true,
|
|
491
|
+
"group": null,
|
|
492
|
+
"display": null
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"model": "workflow.decisionstep",
|
|
497
|
+
"pk": 3,
|
|
498
|
+
"fields": {}
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"model": "workflow.decisionstep",
|
|
502
|
+
"pk": 4,
|
|
503
|
+
"fields": {}
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"model": "workflow.splitstep",
|
|
507
|
+
"pk": 5,
|
|
508
|
+
"fields": {}
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"model": "workflow.splitstep",
|
|
512
|
+
"pk": 6,
|
|
513
|
+
"fields": {}
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"model": "workflow.joinstep",
|
|
517
|
+
"pk": 7,
|
|
518
|
+
"fields": {
|
|
519
|
+
"wait_for_all": false
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"model": "workflow.joinstep",
|
|
524
|
+
"pk": 8,
|
|
525
|
+
"fields": {
|
|
526
|
+
"wait_for_all": true
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"model": "workflow.scriptstep",
|
|
531
|
+
"pk": 9,
|
|
532
|
+
"fields": {
|
|
533
|
+
"script": "def run(process_step):\r\n process_step.error_message = \"Script worked!\"\r\n process_step.save()"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"model": "workflow.scriptstep",
|
|
538
|
+
"pk": 10,
|
|
539
|
+
"fields": {
|
|
540
|
+
"script": "def run(process_step):\r\n activity = process_step.process.instance\r\n activity.title = \"This title was edited by ScriptStep2\"\r\n activity.save()"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"model": "workflow.emailstep",
|
|
545
|
+
"pk": 11,
|
|
546
|
+
"fields": {
|
|
547
|
+
"template": "workflow/templates/Test_Templates.txt/Test_Templates_jPzC3xN.txt",
|
|
548
|
+
"subject": "WB Makes Me Sick",
|
|
549
|
+
"to": [
|
|
550
|
+
9
|
|
551
|
+
],
|
|
552
|
+
"cc": [
|
|
553
|
+
25
|
|
554
|
+
],
|
|
555
|
+
"bcc": [
|
|
556
|
+
18
|
|
557
|
+
]
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"model": "workflow.emailstep",
|
|
562
|
+
"pk": 12,
|
|
563
|
+
"fields": {
|
|
564
|
+
"template": "workflow/templates/Test_Templates.txt/Test_Templates_s7EXaCI.txt",
|
|
565
|
+
"subject": "Meeting Tomorrow",
|
|
566
|
+
"to": [
|
|
567
|
+
6,
|
|
568
|
+
34
|
|
569
|
+
],
|
|
570
|
+
"cc": [],
|
|
571
|
+
"bcc": [
|
|
572
|
+
38
|
|
573
|
+
]
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"model": "workflow.finishstep",
|
|
578
|
+
"pk": 13,
|
|
579
|
+
"fields": {
|
|
580
|
+
"write_preserved_instance": false
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"model": "workflow.finishstep",
|
|
585
|
+
"pk": 14,
|
|
586
|
+
"fields": {
|
|
587
|
+
"write_preserved_instance": true
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"model": "workflow.workflow",
|
|
592
|
+
"pk": 3,
|
|
593
|
+
"fields": {
|
|
594
|
+
"name": "Workflow1",
|
|
595
|
+
"single_instance_execution": false,
|
|
596
|
+
"preserve_instance": false,
|
|
597
|
+
"model": null,
|
|
598
|
+
"status_field": ""
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"model": "workflow.workflow",
|
|
603
|
+
"pk": 4,
|
|
604
|
+
"fields": {
|
|
605
|
+
"name": "Workflow2",
|
|
606
|
+
"single_instance_execution": true,
|
|
607
|
+
"model": 91,
|
|
608
|
+
"preserve_instance": true,
|
|
609
|
+
"status_field": "status"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
]
|