By any chance a number (say 5505) be assigned to a Process and a Task?
When I search a task using its id (5505) , it appears as a running task in the search result.
When I try to search processes using the same Id, it shows a completed process instance.
How is this possible?
From my knowledge, I'm assuming that the process id & task id shares a single unique sequence number. Am i correct?
Nith
Solved! Go to Solution.
Views
Replies
Total Likes
This is expected and normal because Processes and Tasks are separate entities. There will definitely be overlap as the values are assigned independently. The first process id in the system will have a process instance id of 1 and the first task will have a task id of 1.
FYI, for performance reasons, these ids are currently allocated in blocks of 100 so if you have a brand new 2 node cluster, one will be assigning ids in the range of 1-100 and the other will assigning ids in the range of 101-200. This means that you can't depend on these ids to imply creation order (e.g. process id 111 could have been created before process id 11).
Views
Replies
Total Likes
This is expected and normal because Processes and Tasks are separate entities. There will definitely be overlap as the values are assigned independently. The first process id in the system will have a process instance id of 1 and the first task will have a task id of 1.
FYI, for performance reasons, these ids are currently allocated in blocks of 100 so if you have a brand new 2 node cluster, one will be assigning ids in the range of 1-100 and the other will assigning ids in the range of 101-200. This means that you can't depend on these ids to imply creation order (e.g. process id 111 could have been created before process id 11).
Views
Replies
Total Likes
Thanks for the clear explanation.
It would be great if this point is document somewhere!
Views
Replies
Total Likes