Steven Boardman Posted November 18, 2016 Share Posted November 18, 2016 Hi @Dan Munns You can include the URL in the content of say the Details Param for the task in the json.conf file and this should be fine - see an example extract from a json.conf file below, where i have put in bold the content of the task details (1) and included a link to the BBC Website. { "Enabled":true, "CronSchedule":"0 * * * *", "ScheduleFrom":"2016-11-16T00:00:00.000Z", "ScheduleTo":"2017-01-01T00:00:00.000Z", "Service":"task", "API":"taskCreate2", "APIParams":{ "0": { "Type":"Content", "Parameter":"title", "Content":"Daily Back Up Checks Comms" }, "1": { "Type":"Content", "Parameter":"details", "Content":"Do the Following - https://www.bbc.co.uk" }, "2": { "Type":"Content", "Parameter":"category", "Content":"Morning Checks" }, "3": { "Type":"Content", "Parameter":"dueDate", "Content":"nowPlus::4::hours" }, "4": { "Type":"Content", "Parameter":"assignTo", "Content":"urn:sys:user:grahamc" }, "5": { "Type":"Open", "Parameter":"outcome" }, "6":{ "Type":"Content", "Parameter":"outcome", "Content":"Passed" }, "7":{ "Type":"Open", "Parameter":"displayName" }, "8":{ "Type":"Content", "Parameter":"text", "Content":"Passed" }, "9":{ "Type":"Close", "Parameter":"displayName" }, "10":{ "Type":"Content", "Parameter":"buttonColor", "Content":"success" }, "11":{ "Type":"Content", "Parameter":"requiresReason", "Content":"false" }, "12": { "Type":"Close", "Parameter":"outcome" }, "13": { "Type":"Open", "Parameter":"outcome" }, "14":{ "Type":"Content", "Parameter":"outcome", "Content":"Failed" }, "15":{ "Type":"Open", "Parameter":"displayName" }, "16":{ "Type":"Content", "Parameter":"text", "Content":"Failed" }, "17":{ "Type":"Close", "Parameter":"displayName" }, "18":{ "Type":"Content", "Parameter":"buttonColor", "Content":"danger" }, "19":{ "Type":"Content", "Parameter":"requiresReason", "Content":"true" }, "20": { "Type":"Close", "Parameter":"outcome" }, "21": { "Type":"Content", "Parameter":"remindAssignee", "Content":"false" }, "22": { "Type":"Content", "Parameter":"remindOwner", "Content":"false" }, "23": { "Type":"Content", "Parameter":"extra", "Content":"{\"checkLists\":[{\"value\":\"To Do\",\"children\":[{\"value\":\"Comms Room\",\"checked\":false,\"$$hashKey \":\"object:1006\"},{\"value\":\"DR\",\"checked\":false,\"$$hashKey\":\"object:1014\"},{\"value\":\"Server Room\",\"checked \":false,\"$$hashKey\":\"object:1022\"}],\"$$hashKey\":\"object:993\"}],\"files\":[]}" } } } The result of this when i run the API scheduler and the TaskCreate2 API is executed is as follows, with a clickable link in the task description With the defined outcome buttons behind the Complete button as below, and in my example above i have set it so if failed is selected a reason is then mandatory to be provided but not if the check and outcome was Passed - obviously this type of config is entirely up to you. If you were looking to put hyperlinks into the individual checklist items on a task, it doesn't look like we support that, but hopefully having them in the details of the task works for you? Steve Link to comment Share on other sites More sharing options...
Dan Munns Posted November 18, 2016 Share Posted November 18, 2016 Thanks @steven boardman, I was hoping to put them into the checklists but this works just as well. Thanks again, Dan Link to comment Share on other sites More sharing options...
Tina.Lapere Posted November 23, 2016 Share Posted November 23, 2016 @steven boardman, lovely thank you for the update - I've passed this onto colleagues :-) Link to comment Share on other sites More sharing options...
Gerry Posted November 23, 2016 Share Posted November 23, 2016 @Dan Munns I dont think you need to do anything other than include the URL in the text description, the UI will recognise it and make it a clickable link, you dont need any special markup. Gerry Link to comment Share on other sites More sharing options...
Ralf Peters Posted November 28, 2016 Share Posted November 28, 2016 Hi @steven boardman , "Type":"Content", "Parameter":"extra", "Content":"{\"checkLists\":[{\"value\":\"To Do\",\"children\":[{\"value\":\"Ash Room\",\"checked\":false,\"$$hashKey \":\"object:1006\"},{\"value\":\"Oak Room\",\"checked\":false,\"$$hashKey\":\"object:1014\"},{\"value\":\"Hawthorn Room\",\"checked \":false,\"$$hashKey\":\"object:1022\"}],\"$$hashKey\":\"object:993\"}],\"files\":[]}" in your example above what is the significance of the object:xxxx , i wanted to use your example as a base but i need more check boxes . and does the crontab work as "normal" so "CronSchedule":"0 * * * 2,4", would run every Tuesday and Thursday Thanks Ralf Link to comment Share on other sites More sharing options...
Steve G Posted November 29, 2016 Share Posted November 29, 2016 Hi @Ralf Peters The ,\"$$hashKey\":\"object:xxxx\" values are not required by the taskCreate2 API, these are object identifiers added by the Hornbill web application framework and not used by the API. So your example above could be re-written as: "Type":"Content", "Parameter":"extra", "Content":"{\"checkLists\":[{\"value\":\"To Do\",\"children\":[{\"value\":\"Ash Room\",\"checked\":false},{\"value\":\"Oak Room\",\"checked\":false},{\"value\":\"Hawthorn Room\",\"checked\":false}]}],\"files\":[]}" With regards to the CronSchedule parameter, this accepts any standard Cron expression. So in your example, this would raise a task every hour on the hour on Tuesdays and Thursdays. Kind regards, Steve 1 Link to comment Share on other sites More sharing options...
Kelvin Posted January 3, 2017 Share Posted January 3, 2017 @steven boardman Is there any further update on this? On 16/11/2016 at 8:31 PM, steven boardman said: Hi @Tonyo @jbrown @Kelvin @Michael Sharp @Tina.Lapere @Ralf Peters An update on where we are with the introduction of the scheduling of automated re-occurring activities. We are looking to have this available in the next 4-6 weeks (subject to any unexpected challenges / issues etc). Just to clarify this will be providing the ability to configure the scheduling for the reoccurrence of the activities functionality of Hornbill, not the scheduling of Incidents, Changes etc. Morning checks, and regular maintenance etc would fall under the activities umbrella compared to break / fix (Incident) or Request Fulfilment (Service Requests) etc, and the introduction of this will now provide the ability for these activities to be automated and not reliant on the manual use of the follow up options which are currently available. Once this is released i will post back here and make all aware. In the meantime if there are any urgent requirements to automate the creation of activities or in fact Incidents / Service Requests etc, we have provided an API Scheduler Utility which will allow you to define a schedule for the creation of activities and requests through our API's, in fact this can be used to schedule any of the Hornbill API's. This will involve some more advanced understanding of our API's and how to structure / define there Params but maybe something you wish to explore. More information about this utility and where you can download it etc are available on the wiki here: https://wiki.hornbill.com/index.php/API_Scheduler In the case of activities, this utility will allow you to define all of the parameters such as title, category, owner, outcomes, due dates etc and schedule the creation of these say hourly, or daily at specific times, once a year etc. In the case of requests, the utility will allow you to define Summary, Description, Source, Owner, Customer, Priority etc parameters. You can also define the Service which it will be raised against, which will allow you to then automatically spawn the Business Process linked to the Service of the Request type, and this can be used to manage more advanced routing requirements, use of service level timers, suspend operations, task creation etc against the requests raised through this utility. This utility utilises API Keys, and these can be created via the admin tool and via the User Accounts you wish to use, under System > Organisation Data > Users I hope this helps clarify where we currently are. Thanks Steve 1 Link to comment Share on other sites More sharing options...
Gerry Posted January 3, 2017 Share Posted January 3, 2017 @Kelvin I am afraid this is still work in progress, we have had to do some other important works under the hood which have taken priority for now. We are currently working on the "events" system, this is the area thats responsible for automated screen updates when things change, this work is primarily for email and tasks functionality so needs to be completed first, but has turned out to be a bit more complex than originally though. So I expect we have another 4-5 weeks to go. But do be assured its being worked on. Gerry Link to comment Share on other sites More sharing options...
Kelvin Posted January 3, 2017 Share Posted January 3, 2017 @Gerry Thanks for the update 1 Link to comment Share on other sites More sharing options...
Dan Munns Posted March 14, 2017 Share Posted March 14, 2017 Hi @Gerry Any movement on this yet? Thanks Link to comment Share on other sites More sharing options...
Gerry Posted March 14, 2017 Share Posted March 14, 2017 Hello @Dan Munns No change as yet I am afraid, its still on the list and we will get to to it. Just so we are on the same page here, I am talking about the scheduling of "Task" (or Activity) creation, not requests. [edit] just had a look at the other backlog items, we should be able to get this done in the next 3-4 weeks, I will post with an update when its on the cutting room floor. Gerry Link to comment Share on other sites More sharing options...
Dan Munns Posted March 14, 2017 Share Posted March 14, 2017 Yes so basically replacing the API scheduler with an included GUI interface rather than an external app. That's cool, thanks for the update. Link to comment Share on other sites More sharing options...
Gerry Posted March 14, 2017 Share Posted March 14, 2017 @Dan Munns Yes thats correct, the API scheduler is an example of how to schedule ad-hoc things and the power of Hornbills API, as was suggested as a work-around while we do not have this function implemented. Gerry Link to comment Share on other sites More sharing options...
Steve Giller Posted April 6, 2017 Share Posted April 6, 2017 As we're bringing Facilities online over the next few weeks, I thought I'd bump this post as this is a function they want to rely on quite heavily, and I don't want to be building an API scheduler job for every Request they want to automate - and they simply don't have the technical knowledge to allow me to hand that kind of thing over. Link to comment Share on other sites More sharing options...
Gerry Posted April 6, 2017 Share Posted April 6, 2017 @DeadMeatGF Steve, we will be looking at this in the next couple of weeks, once the underlying function has been built our UI techs will need to make it usable by mere mortals I will post here once we have something concrete to share. Gerry Link to comment Share on other sites More sharing options...
Steve Giller Posted April 6, 2017 Share Posted April 6, 2017 Thanks for the update @Gerry Link to comment Share on other sites More sharing options...
chrisnutt Posted June 13, 2017 Share Posted June 13, 2017 Hi All, @Gerry , is there any update on this? I've just been asked by our infrastructure team if it is possible as they want to use it when we migrate from Supportworks. I've shown them how to do it in Supportworks with a scheduled call, and to go back to them to say the new system is incapable of doing anything similar will damage the enthusiasm/buy-in I am trying to build with them for the new platform. Thanks in advance. Chris Link to comment Share on other sites More sharing options...
James Ainsworth Posted June 13, 2017 Share Posted June 13, 2017 Hi @chrisnutt I just wanted to check with you around your requirements. The main topic here has been about providing re-occurring scheduled activities rather than scheduling a request. These re-occurring tasks/activities could be used for things like regular maintenance checks or other work related tasks that need to be repeated. In Supportworks the scheduling of requests was used as an alternative to activities to fill some gaps there were not available in the Supportworks tasks. Hornbill provides some great views for working with activities/tasks such as calendars and Boards and also provides a number of plug-ins between tasks and other aspects of Hornbill. I would be interested to know if this fits what you are looking for. Regards, James Link to comment Share on other sites More sharing options...
chrisnutt Posted June 14, 2017 Share Posted June 14, 2017 Hi James, Thanks. I was hoping to find something similar to scheduled calls/requests when I found the thread, but understand the shift to activities. The scheduling of these to occur automatically at set times fits exactly with what I need. When reading the thread, I saw that this was in the pipeline but seems to have had some delays so was hoping to find out if there was any news. The main thing I (and my colleagues) are after is the ability to set an activity to repeat at regular intervals. I think someone used the example of regular backups and we'd like to do the same. We would want a regular activity to appear every Monday that said "Check Weekend backups" and one on Tuesday to Friday that says "Check overnight backups". Also, I know the infrastructure manager would jump at the chance of getting a scheduled activity for checking the AV console. Some of the other examples mentioned in this thread are things we would want to do too as well as many others which I won't bore you with! Thanks Chris Link to comment Share on other sites More sharing options...
Tina.Lapere Posted June 14, 2017 Share Posted June 14, 2017 @James Ainsworth, I'd also be interested in an update on this as it was logged on the forum a year ago now, however this is something we flagged when we were looking to implement Service Manager back in 2015 and it was said that it would be looked at back then. I appreciate there are multiple things your working on at the moment but it's a little disappointing that there is still no progress from 2015. Link to comment Share on other sites More sharing options...
Gerry Posted June 14, 2017 Share Posted June 14, 2017 Just by way of an update. The core API's and scheduling function is now in the works and being implemented, this will be done very soon, maybe as soon as this week, that will give our application teams the tools they need to implement the scheduling function for Tasks. Further good news is this is being implemented in a very generic way so in the future it would be possible to schedule almost anything that these is an API to do. If you are coming along to this months Hornbill Insights Event 2017 (28th of this month) then you might even get to see an early preview of it working along side some great automation stuff we have lined up for you. https://www.hornbill.com/insights17-agenda/ Gerry Link to comment Share on other sites More sharing options...
chrisnutt Posted June 15, 2017 Share Posted June 15, 2017 19 hours ago, Gerry said: Just by way of an update. The core API's and scheduling function is now in the works and being implemented, this will be done very soon, maybe as soon as this week, that will give our application teams the tools they need to implement the scheduling function for Tasks. Further good news is this is being implemented in a very generic way so in the future it would be possible to schedule almost anything that these is an API to do. If you are coming along to this months Hornbill Insights Event 2017 (28th of this month) then you might even get to see an early preview of it working along side some great automation stuff we have lined up for you. https://www.hornbill.com/insights17-agenda/ Gerry Thanks for the update, @Gerry . I won't be able to attend the event but will keep an eye out for its release Chris Link to comment Share on other sites More sharing options...
Tina.Lapere Posted June 16, 2017 Share Posted June 16, 2017 @Gerry, thank you for the update that's fantastic news. I must have missed out on the event details - where is it being held? Link to comment Share on other sites More sharing options...
Steven Boardman Posted June 16, 2017 Share Posted June 16, 2017 @Tina.Lapere We are holding the event on the 28th at: DoubleTree Hilton West End 92 Southampton Row London WC1B 4BH I have asked for the details to be emailed to you so you can review and register formally if you are able to attend Link to comment Share on other sites More sharing options...
Gerry Posted June 16, 2017 Share Posted June 16, 2017 @Tina.Lapere Your welcome. We are just looking into why you have not received an invitation, we sent via email and you would have been on the list. As I mentioned we are now working on the scheduling requirement but we have other commitments so we may not have anything physically to show around scheduling although we will be able to talk about it. I dont want you to come along just for that one thing and then be disappointed. Gerry Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now