AnsweredAssumed Answered

How do you get all properties on an Incident

Question asked by JDiegelIV on Sep 8, 2017
Latest reply on Sep 12, 2017 by JDiegelIV

I have the following snippet from my Powershell script. I've also tried using "property_list" for the listName.


[xml]$sdm_prop_results = $sdm_ws_url.getRelatedListValues($sdm_ws_sid, "cr", "prp",-1, "ref_num = '5148509'",[ref]$return_props,[ref]$count)


This throws the following error


[ERROR] Exception calling "getRelatedListValues" with "7" argument(s): "Internal err
[ERROR] with api::get_named_list: NOT FOUND"
[ERROR] At \\\users1\p425346\Visual Studio 2013\Projects\ITSM\S
[ERROR] cripts\DEV\Unresolved_Incident_Reopen\unresolved_incident_reopen.ps1:156 char:3
[ERROR] + [xml]$sdm_prop_results =
[ERROR] $sdm_ws_url.getRelatedListValues($sdm_ws_sid, "cr", " ...
[ERROR] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] ~~~~~~~~~
[ERROR] + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
[ERROR] + FullyQualifiedErrorId : SoapException