Hello Guys,
I am new to the Workflow Rest API. all seems to be working weel when i write the code in powershell and execute.
but then i put the same code on Workflow command it gives me the below error:
"The underlying connection was closed: An unexpected error occurred on a send."
I am plaving the below lines in the code to work with SSL/TLS, and as i mentioned it works well with simple Powershell Script, but not though Workflow engine. specially when using HTTPS connection. Http connection is no problems.
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
I am also attaching the workflow which calls another workflow with this post.
Any possible support suggestations would help me taking it further.
,Sheelnidhi