How to get current workflow identity in current node?

#1

How to get current workflow identity in current node?

0 Likes

#2

I’m not really sure what you exactly mean with “workflow identity”, but it’s probably in here what you’re looking for:

NodeContext.getContext().getWorkflowManager(); // …

– Philipp

1 Like

#3

i saw your another post about this,i want a some data like workid to stands for the current workflow,like the following capture,i hope to get an id like 1, 2, 3 .

image

0 Likes

#4

Hi @lou,
you can get context properties such as the name of the current workflow from here:


Workflows are identified by their path, there is no additional id.
best,
Gabriel

1 Like

closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

0 Likes