Hide Forgot
Description of problem: * Deployments are not shown in the DTGov Dashboard / Deployments table Version-Release number of selected component (if applicable): * 6.0.0.ER7 How reproducible: Steps to Reproduce: 1. Install FSW 2. Deploy dtgov-workflows 3. Create new deployment via UI Actual results: Workflow overlord.demo.SimpleReleaseProcess is started, new task is created in Task Inbox but the Deployments table is empty (tried Firefox & Chrome). Expected results: Additional info:
I can reproduce this and am investigating why this broke.
Looks like no classifications are set on the artifact.
Looks like jbpm may have changed a bit. The classifiers were being properly set by the workflow, but those values were being clobbered by the QueryExecutor (which is the class that queries the s-ramp repo for changes and triggers the workflow). The final step the QueryExecutor takes is updating the artifact with the process ID of the workflow it executed. This code was not first refreshing the artifact meta-data, so the update was clobbering any changes made to the artifact meta-data by the workflow. I suspect jbpm used to return immediately from the "Create Workflow" api call, but is now only returning once the workflow hits a quiescence point. Alternatively we've simply had a race condition there since day one and are only hitting it now for some reason. Fixed now by refreshing the artifact meta-data prior to updating its property.
Verified in CR1