After creating a process you will have the ability to use the drag and drop functionality to add on your canvas actions from the Platform actions section.
The folder contains actions that can be used while working with dates:
- - Returns the week number for the given date. The week number indicates where the week falls numerically within a year.
- - Displays a string that represent the current date.
- - Verify if it's weekend, by giving the date. Returns true or false.
- - Verify if it's working day, by giving the date.
- - Displays an integer that represents the day of the week, by giving the date.
- - Displays the current UTC.
- - Returns the day of the date which was input by the user.
- - Returns the month of the date which was input by the user.
- - Returns the date after being modified by the user input.
- - Returns the hours of the time interval which was input by the user.
- - Returns the minutes of the time interval which was input by the user.
- - Returns the year of the date which was input by the user.
- - Returns the difference between the second and the first date.
- - Returns the difference between the second time interval and the first time interval.
You can create your own custom actions by using . The code used to create the Custom Actions above can be found here.
To use any of them inside your process you will need to configure it after adding it to the canvas.
1. Drag the action on the canvas.
3. Create a variable of type Boolean by clicking .
4. Add a date to the Input Date section and the variable you just created as presented in the Is it weekend* section.