Plug-in (Function & Smart Service)Free

Process Model Details

by Vass

Description

In some projects you may want to get the details of a process model from a constant (of a Process Model) to list information or get the id from an UUID to start a process model (if you store somewhere the UUID, ie database)

One of our use cases is list all the process models you can "admin" (from a constant of multiple PM values).

Features

Expression Functions included

getpmdetails(text processModelUUIDOrId): @param text processModelUUIDOrId: ID or UUID of the process model @return ProcessDetails: cdt with name, description, id, UUID, creator, modifiedBy, createdOn, modifiedOn attributes.

getpmlistdetailsbyid(Long[] ids): Retrieves the attributes of the process models @param List of Number (Integer) ids: array/list of process model ids. @return List of ProcessDetails: list of cdts with name, description, id, UUID, creator, modifiedBy, createdOn, modifiedOn attributes.

getpmlistdetailsbyuuid(String[] uuids): Retrieves the attributes of the process models @param List of Text (String) ids: array/list of process model uuids. @return List of ProcessDetails: list of cdts with name, description, id, UUID, creator, modifiedBy, createdOn, modifiedOn attributes.

Release notes

Refactored getpmdetails to be more efficient (10x quicker in our tests)

Added two new functions: getpmlistdetailsbyid(Long[] ids): Retrieves the attributes of the process models @param List of Number (Integer) ids: array/list of process model ids. @return List of ProcessDetails: list of cdts with name, description, id, UUID, creator, modifiedBy, createdOn, modifiedOn attributes.

getpmlistdetailsbyuuid(String[] uuids): Retrieves the attributes of the process models @param List of Text (String) ids: array/list of process model uuids. @return List of ProcessDetails: list of cdts with name, description, id, UUID, creator, modifiedBy, createdOn, modifiedOn attributes.

Version history (1)

1.0.0

[MIGRATED] Retrieves the attributes of the process model getpmdetails(processModelUUIDOrId) Returns: ProcessDetails processModelUUIDOrId (Text): ID or UUID of the process model