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

[BUG] When a task is executed through an API call, the result returns MSG :success, but the task is not actually executed. #781

Closed
chenyuan9028 opened this issue Sep 10, 2019 · 3 comments
Labels
question Further information is requested

Comments

@chenyuan9028
Copy link

chenyuan9028 commented Sep 10, 2019

version:1.1.0
problem:When a task is executed through an API call, the result returns MSG :success, but the task is not actually executed.
image

In this case, by calling the API to execute the task, it is not known whether the task is actually executed or not, and it is not known which instance you just ran by looking for the task instance, because the same task can have multiple instances running at the same time.
So how exactly do you get an instance of an execution?

这情情况下,通过调用api去执行任务就不知道任务是否真的被执行了,及时通过任务实例去找也不知道哪个实例才是你刚才跑的,因为同一任务可以有多个实例同时处于运行的状态。
那怎么能够准确的获取某次执行的的实例呢?

@chenyuan9028 chenyuan9028 added the bug Something isn't working label Sep 10, 2019
@wu-sheng
Copy link
Member

Please begin to use English as the only language in the mail list and GitHub.

@chenyuan9028 chenyuan9028 changed the title [BUG] 通过api提交执行任务请求,返回结果为success,但实际并没有执行 [BUG] When a task is executed through an API call, the result returns MSG :success, but the task is not actually executed. Sep 10, 2019
@qiaozhanwei
Copy link
Contributor

This interface is the startup process instance interface, just insert a command into the Command table, indicating that the startup is successful. Not the process execution was successful. Process execution successfully monitors process status

这个接口是启动流程实例接口,只是将插入到Command表中一条命令,说明启动成功了。不是流程执行成功了。流程执行成功得监控流程状态

@chenyuan9028
Copy link
Author

So how I can know which processInstance is what I just run? because there may be more than one
processInstance running at the same time in a same processDef.
@qiaozhanwei
那我怎么知道哪个运行的任务实例才是我刚才执行的呢。因为同一个任务同一时间可能有多个正在运行的实例

@qiaozhanwei qiaozhanwei added question Further information is requested and removed bug Something isn't working labels Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants