cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get Business Process Model PK from Process task PK

former_member638588
Participant
0 Kudos

Hi,

Order Confirmation Email is triggered through business process. I need to find the PK for this bussiness process from the below stack strace. Stack trace has only process task pk.

Is there any way i can get the PK of it?

INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.288 Trying to allocate required threads.INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.288 Required threads have been allocated.INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.288 Trying to allocate required threads.INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.288 Required threads have been allocated.INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.302 Trying to allocate required threads.INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.302 Required threads have been allocated.INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.304 Trying to allocate required threads.INFO [TaskExecutor-master-7920-Task [8802913911734]] 14:07:47.304 Required threads have been allocated.ERROR [TaskExecutor-master-7922-ProcessTask [8802913846198]] 14:07:47.553 Exception occured in B2BOrderPopulator item 8810576838679 no longer valid (was removed): object no longer validERROR [TaskExecutor-master-7922-ProcessTask [8802913846198]]

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member671328
Discoverer
0 Kudos

Kamil point is right .

Yashwanth kumar : I think so you are not using business process only using task .

As per OOTB code businessprocess and processtask are week aggregation means if businessprocess does not exist then processtask can exist.

0 Kudos

Hi

You can try a flexible search query via HAC:

SELECT {process} FROM {ProcessTask} WHERE {pk} = '8802913846198'

This query should give you the Process PK

former_member638588
Participant
0 Kudos

Hi

Thanks for the reply

SELECT {process} FROM {ProcessTask} itself gives me empty result for me. This is in my production environment.