Last active
January 3, 2022 17:44
-
-
Save danfunk/227d1db15d0f9d2da17ab88e43e46683 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bpmn:scriptTask id="Activity_1jz3ih0" name="Determine Duck Worthiness"> | |
<bpmn:incoming>Flow_2</bpmn:incoming> | |
<bpmn:outgoing>Flow_1olpa6l</bpmn:outgoing> | |
<bpmn:script> | |
if not tolerant or variety == 'Dead': | |
is_safe = False | |
else: | |
is_safe = True | |
</bpmn:script> | |
</bpmn:scriptTask> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment