Setting the useJSONP Variable

The useJSONP variable must be set - in this case to false, indicating that the client application is running on a different machine to the BPM runtime that hosts the Forms Runtime Adapter.

var useJSONP = false;