I am able to run below powershell scrip using windows powershell and it works fine and the description field are getting updated in serviceNow.If i run the same script using PowerShell integration pack in orchestrator, it completes successfully, but description field are not getting updated
.$username = “sco”
$password = “xxxx”
$instance = “demo009”
$cred = New-Object System.Management.Automation.PSCredential -ArgumentList @($username,(ConvertTo-SecureString -String $password -AsPlainText -Force))
$sn = New-WebServiceProxy -Uri https://MyTest.service-now.com/incident.do?WSDL - -Credential $cred
#get autogenerated namespace
$type = $sn.GetType().Namespace
$get = new-object ($type + ‘.get’)
$getRecords = new-object ($type + ‘.getRecords’)
$update = new-object ($type + ‘.update’)
#Update a record with values
$update.sys_id=“bcaebcc70fae5e00e57d4cace1050ec8”
$update.description=“SCO 2 is working on this ticket Reset Password”
$sn.update($update)