Difference between revisions of "Utilities Integration Bridge"

From Hornbill
Jump to navigation Jump to search
 
(68 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Utilities (Cloud Automation)}}
+
This document can now be found at its new location in the [https://docs.hornbill.com/ibridge-packages/welcome Hornbill Document Library].
{{breadcrumb|[[Main Page|Home]] > [[Integration]] > [[Business Process Automation & Orchestration]] > [[Hornbill iBridge]] > Utilities|Integration}}
 
{{Section|
 
==Introduction==
 
[[file:CloudAutomationUtility.mp4|800px|border|right]]A Utility for date format conversions and a password generator have been provided as part of the Cloud Automations that can be used within a BMP or AutoTask workflow.
 
<br>
 
Within the workflow designer, when adding a new node, select the option for Cloud Automation. No authentication or licensing is required to access and use these utilities.
 
<br><br>
 
'''Adding a Utility to a Workflow'''
 
* Add a Cloud Automation node to your workflow
 
* Access the properties of that node
 
* On the Method field, select edit button to view the available integrations
 
* Find ''Utilities'' within the list
 
* Expand and select the automation that you wish to use.
 
|
 
{{rightBox|Related Articles|
 
:* [[Hornbill iBridge]]
 
:* [[Hornbill_iBridge#Premium_Integrations|Premium Integrations]]
 
:* [[Hornbill_KeySafe|KeySafe]]
 
:* [[Integration Call]]
 
:* [[Business_Process_Designer|Business Process Designer]]
 
}}
 
}}
 
  
{{Section|
+
    [[file:hornbill-document-library.png|iBridge Package Reference|link=https://docs.hornbill.com/ibridge-packages/welcome]]
==Current Day==
+
[[Category:HDOC]]
[[file:currentdayCA.png|right|400px]]Retrieves the current day of the week and stores it in a variable which can be used in other BPM Automations or decision nodes.
 
 
 
There are no parameters to configure with the node. Simply added where needed and then use the Output Parameter with decision nodes or to update a record with the day.
 
 
 
{{bullet1|Response Parameter|&[global["UtilitiesCurrentDay"]["day"]]}}
 
{{bullet1|Possible values|Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday}}
 
 
'''Example Use:'''
 
 
 
::Prior to a Service Manager Request Assignment node, you may want to check the day of the week.  If it is a Saturday or Sunday you could take the decision to assign to a team that covers weekends.
 
[[file:currentdayexpression.png|center]]
 
|}}
 
{{TOP}}
 
{{Section|
 
==Date Formatter==
 
[[File:Date_Formatter_Example.PNG|400px|right|<div align="center">'''Example iBridge Utility operation converting from the format "Y-m-d H:i:s" (e.g. 2019-01-03 06:43:21) to "d-m-Y" (e.g. 03-01-2019)'''</div>]]
 
:: Lets you take the format of one date and convert it to another format.  This is stored in a variable which can then be used in other BPM Operations. A common example is given in the image opposite but if you prefer a different format, the following reference will be useful: [https://www.php.net/manual/en/datetime.format.php '''Date Format Characters''']. This reference outlines the list of characters that can be used when defining your output format.
 
 
 
{{bullet1|Date|Most commonly, the variable picker will be used to get a date/time that is stored in a date/time field within Hornbill or it has been collected using Intelligent Capture.}}
 
{{bullet1|Input Format|Hornbill stores Date and Time in UTC format.  This can be represented using "Y-m-d H:i:s"}}
 
::::'''Y''' - A full numeric representation of a year, at least 4 digits (1999,2003, 2022)
 
::::'''m''' - Numeric representation of a month, with leading zeros (01 through 12)
 
::::'''d''' - Day of the month, 2 digits with leading zeros (01 to 31)
 
::::'''H''' - 24-hour format of an hour with leading zeros (00 through 23)
 
::::'''i''' - Minutes with leading zeros (00 to 59)
 
::::'''s''' - Seconds with leading zeros (00 through 59)
 
{{Bullet1|Output Format|Provide a format that you would like to convert the Date to using [https://www.php.net/manual/en/datetime.format.php '''Date Format Characters'''].  For example, if you only required the date and not the time you would have ''Y-m-d''}}
 
|}}
 
==Get Date Difference==
 
Returns the difference between two date/time stamps, in days, hours, minutes and seconds. In addition to this, it also provides a yes/no outcome for when the second time stamp is before the first time stamp.
 
 
 
 
 
==Get Day of Week==
 
Hornbill Integration method for returning the day of the week for the specified timestamp
 
==Get Next Date==
 
:: Lets you set a day of the week and the operation will return the date that this day falls on.  This is stored in a variable which can then be used in other BPM Operation
 
==Get Timestamp==
 
:: Lets you return a timestamp which is x days, hours, minutes before or after an existing timestamp.  This is useful for generating a future date / time to use in other business process operations.
 
==Password Generator==
 
:: A password generator tool to provide temporary passwords for users.
 
 
 
Read more about using the '''[[Integration Call]]''' from the Related Articles section, and learn how to work with input and output parameters for each of the Hornbill options.
 
 
 
 
 
[[Category:Integration]]
 

Latest revision as of 19:52, 11 April 2024

This document can now be found at its new location in the Hornbill Document Library.

   iBridge Package Reference