Dolphinscheduler: Can the processDefinition id and schedule id be returned after the process instance is successfully created

Created on 22 Jul 2020  ·  10Comments  ·  Source: apache/dolphinscheduler

Can the processDefinition id and schedule id be returned after the process instance is successfully created

Most helpful comment

我想通过api创建流程实例,但是创建完成后,我需要先查询所有实例,然后才能动态启动和运行它。

嗨,
您是说要process instance身份证,而不是process definition身份证吗?

Sorry, I typed the wrong word

In 1.3.x and 1.2.x version, the process definition id will be returned when you create a process definition.
image

Can it also return schedule id when creating schedule?
This http://192.168.1.194:8888/dolphinscheduler/projects/bim-qd/schedule/create api
Thank you

This http://192.168.1.194:8888/dolphinscheduler/projects/bim-qd/schedule/create api will return all the schedule info, include the process definition id and schedule id.

All 10 comments

I want to create a process definition through api, but after the creation is completed, I need to query all of them before it can be dynamically launched and run.

I want to create a process instance through api, but after the creation is completed, I need to query all of them before it can be dynamically launched and run.

Hi,
Do you mean you want the process instance id, not the process definition id?

我想通过api创建流程实例,但是创建完成后,我需要先查询所有实例,然后才能动态启动和运行它。

嗨,
您是说要process instance身份证,而不是process definition身份证吗?

是 process definition id

我想通过api创建流程实例,但是创建完成后,我需要先查询所有实例,然后才能动态启动和运行它。

嗨,
您是说要process instance身份证,而不是process definition身份证吗?

Sorry, I typed the wrong word

我想通过api创建流程实例,但是创建完成后,我需要先查询所有实例,然后才能动态启动和运行它。

嗨,
您是说要process instance身份证,而不是process definition身份证吗?

Sorry, I typed the wrong word

In 1.3.x, the process definition id will be returned when you create a process definition.
In 1.2.x version, because the error using of utils, it will not return the process definition id.
image

我想通过api创建流程实例,但是创建完成后,我需要先查询所有实例,然后才能动态启动和运行它。

嗨,
您是说要process instance身份证,而不是process definition身份证吗?

Sorry, I typed the wrong word

In 1.3.x and 1.2.x version, the process definition id will be returned when you create a process definition.
image

Can it also return schedule id when creating schedule?
This http://192.168.1.194:8888/dolphinscheduler/projects/bim-qd/schedule/create api
Thank you

我想通过api创建流程实例,但是创建完成后,我需要先查询所有实例,然后才能动态启动和运行它。

嗨,
您是说要process instance身份证,而不是process definition身份证吗?

Sorry, I typed the wrong word

In 1.3.x and 1.2.x version, the process definition id will be returned when you create a process definition.
image

Can it also return schedule id when creating schedule?
This http://192.168.1.194:8888/dolphinscheduler/projects/bim-qd/schedule/create api
Thank you

This http://192.168.1.194:8888/dolphinscheduler/projects/bim-qd/schedule/create api will return all the schedule info, include the process definition id and schedule id.

Thank you

我想通过api创建流程实例,但是创建完成后,我需要先查询所有实例,然后才能动态启动和运行它。

嗨,
您是说要process instance身份证,而不是process definition身份证吗?

Sorry, I typed the wrong word

In 1.3.x and 1.2.x version, the process definition id will be returned when you create a process definition.
image

Can it also return schedule id when creating schedule?
This http://192.168.1.194:8888/dolphinscheduler/projects/bim-qd/schedule/create api
Thank you

This http://192.168.1.194:8888/dolphinscheduler/projects/bim-qd/schedule/create api will return all the schedule info, include the process definition id and schedule id.

Thank you

Hi,
In 1.3.x, the process definition id will be returned when you create a process definition.
In 1.2.x version, because the error using of utils, it will not return the process definition id.

嗨,
在1.3.x中,当您创建流程定义时,将返回流程定义ID。
在1.2.x版本中,由于错误使用utils,因此不会返回进程定义ID。

Ok

Was this page helpful?
0 / 5 - 0 ratings