Skip to content
This repository was archived by the owner on Jul 28, 2020. It is now read-only.

Commit c0078d3

Browse files
authored
Merge pull request #50 from zenaton/feature/schedule_custom_id
Added custom_id argument for workflow schedule.
2 parents 3e5a57f + 9d5b9d9 commit c0078d3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Changelog
22

3+
## [Unreleased]
4+
5+
- Added `custom_id` argument for workflow schedule.
6+
37
## [0.4.1] - 2019-09-25
48

59
### Added
10+
611
- Added a `intent_id` property when dispatching workflows and tasks, sending events to workflows, and
712
pausing/resuming/killing workflows.
813
- Execution context for tasks and workflows

zenaton/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def start_scheduled_workflow(self, flow, cron):
134134
'intentId': self.uuid(),
135135
'environmentName': self.app_env,
136136
'cron': cron,
137+
'customId': self.parse_custom_id_from(flow),
137138
'workflowName': self.class_name(flow),
138139
'canonicalName': self.canonical_name(flow) or self.class_name(flow),
139140
'programmingLanguage': self.PROG.upper(),

0 commit comments

Comments
 (0)