From fa028dd517c894f71ec940d1751f77738f8a5152 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Thu, 11 Mar 2021 11:37:54 -0500 Subject: [PATCH] Modified the email_script workflow to accommodate the changes to the email script. Workflow now uses keyword arguments; subject, recipients, and cc. If cc is not passed in, we set it to None. --- tests/data/email_script/email_script.bpmn | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/tests/data/email_script/email_script.bpmn b/tests/data/email_script/email_script.bpmn index 4917ff5e..c912d544 100644 --- a/tests/data/email_script/email_script.bpmn +++ b/tests/data/email_script/email_script.bpmn @@ -8,11 +8,17 @@ - + + + + + + + Flow_0scd96e @@ -37,7 +43,9 @@ Yours faithfully, Dan Flow_0c60gne Flow_19fqvhc - email(subject='My Email Subject', recipients=email_address) + if not 'cc' in globals(): + cc=None +email(subject=subject, recipients=recipients, cc=cc) @@ -47,18 +55,18 @@ Dan - + - + - +