Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

By higgledy
#814638
Is it possible in the Community Edition, to customize the APP_NUMBER format? We want to add a two-char prefix, year, and the APP_NUMBER.
Code: Select all
prefix-yyyy-APP_NUMBER
Can this be accomplished?
By amosbatto
#814656
No, you can't to that because the APPLICATION.APP_NUMBER field in the database needs to be an integer. However, you can use the custom Case Labels to set the case's Title.

Create a trigger which is fired when the case is created with the following code:
Code: Select all
@@caseTitle =  'prefix-' . date("Y") . '-' . @@APP_NUMBER;
Then add @#caseTitle to the case's Title for the first task in the process.
By amosbatto
#815128
In the properties of the task, you can set the Case Title like this:
taskTitle.png
taskTitle.png (44.61 KiB) Viewed 375 times

【Q/微信729926040】如以删除请点网页快照,专业办理德国/法国/英国/加拿大各大学高端精仿文[…]

【Q/微信729926040】如以删除请点网页快照,专业办理德国/法国/英国/加拿大各大学高端精仿文[…]

【Q/微信729926040】如以删除请点网页快照,专业办理德国/法国/英国/加拿大各大学高端精仿文[…]

【Q/微信729926040】如以删除请点网页快照,专业办理德国/法国/英国/加拿大各大学高端精仿文[…]