Active IQ Unified Manager Discussions
Calling WFA from POSH using REST API. Finding frequent timeouts to get a job ID when executing a workflow.
Write-Host "Executing workflow : $workflowname"$jobid = $wfa.executeWorkflow (...)
The workflow is executed fine, but very often the $jobid shows an empty variable.
Is there any way to fix this?
Thanks in advance.
See The Solution
Default time-out for a Web Service Proxy object ( $wfa) is 100 sec ( 100000 ms ). You can modify it as:
# Making it 500 sec.
$wfa.Timeout = 500000
## Now call Execute workflow method
$jobid = $wfa.executeWorkflow (...)
View solution in original post
Thanks Sinha ! That solved the issue.
Join our Discord Community