Add is_locked to Task API object

This commit is contained in:
mike cullerton 2022-05-06 08:54:57 -04:00
parent 20a21b9267
commit e8c5ec1af5
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class Task(object):
def __init__(self, id, name, title, type, state, lane, form, documentation, data,
multi_instance_type, multi_instance_count, multi_instance_index,
process_name, properties):
process_name, properties, is_locked=False):
self.id = id
self.name = name
self.title = title
@ -108,6 +108,7 @@ class Task(object):
self.multi_instance_index = multi_instance_index # And the index of the currently repeating task.
self.process_name = process_name
self.properties = properties # Arbitrary extension properties from BPMN editor.
self.is_locked = is_locked
@classmethod
def valid_property_names(cls):