Merge commit '8c7fc36ec3c77021f37a7cbabe729c815b2d42d2'

This commit is contained in:
burnettk 2022-10-26 13:40:35 -04:00
commit 94e869549e
1 changed files with 5 additions and 1 deletions

View File

@ -142,12 +142,16 @@ class ServiceTaskParser(SpiffTaskParser):
def create_task(self):
extensions = self.parse_extensions()
operator = extensions.get('serviceTaskOperator')
prescript = extensions.get('preScript')
postscript = extensions.get('postScript')
return self.spec_class(
self.spec, self.get_task_spec_name(),
operator['name'], operator['parameters'],
operator['resultVariable'],
description=self.node.get('name', None),
lane=self.lane, position=self.position)
lane=self.lane, position=self.position,
prescript=prescript,
postscript=postscript)
class BusinessRuleTaskParser(SpiffTaskParser):