User: admin@spiffworkflow.org clicked save for examples/0-2-basic-example/user-guide-basics.bpmn

This commit is contained in:
sartography-automated-committer 2023-08-11 14:25:48 +00:00
parent b710a3560e
commit 1ec006ccb1
2 changed files with 19 additions and 2 deletions

View File

@ -48,6 +48,23 @@ As punishment, you are presented with this picture of Steven Seagal.
<bpmn:outgoing>Flow_12yxktn</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:scriptTask id="Activity_0twfaq6" name="Modify Information" scriptFormat="python">
<bpmn:extensionElements>
<spiffworkflow:unitTests>
<spiffworkflow:unitTest id="ScriptUnitTest_0tcx1qq">
<spiffworkflow:inputJson>{
"bulletproof": true,
"thanos": false,
"pushups": true
}</spiffworkflow:inputJson>
<spiffworkflow:expectedOutputJson>{
"bulletproof": true,
"pushups": true,
"score": 3,
"thanos": true
}</spiffworkflow:expectedOutputJson>
</spiffworkflow:unitTest>
</spiffworkflow:unitTests>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1195zgn</bpmn:incoming>
<bpmn:outgoing>Flow_1vfw75z</bpmn:outgoing>
<bpmn:script># Here we calculate a score in Python in a short script.

View File

@ -4,6 +4,6 @@
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"metadata_extraction_paths": null,
"primary_file_name": null,
"primary_process_id": null
"primary_file_name": "multi-approvals-1.bpmn",
"primary_process_id": "Process_s7xfbti"
}