This is a list of the Data types whose initial values can be automatically set to dynamic values at the start of a process. The formats and input samples that can be used to specify the initial value are also listed here.
String-type
Variables | Format | Assignment Value |
---|---|---|
App ID (System variables) |
#{processModelInfoId} | 12 |
App Name | #{processModelInfoName} | Inquiry Management |
Process ID (System variables) |
#{processInstanceId} | 12345 |
p#{processInstanceId} | p12345 | |
#{#sformat('%d', processInstanceId)} | 12345 | |
#{#sformat('%04d', processInstanceId)} '%04d' (decimal notation plus 4 zero (0) padding digits) is processing to make it 4 characters by adding '0'. |
12345 | |
#{#sformat('%06d', processInstanceId)} | 012345 | |
Process Sequence number (App variable) |
#{processInstanceSequenceNumber} | 67890 |
#{#sformat('%06d', processInstanceSequenceNumber)} | 067890 | |
xyz#{#sformat('%06d', processInstanceSequenceNumber)} | xyz067890 | |
Process Start Datetime (System variables) |
#{processInstanceStartDatetime} | 2020-03-14 23:45 |
#{#format(processInstanceStartDatetime, 'dd.MM.yyyy HH:mm (E) Z')} | 14.03.2012 23:45 (Wed) -0500 | |
#{#format(processInstanceStartDatetime, 'M.yy')} | 3.12 | |
Process Start User (System variables) |
#{processInstanceInitQuserName} | SUZUKI Ichiro |
Process Start Organization (System variables) |
#{processInstanceInitQgroupName} Initial value is not set if the Process Start User who operates the first Task is affiliated with multiple Organizations. |
Sales |
Other Functions | #{#randomString(12)} |
pJBAzTDft8wT (12 alphanumeric characters: [0-9a-zA-Z]{12}) |
#{#sha256(processInstanceInitQuserName)} | (Hash String) |
- #format(): format() method of "java.text.SimpleDateFormat"
- #sformat(): format() method of "java.lang.String"
Numeric-type
Variables | Format | Assignment Value |
---|---|---|
App ID (System variables) |
#{processModelInfoId} | 12 |
Process ID (System variables) |
#{processInstanceId} | 12345 |
Select-type
Dynamic iInitial value not available
Date-type/Date Time-type
Variables | Format | Assignment Value |
---|---|---|
Process Start Datetime (System variables) |
processInstanceStartDatetime (Different from Datetime-type) Date-type does not hold time/minute information. If assigned to a Deadline it will work at 23:59 that day. Assigned to a Timer Intermediate Event it will work at 00:00. |
2020-03-14 23:45 |
processInstanceStartDatetime.addMinutes(30) ※ 30 minutes after the Process Started |
2020-03-15 00:15 | |
processInstanceStartDatetime.addHours(2) ※ 2 hours after the Process Started |
2020-03-15 01:45 | |
processInstanceStartDatetime.addDays(3) ※ 3 days after the Process Started |
2020-03-17 23:45 | |
processInstanceStartDatetime.addMonths(-4) ※ 4 months before the Process Started |
2019-11-14 23:45 | |
processInstanceStartDatetime.addMonths(1).getFirstTimeInMonth() ※ The first day of the month after the Process Started |
2020-04-01 00:00 | |
processInstanceStartDatetime.addMonths(1).getLastTimeInMonth() ※ The last day of the month after the Process Started |
2020-04-30 23:59 | |
processInstanceStartDatetime.addDays(1).getFirstTimeInDate().addHours(9) ※ 9 o'clock in the morning the day after the Process Started |
2020-03-15 09:00 |
File-type
Initial value not available
User-type
Variables | Format | Assignment Value |
---|---|---|
Process Start User (System variables) |
You can specify the 'Process Start User' | SUZUKI Ichiro |
Organization-type
Variables | Format | Assignment Value |
---|---|---|
Process Start Organization (System variables) |
You can specify the 'Process Start Organization' Initial value is not set if the Process Start User who operates the first Task is affiliated with multiple Organizations. |
Sales |
Discussion-type
Initial value not available
Table-type
Initial value not available
Guide Panel-type
Initial value not available
(Title)
'Title' complies with "String-type (single line)"
Comments
0 comments
Article is closed for comments.