It is not currently possible to schedule a workflow entry via the zOGI API. This should be possible via putObject. Note that schedule entries can only be created, never modified.
Tickets: #88 Tickets: #89 Wiki: RoadMap
As of r4319 (3015967b1bef) the zOGI API module has an [untested] put_schedulentry
Duplicate of [tickets:#85]
Tickets: #85
workflow schedule entries can now be created via putObject of a scheduleEntry r4347 (8ecc3c16d949)
payload = { '_SCHEDULE': [ {'entityName': 'intervalRecord', 'minutes': 4, 'hours': 1, 'startDate': datetime.datetime(2012, 11, 23, 14, 44, 8, 634498)}], '_XATTRS': [], 'attachmentUUID': '', 'entityName': 'scheduleEntry', 'priority': 175, 'contextObjectId': 1155010, 'routeObjectId': 1158480 } result = api.put_scheduleentry( payload, None )
Log in to post a comment.
As of r4319 (3015967b1bef) the zOGI API module has an [untested] put_schedulentry
Duplicate of [tickets:#85]
Related
Tickets:
#85Last edit: Adam Tauno Williams 2012-11-22
workflow schedule entries can now be created via putObject of a scheduleEntry
r4347 (8ecc3c16d949)