Description of problem: In BZ 1070097 the history operations were changed so as not to require deploymentId. When I use FindVariableInstancesByNameCommand, I will not get any results though I get the results via REST API. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 893048 [details] Patch for VariableHistoryTest
Marco, thank you very much for your effort to fix the problem. I did not notice the onlyFromActiveProcesses property in FindVariableInstancesByNameCommand. What do you think about changing the default value of the property to false? I would like to follow Convention over Configuration model and I see this command more appropriate for history process analysis than BAM for active processes.
Hi Ivo, I agree with you that the property should be false -- and also that the behavior of the FindVariableInstancesByNameCommand is not at all obvious. However, it's part of the API and I'm not sure we can change that in a bugfix release. Kris has the last word on this, I'll check with him.
Verified in BPMS 6.0.2.ER3
Fine with changing the default value if that makes sense (although the ship has sailed for this bug fix release, can be done on master).