I have two SP 2013 workflows. One (WF1) does a number of things, but at the end of WF1, I'm calling another SP 2013 workflow (WF2) using REST. WF1 runs both on create and change and conditionally starts WF2 if certain fields are populated.
My challenge is that when WF1 runs the first time (on create) and calls WF2, the call to WF2 responds with "BAD REQUEST". However, if I run WF1 again (on change), the call to WF2 works just fine.
I can't seem to figure out why it doesn't work the first time but works fine the second time. I've seen some weird timing things with SharePoint, but this one seems odd.
The URL format I'm using to start the workflow is below. I've used this same format to successfully start other workflows. I also know it's a valid URL because it works on the second try. I've also tried the call both within an App Step and outside with no difference.
I appreciate any help that you can provide.