-
Posts
110 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Enhancement Requests
Everything posted by LifeOfJonny
-
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 }
-
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
-
Enhancement: Division field in Request List
LifeOfJonny replied to LifeOfJonny's topic in Service Manager
If the department is from the user profile could we not also pull in the division from the same place? -
Enhancement: Division field in Request List
LifeOfJonny replied to LifeOfJonny's topic in Service Manager
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)? -
Enhancement: Division field in Request List
LifeOfJonny replied to LifeOfJonny's topic in Service Manager
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? -
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.
-
-
Still not working, and tried another computer I've not used Hornbill on, to rule out any form of local cache.
-
-
Still the same incognito doesn't help. All our users have the problem.
-
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; }
-
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
-
Hornbill Request Search Results: Sort/Filter
LifeOfJonny replied to AlexOnTheHill's topic in Service Manager
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. -
Hornbill Request Search Results: Sort/Filter
LifeOfJonny replied to AlexOnTheHill's topic in Service Manager
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. -
service manager down/constantly loading - service down
LifeOfJonny replied to davidrb84's topic in Service Manager
We're now getting Cloudflare origin web server down now. -
service manager down/constantly loading - service down
LifeOfJonny replied to davidrb84's topic in Service Manager
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. -
Issues with emails this morning? [RESOLVED]
LifeOfJonny replied to chriscorcoran's topic in Service Manager
I shalt bother looking at that status site in the future shall just come straight to the forums then. -
Issues with emails this morning? [RESOLVED]
LifeOfJonny replied to chriscorcoran's topic in Service Manager
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. -
Monitor Sessions, showing all the same IPs Addresses
LifeOfJonny replied to LifeOfJonny's topic in System Administration
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?