Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于参数传递的问题。 #46

Closed
ningchunlei opened this issue Jul 27, 2021 · 3 comments
Closed

关于参数传递的问题。 #46

ningchunlei opened this issue Jul 27, 2021 · 3 comments

Comments

@ningchunlei
Copy link

ningchunlei commented Jul 27, 2021

好像不支持显示支持方法调用和参数传递。
<serviceTask id="executeTask" name="ExecuteTask" smart:class="com.alibaba.simplest.bpm.util.AuditProcessServiceTaskDelegation"> </serviceTask>

这个里边能传递参数么例如
<serviceTask id="executeTask" name="ExecuteTask" smart:class="springBean.method(param1,param2)"> </serviceTask>

如果要实现这个需要怎么扩展呢, 能一些思路么。

显示的调用方法,开发同学看起来更直观, 不然针对每个任务都需要写个代理类

@vavi
Copy link
Collaborator

vavi commented Aug 2, 2021

这个你可以通过覆写DelegationExecutor 来实现;但是传参方面,需要你做些约定。

@ningchunlei
Copy link
Author

这个你可以通过覆写DelegationExecutor 来实现;但是传参方面,需要你做些约定。

你们后续有计划在这个方面做些事情么

@vavi
Copy link
Collaborator

vavi commented Aug 4, 2021

目前没有计划,主要这里的需求共性较少。 如果是比较典型的需求,是可以默认支持下。 你有什么好的建议方案吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants