Jump to content

samwoo

Hornbill Users
  • Posts

    1,782
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by samwoo

  1. I just noticed the tag is set to: Please could an Mod change it so it appears as "enhancement" instead, as I suspect this could prevent the developers from seeing my post.
  2. Hello, My colleague also suggested that if a scrollbar is not feasible in the Data List widget, then maybe the results could be paginated, and the widget could show previous/next buttons. Thanks, Samuel
  3. Good afternoon, I just wanted to say that I tested adding a scrollbar using the F12 Developer Tools (overflow = auto) and it looks good:
  4. Hi @Steve G, I outputted using your tip (Get-HB-Params), and weirdly the JSON within the XML comes out as HTML Encoded causing the output to look like this: Now weirdly, the JSON within the <questions> element is working fine. But the JSON within the <questionFieldMap> element only updates the last custom field defined (h_custom_21). I at least have a workaround thanks to @CraigP's help to update the request after it's been logged, though I haven't noticed anything yet, I do worry that the BPM starting at the point of logging the ticket and me updating the request after the ticket has been logged, may mean that certain bits of information could be missed in the BPM instance at the beginning. I suspect that once I produce the Email Template to notify the Leaver's Manager that the ticket has been logged at the beginning, it will not be able to capture the values of these custom fields... so at the moment all I can think of to work around this is to make sure the ticket is paused or put on-hold for 1 minute (if possible) then follow that up with a "Get Request Details" node. Now I'm not 100% sure the HTML encoding is an issue (it might be, I guess it depends on the endpoint and its ability to parse the encoded values?) but I wonder if you might consider creating and supporting a new version of the HornbillAPI PowerShell module (maybe called HornbillAPI_JSON?) that produces the params as a JSON instead of XML and have that sent over instead, which might prevent this issue from occurring? Thanks, Samuel
  5. @CraigP - Genius! You know when you've been looking at something for so long, you cannot see the obvious... thank you, it works! @Steve G Thanks for the tip, in an ideal world it would be better to use the questionFieldMap field using the logServiceRequest Service. When I get a moment, I'll use your tip to find out what is being produced before initiating it.
  6. Thanks @Steve Giller - Would be good to see if someone else could offer any insights as well. In fact, I can also confirm this issue with the /Requests/update API as well. https://api.hornbill.com/apps/com.hornbill.servicemanager/Requests?op=update The bit that runs to update the ticket: $customFields = [PSCustomObject]@{} $customFields | Add-Member -MemberType NoteProperty -Name 'h_custom_h' -Value 'han<REDACTED>' $customFields | Add-Member -MemberType NoteProperty -Name 'h_custom_e' -Value 'Hannah <REDACTED>' $outcome = Update-HB-Request-CustomFields -requestid 'SR00168595' -customFields ($customFields | ConvertTo-Json -Compress) This is what the JSON looks like: {"h_custom_h":"han<REDACTED>","h_custom_e":"Hannah <REDACTED>"} This is the function I built to work alongside the HornbillAPI: function Update-HB-Request-CustomFields { param ( [Parameter ( Mandatory = $true )] [string]$requestid, [Parameter ( Mandatory = $true )] [string]$customFields ) Add-HB-Param -ParamName 'requestId' -ParamValue $requestid -ParamAllowEmpty $false Add-HB-Param -ParamName 'customFields' -ParamValue $jsonObject -ParamAllowEmpty $false $xmlmcOutput = Invoke-HB-XMLMC 'apps/com.hornbill.servicemanager/Requests' 'update' return $xmlmcOutput } This is the response running the function: No updates to the request: (Ignore the T, I added that via the ticket to see if it was working) Could the new Custom Fields recently added have knocked out some of the APIs?
  7. I just did another test by removing the part that generates the "h_custom_21" key/value, and now nothing is populating. This gives me a sense that there is a defect somewhere as none of the VARCHAR(255) fields are being populated.
  8. I haven't logged on yet, but are they in requests extended?
  9. Good evening, Is this the correct input for questionFieldMap for the logServiceRequest API? { "h_custom_e":"<REDACTED>", "h_custom_h":"<REDACTED>", "h_custom_i":"<REDACTED>", "h_custom_o":"<REDACTED>", "h_custom_21":"2023-01-09 00:00:00" } In my PowerShell script, I have everything else working (including the questions field) and the ticket is logged successfully, except the input for questionFieldMap partially works... it only maps to h_custom_21 and not the other fields defined above. The above is the output when running the variable in the terminal on VSCode, I just redacted the sensitive information. I did try to do it differently and it doesn't work at all if it comes over like this (with each field as a separate child) - so I am assuming the above format is correct, I just can't work out why it's only mapping to the last in the JSON Object despite the whole thing going through with no errors. [ { "h_custom_e":"<REDACTED>" }, { "h_custom_h":"<REDACTED>" }, { "h_custom_i":"<REDACTED>" }, { "h_custom_o":"<REDACTED>" }, { "h_custom_21":"2023-01-09 00:00:00" } ] Any help would be appreciated. @Steve G sorry for picking on you but I have seen you respond to other people's requests on the forums about the logServiceRequest API in the past, wondering if you might be able to quickly spot the issue? Thanks, Samuel
  10. Good afternoon, I was wondering if there has been any further discussion in-house by any chance?
  11. Good afternoon, I would like to request a new Hornbill Automation for the RequestConnections entity called Get Request Connection Details. The idea is for this to be used for multiple possibilities as time goes on and as people request more outputs to be added. But to start with, the Node Input should contain the following: Request ID (Mandatory) Connection Type (Optional) [Auto = All, Manual = <Dropdown>, Variable = Variable] Connection Customer Type (Optional) [Auto = Any, Manual = Any, Co-Worker, Contact, Variable = Variable] Connection User Class (Optional) [Auto = Any, Manual = Any, Full User, Basic User, Variable = Variable] Connection User Company (Optional) [Auto = Any, Manual = <Dropdown>, Variable = Variable] The Node Output should contain the following: Connection Email Addresses (Seperated by Commas or Semi-Colons) Connection Names (Seperated by Commas, Semi-Colons, or Line Breaks) Count of Connections (0 if None, else count based in the Input Criteria) What I really wanted is to be able to do is Count the number of Connections by Connection Type against a Request, so, for example, I can branch out based on a count of 0 Connections of Connection Type X against the Request, but this idea could hit multiple birds with one stone, with the ability to hit more birds with the same stone as time goes on. Thanks, Samuel
  12. thanks @Gerry - I appreciate the . I'll keeping a sharp eye for the release and will make the change promptly once it's available.
  13. Good afternoon, I would like to request the ability to display a board in full screen (using a URL parameter like we can with dashboards, with a button to also take us full screen where we can copy the URL). This would go a long way to enabling embedding the Board in Dashboards, on a screen or elsewhere, without having the rest of the Hornbill App showing around it. Essentially so it just looks like this: Thanks, Samuel
  14. Thanks @AlexTumber, exciting news. I'll shall obey your advice Cheers, Samuel
  15. Good morning, I would like to request the ability to reassign templates to a different Entity. For example, I have a bunch of Release related Emails under the "Requests" entity, and I wanted to reassign them to the "Release" Entity as a way of grouping the Email Templates accordingly (in addition to the new Grouping functionality) Thanks, Samuel PS. The Email Templates under each of the Service Manager entities are useable in the BPM and within Tickets... right?
  16. Hi @Gerry and @Steve Giller, Thank you for getting in touch. I had been using iBridge as I cannot see any options related to Simple Lists under Hornbill Automation. Are you able to provide a screenshot to show where I need to look? Many thanks, Samuel
  17. Hi @Gerry, Just had a report from a user regarding the Simple List automation, they are getting this error message: Never seen an error like this before. I was wondering if you or someone else could advise. Thanks, Samuel
  18. Hi again @Gerry Another suggestion, which might be overkill... but is it possible to include a changelog of changes made to docs.hornbill.com, with linkback to the pages/sections that were created/amended?
  19. @Gerry, No problem at all., happy to help. In fact, I do have a suggestion for improvement, but I am not sure how feasible it is to implement, but have you considered allowing people to comment on the documentation pages on docs.hornbill.com? We, your customers, can engage in discussions on documentation topics to promote knowledge sharing and feedback Comments are moderated, like the forums, and moderators can get involved in the discussions as well. Customers can report any issues with the documentation to moderators via the comments Could it be possible for Moderators can raise a GitHub issue from a comment, this could be if a customer reports out of date instructions, or requests improvements for example (let's face it, it is difficult to keep documentation maintained to 100% perfection, so we can help you if we spot something out of date for example). Contributors would be more involved with the documentation, whereas people can also make comments without being contributors via Github and still be able to help out. I can confirm the issues reported earlier is now resolved. The page does do a little dance where it loads the content... when the page loads, it briefly clears the contents then loads the contents again but it's no showstopper and doesn't cause any issues. Thanks, Samuel
  20. No worries at all @Sam P - I had hoped I saw the solution there
  21. Hi @Kelvin, Can't be 100% sure about this, but at a glance from your screenshots, make sure that when you select the field from the Intelligent Capture, you use "Raw Value" instead of "Display Value". I would expect "Customer_Name" to look like "Customer_Name_value". Also, it would be better to use Co-worker (from variable) instead of Co-worker. Thanks, Samuel
  22. No problem at all @Gerry, very happy to assist. Loving docs.hornbill.com and can't wait for more information on there so we can start using it more
  23. Hi @Gerry, To avoid further hijacking this thread, I have posted a new one here:
  24. Hi @Gerry, Rather than hijacking the other thread, I've decided to post it in here. For reference, I am using the latest version of Microsoft Edge (Business). When clicking on the link you provided on the other chat, this time, it briefly showed the page, then went directly to 502 Bad Gateway. This is what I see in Network just before page started to load: When refreshing, the page loads as normal. Thanks, Samuel
×
×
  • Create New...