Jump to content

LifeOfJonny

Hornbill Users
  • Posts

    110
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by LifeOfJonny

  1. This is the function that calls the API, encase it's needed, but like I said it different assets serials that error, and some times when the script it ran, it doesn't error at all, but usually it errors once or twice a run. Function GetComputerBySerial { param ([Parameter(Mandatory=$true)]$serial) $assetDevice = $null # Build XMLMC API call # params have to be in the expected order. $filter = '[{"column_name":"h_serial_number","column_value":"'+$serial+'","operator":"Equals","isGeneralProperty":false}]' Clear-Params Add-Param "resultType" "data" Add-Param "assetClass" "computer" Add-Param "filters" $filter # Invoke XMLMC call, output returned as PSObject $xmlmcOutput = Invoke-XMLMC "apps/com.hornbill.servicemanager/Asset" "getAssetsFiltered" $jsonData = ConvertTo-Json -InputObject $xmlmcOutput # Read output status if($xmlmcOutput.status -eq "ok") { # Data return is corrects if ($null -ne $xmlmcOutput.params.data) { $assetDevice = (ConvertFrom-Json $xmlmcOutput.params.data)[0] } else { return $false } } else { # API call status not OK - return status and error to console WriteOut "API Call Status : $($xmlmcOutput.status)" WriteOut "Error Returned : $($xmlmcOutput.error)" WriteOut "Error as JSON : $($jsonData)" } return $assetDevice }
  2. Hi, I have created a PowerShell script, which gets data from our asset system and inserts/updates the Hornbill Asset system, using the Hornbill API. When it checks each asset to see if anything needs updating, one out of the 1000s will error with the below, but it's never the same asset each time it runs, it'll be random device with a different serial number. The lookup uses the devices serial number to find the asset in hornbill, then update accordingly. { "Status": "fail", "Params": "", "Error": "FlowCode Exception (com.hornbill.servicemanager/entities/Asset/fc_ops/getAssetsFiltered): Security Error: 1" } Is anyone able to elaborate what this error actually means? Jonny
  3. If the department is from the user profile could we not also pull in the division from the same place?
  4. Yes the screenshot was just showing you where I meant on the field list. So does the Department column get it from the request's table or does it get it from the customer (user's tables)?
  5. Hi Steve, This would work, but how does the Department get populated in to the field view at the moment? Is it pulled from the customer record's directly?
  6. Hi, It would be useful to also have Division as a request list field just like department, so you can see which division a customer belongs too. Hopefully it's not too much hassle to add this, feel liek since department is there already, probably isn't much leg work to add division. Added to this request list of fields you can use for columns.
  7. Still not working on both computers, cleared cache as well.
  8. Still not working, and tried another computer I've not used Hornbill on, to rule out any form of local cache.
  9. Same with some people in my instance, currently works if you've not refreshed/reloaded the page.
  10. Still the same incognito doesn't help. All our users have the problem.
  11. Any updates on this? Some examples of what I would change below but the drop-down options for things like Analyst need fixing as the names are barely readable. I thought the dark theme was still classed as experimental but can't see any mention of that now on the UI. Better row highlighted colour // servicemanager.css .use-dark-mode .sm-requests-list .requestlist-row .is-customer-updated-1 { background-color: #065599 !important } // <style> .sm-requests-list .requestlist-row .is-customer-updated-1 { background-color: #065599 !important } Fix SLA .use-dark-mode .request-stats { background: transparent !important; } .use-dark-mode .request-stats-sla { background: transparent !important; } odd white border on comment buttons .use-dark-mode .btn-as-action { border-color: grey !important; }
  12. We've had users report this today as well. Looks like Sites field is now required which it wasn't before and if you go on the Details Form Designer you can not toggle it being required or not. Is this an unwanted change?
  13. Customer our facing portal https://customer.hornbill.com/instanceID/ also doesn't work.
  14. https://status.hornbill.com/ doesn't report any issue, it probably should hehe.
  15. We had this as well, but people are able to login again now. Some of our custom API scripts that we run to import asset information, has errored with the below, which looks to be an internal hornbill error. Protocol Error: Failed to get a connection to the server: http://:49102/mem/session/*?attr.apiKey=APIKEYHERE
  16. Advanced Search do help indeed, but I would like to see be able to search details and timeline at the same time if possible, not sure why you would only want to search one at a time.
  17. Is there a possibility to add MUST CONTAIN, this would help when searching error messages. Also the ability to search details and timeline at the same time, as I don't know where an error message might of been recorded.
  18. We're now getting Cloudflare origin web server down now.
  19. Everyone who's using Hornbill at my company is getting the same issue. Our API server is mdh-p01-api.hornbill.com which looks to be where the issues are for us. Everyone is going direct to Hornbill no corporate networks for proxies.
  20. I shalt bother looking at that status site in the future shall just come straight to the forums then.
  21. Hi, I noticed this wasn't highlighted on https://status.hornbill.com/ which is where I normally go when something seems odd in hornbill, as the point in the site is to report any issues with hornbill but nothing was there.
  22. Will this be getting fixed to show origin IPs instead for example using "X-Forwarded-For" HTTP header instead of showing the load balancer IPs?
×
×
  • Create New...