JBoss Community

JBPM-2772 retrieve business key from sub-process

reply from Maciej Swiderski in jBPM Development - View the full discussion

I was wondering if that is what we shall provide in this case - to me somehow it looks like incorrect information. Subprocess business key is not set so it shall return null, returning it parent business key can be sometimes misleading, can be misinterpreted as parent and can cause some unexpected behavior.

 

Perhaps better approach would be to enable possibility to set business key for a sub process when starting it from parent?!

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community