mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-16 05:04:18 +00:00
Squashed 'SpiffWorkflow/' changes from a094adad8..bb9832928
bb9832928 Merge pull request #257 from sartography/bugfix/add-spiff-scripts-to-service-task ecd9ecb84 parse spiff script extensions in service tasks git-subtree-dir: SpiffWorkflow git-subtree-split: bb9832928b47055d2d51e1f5711f1abc4139f7d8
This commit is contained in:
parent
dfd3eee5e9
commit
8c7fc36ec3
@ -142,12 +142,16 @@ class ServiceTaskParser(SpiffTaskParser):
|
|||||||
def create_task(self):
|
def create_task(self):
|
||||||
extensions = self.parse_extensions()
|
extensions = self.parse_extensions()
|
||||||
operator = extensions.get('serviceTaskOperator')
|
operator = extensions.get('serviceTaskOperator')
|
||||||
|
prescript = extensions.get('preScript')
|
||||||
|
postscript = extensions.get('postScript')
|
||||||
return self.spec_class(
|
return self.spec_class(
|
||||||
self.spec, self.get_task_spec_name(),
|
self.spec, self.get_task_spec_name(),
|
||||||
operator['name'], operator['parameters'],
|
operator['name'], operator['parameters'],
|
||||||
operator['resultVariable'],
|
operator['resultVariable'],
|
||||||
description=self.node.get('name', None),
|
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):
|
class BusinessRuleTaskParser(SpiffTaskParser):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user