# Run Reserves job for Accounting Run

1. [Open jenkins](http://jenkins.theorchard.com:8080/login)
2. Type in search field  "qa-swf-accounting" or just ignore and go to step 3 
3. [Run the job](http://jenkins.theorchard.com:8080/job/qa-swf-accounting-reserve-payouts-exec-init-cleanup)
4. Build the cleanup job
5. Get on PROD AWS
6. Get on SWF
7. Select qa\_swf_accounting domain  
8. Select Workflow Executions on the left side menu
9. Select active workflow and you should see running activities (Tab Activities) 
	* There should be 5 activities at the end  the last one might fail with this kind of error ```SWFResponseError 400 Bad Request {'__type': 'com.amazon.coral.validate#ValidationException', 'message': '1 validation error detected: Value \'{"failed_adjustments": ["vendor_id: 25771, Error while creating: Reserve released, failed 1 of 2 total adjustment```  
10. [Go back to Jenkins and put into url](http://jenkins.theorchard.com:8080/job/prod-swf-accounting-reserve-payouts-exec)
11. Build the job, change the period to the current period
...**_Repeat step 5 and 6_**
12. Select prod_swf_accounting domain
...**_Repeat step 9_**

# Other things to look for

1. The DynamoDB table `prod-reserve-payout-calculations`
