I have found some issues and resolved them, so I'm back to square one in most regards. I'm able to call the workflow fine, but it's like the API can only handle 1 call, then the next one pretty close to always fails, then the 3rd call works, the 4th nearly always fails, and so on for every call. I tried a 30 second wait between the calls, and a 1 minute wait, no difference.
I looked in the CP log and see this.
20180803/150247.393 - 36 U00045105 Log on of 'SVCTIMSDEV/NDBH' successful.
20180803/150252.159 - 41 U00045105 Log on of 'SVCTIMSDEV/NDBH' successful.
20180803/150257.268 - 42 U00045014 Exception 'java.util.concurrent.TimeoutException: "Wait for response of request 504 timed out after 60 seconds."' at 'com.automic.kernel.impl.CpDispatcherComponent.waitForResponse():102'.
20180803/150257.268 - 42 U00045098 Method 'POST', URL: 'http://dc01-aedev01:8088/ae/api/v1/200/executions'
20180803/150257.268 - 42 U00045099 The server replied with following status: '500'
20180803/150347.425 - 36 U00045014 Exception 'java.util.concurrent.TimeoutException: "Wait for response of request 508 timed out after 60 seconds."' at 'com.automic.kernel.impl.CpDispatcherComponent.waitForResponse():102'.
20180803/150347.425 - 36 U00045098 Method 'POST', URL: 'http://dc01-aedev01:8088/ae/api/v1/200/executions'
20180803/150347.425 - 36 U00045099 The server replied with following status: '500'
20180803/150352.191 - 41 U00045014 Exception 'java.util.concurrent.TimeoutException: "Wait for response of request 509 timed out after 60 seconds."' at 'com.automic.kernel.impl.CpDispatcherComponent.waitForResponse():102'.
20180803/150352.191 - 41 U00045098 Method 'POST', URL: 'http://dc01-aedev01:8088/ae/api/v1/200/executions'
20180803/150352.191 - 41 U00045099 The server replied with following status: '500'
20180803/150358.425 - 41 U00045105 Log on of 'SVCTIMSDEV/NDBH' successful.
20180803/150359.488 - 41 U00045098 Method 'POST', URL: 'http://dc01-aedev01:8088/ae/api/v1/200/executions'
20180803/150359.488 - 41 U00045099 The server replied with following status: '200'
I'm running low on ideas.