VMware Cloud Community
Hazenet
Enthusiast
Enthusiast

"TypeError: Cannot find function createSOAPRequest in object notfound." when multiple SOAP workflows are run at the same time

I have a issue with a embedded vRO server in vRA 7.0.1.

On this vRO server I have a SOAP host in the Inventory (Thycotic Secret Server to be specific)

I of cause have a couple of workflows that relate to this SOAP Host and its operations.

Like "Add Secret", "Get Secret" and "Deactivate Secret".

If I run a deploy for a single machine in vRA, which in the background via vRO uses these workflows everything works as expected.

But if I run mulitple deployments, then if the vRO workflow tokens are started at the exact same time, then only the first is successful, the others on the same Token-execution-time fails.

For the workflows that fails I get a exception similar to this:

"TypeError: Cannot find function createSOAPRequest in object notfound."

Looking deeper in the scripting code, that exception is "thrown" for this javascript line:

"var request = secretServerOperation_Authenticate.createSOAPRequest();"

Which means, that for whatever reason the subsequent tokens run at the exact same time, aren't being passed the attribute "secretServerOperation_Authenticate" which is hardcoded in the Attribute list of the workflow.

Anyone ever seen this, or have any ideas on how to "fix" this?

Maybe give the vRO server instance more resources?

Tags (2)
0 Kudos
1 Reply
pfarrington
Contributor
Contributor

I have experienced the same problem (curiously, also with Secret Server - but that is probably because we use REST for most other products).

Our environment uses a separate vRO 6.0.2 instance.

Did you find a resolution to the problem?  I'm considering putting some serialisation call around the SOAP requests.

0 Kudos