dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Question] 能否在shell中获取工作流实例ID

Open cnstevenwang opened this issue 5 years ago • 4 comments

如题,能否获取当前工作流实例的ID

cnstevenwang avatar Dec 08 '20 07:12 cnstevenwang

There is no way at present

In addition, please describe it in English

BoYiZhang avatar Dec 09 '20 01:12 BoYiZhang

Is it processInstanceId? as BoYiZhang said it not way at present auto get. but if you need, can add it by you self.

at org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java you can get the processInstanceId image

whitelowrie avatar Dec 09 '20 02:12 whitelowrie

There is no way at present

In addition, please describe it in English

InstanceID is useful for developer to organize their workflow and data logic. Full context is necessary.

cnstevenwang avatar Dec 10 '20 01:12 cnstevenwang

Close the question since it has been replied

chengshiwen avatar Apr 10 '21 09:04 chengshiwen