Skip to content

Plan Icon Ultimate

Web Function

A Web Function is a way to provide custom functionality to the Mobile2b Flow System through an HTTP resource.

With Web Functions, you can extend the built-in Flow capabilities with any custom logic you can come up with.

To get started with implementing your own Web Functions, feel free to use the open-source Web Function SDK for Java.

Mobile2b offers some Web Functions that can be used using the Mobile2b REST API.

Web Function Description URL
Gron Generation Converts date/time inputs into a Cron string {API_BASE}/functions/cron-generation
Date Time Concatenation Concat a date and a time to a timestamp {API_BASE}/functions/date-time-concatenation
RTF Remover Removes the Rich Text Format (RTF) from an input string {API_BASE}/functions/rtf-remover
String Hashing Creates a hash of a text based on a defined algorithm. Supported algorithms are BCrypt, SHA256, and SHA512 {API_BASE}/functions/string-hashing
String Trimming Removes control characters such as whitespaces from both ends of a text {API_BASE}/functions/string-trimming
User/Group Evaluation Determines whether a selection is a user or a group of users {API_BASE}/functions/user-group-evaluation

Settings:

  • Integration*: System integration of type Web service
  • Path*: the path to service, for example /issues
  • Headers: HTTP headers, for example "My-Custom-Header: some_value"

See Flow Designer