Toggle menu

generateReadableId()

Description

This method generates and returns an ID in the same format as the business keys used in workflow processes, for example 6359-9492-0944-3520.

Note that identifiers are not guaranteed to be "almost unique" in the same way a UUID, although they do come from a space of 10^16 (~2^53) and are generated by a seeded random number generator.

Parameters

N/A

Example Request

function(params, credentials) {
    let resp = this.callWorkerMethod('formutils', 'generateReadableId', {});
    return resp;
}

Example Response

{
    "id": 17,
    "result": {
        "readableId": "7153-5989-0871-0896"
    },
    "jsonrpc": "2.0"
}

Last modified on August 01, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon