I was wondering if anybody has experienced a similar issue using OpenTouch. I am running a script to query the following objects in Landesk via an OpenTouch Webservices call. Here is the script I am trying to run:
<executeQuery name="IncidentManagement.Incident" intoXMLvar="#TicketResults" continueIfFail="0">
<addOutputAttribute key="Id" />
<addOutputAttribute key="Status" />
<addOutputAttribute key="_IncidentUrgency" />
<addOutputAttribute key="_CurrentAssignedAnalyst" />
<addOutputAttribute key="LatestAssignmentGroup" />
<addOutputAttribute key="_ExternalId" />
<addCondition param="Id" condition="Equals" value="#p1" />
I am making this call using an Analyst account, and I am receiving a correct output on all the attributes if the ticket is in In Progress or New status. However, the attributes marked in red cause the script to fail in any other status. If I remove the red attributes, then I am able to call the script again across all statuses.
This is the error I receive:
Error on execute ExecuteQuery, Script Nr - 1
at ScriptExecutor.Execute() in c:\inetpub\wwwroot\ServiceDesk.OpenTouch\App_Code\ScriptExecutor.cs:line 86
My troubleshooting seems to imply there is a permissions issue with the account I am using to call the script. If I add the Administrators role to the account, this error goes away for all statuses. I created a new role, and granted All access across all modules using the permissions wizard, but this does not resolve the issue. I do not want to make this account an administrator once we move from testing to production. Does anyone else have any experience with this issue? Thanks!