This new ProcessMaker feature makes possible to open a case inside ProcessMaker using only a link. This is a known issue that will be fixed in upcoming versions of ProcessMaker. The rest of parallel tasks will remain open. Warning: Take into consideration that when using the PMFCancelCase function in parallel tasks, ONLY the thread of the current parallel task will be canceled.
#Php maker top features code#
The following trigger code cancels the current case and uses the die() function to prevent the next step from being return = PMFCancelCase (, , ) Returns 0 if the case is in "DRAFT" status.Returns 1 if the case was successfully canceled.For the currently logged-in user, use the system variable. string userUID: The unique ID of the user who will cancel the case.For the current case, use the system variable. int delIndex: The delegation index of the current task in the case.Use the PMFCaseList(), WSCaseList() or the caseList() web service.Use the system variable to get the unique ID of the current case.string caseUID: The unique ID of the case, which can be found in the following ways:.int PMFCancelCase( string caseUID, int delIndex, string userUID) Use PMFDeleteCase for cases in "DRAFT" status that cannot be canceled. A canceled case can be reviewed in the Participated tray. PMFCancelCase() cancels a specified case in "TO DO" status. If it is necessary to execute these functions as a different user, use the corresponding WSDL Web Services or REST endpoints. These functions can be executed by user who is currently logged-in and running the case, as long as they have the correct permissions. ProcessMaker Functions are generally named PMF.() and are designed to work with ProcessMaker from inside a trigger. Many of these functions are wrappers for internal class methods used by ProcessMaker or in Gulliver, which is the development framework used by ProcessMaker. These functions are defined in the file workflow/engine/classes/. ProcessMaker has made a number of its PHP functions available to be used in triggers and conditions. PMFAssociateUploadedFilesWithInputFile().