Please rate how useful you found this document:
- 1. Overview
- 2. Process Functions
- 3. Task Functions
- 4. Dynaform and Field Functions
- 5. Case Functions
- 6. Case Routing Functions
- 7. Case Notes Functions
- 8. User Functions
- 9. Group Functions
- 10. Email Functions
- 11. Document Functions
- 12. Unique ID Functions
- 13. Date Functions
- 14. String Functions
- 15. Database Functions
- 16. Grid Functions
Process Functions
PMFProcessList()
PMFProcessList()
returns a list of processes in the current workspace.
Parameters:
None.
Return Value:
An array of associative arrays that contain the unique ID and processes titles. The array has the following structure:
Where:
- string guid: The unique ID of a process.
- string name: The process title.
Example:
@@ArrayProcesses = PMFProcessList();
PMFGetProcessUidByName()
PMFGetProcessUidByName()
retrieves the UID of a process.
Parameters:
- string processName: The name of the process.
Return Value:
- With parameter: returns the unique ID of the process name.
- Without parameter: returns the unique ID of the current process.
Example without parameter:
@@UIDProcess = PMFGetProcessUidByName();
Example with parameter:
@@UIDProcess = PMFGetProcessUidByName("Purchase Process");