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
- App ID (System variables))
- Format:
#{processModelInfoId}- Assignment Value: 12
- Format:
- App Name
- Format:
#{processModelInfoName}- Assignment Value: Inquiry Management
- Format:
- Process ID (System variables)
- Format:
#{processInstanceId}- Assignment Value: 12345
- Format:
p#{processInstanceId}- Assignment Value: p12345
- Format:
#{#sformat('%d', processInstanceId)}- Assignment Value: 12345
- Format:
#{#sformat('%04d', processInstanceId)}
'%04d' (decimal notation plus 4 zero (0) padding digits) is processing to make it 4 characters by adding '0'.- Assignment Value: 12345
- Format:
#{#sformat('%06d', processInstanceId)}- Assignment Value: 012345
- Format:
- Process Sequence number (App variable)
- Format:
#{processInstanceSequenceNumber}- Assignment Value: 67890
- Format:
#{#sformat('%06d', processInstanceSequenceNumber)}- Assignment Value: 067890
- Format:
xyz#{#sformat('%06d', processInstanceSequenceNumber)}- Assignment Value: xyz067890
- Format:
- Process Start Datetime (System variables)
- Format:
#{processInstanceStartDatetime}- Assignment Value: 2012-03-14 23:45
- Format:
#{#format(processInstanceStartDatetime, 'dd.MM.yyyy HH:mm (E) Z')}
The time zone is set to the system time zone of the workflow platform.- Assignment Value: 14.03.2012 23:45 (Wed) -0500
- Format:
#{#format(processInstanceStartDatetime, 'M.yy')}- Assignment Value: 3.12
- Format:
- Process Start User (System variables)
- Format:
#{processInstanceInitQuserName}- Assignment Value: SUZUKI Ichiro
- Format:
- Process Start Organization (System variables)
- Format:
#{processInstanceInitQgroupName}
If the Process Start User can process the top Task in multiple positions, the Process Start Organization will not be set as the default value- Assignment Value: Sales
- Format:
- Other Functions
- Format:
#{#randomString(12)}- Assignment Value:pJBAzTDft8wT
(12 alphanumeric characters: [0-9a-zA-Z]{12})
- Assignment Value:pJBAzTDft8wT
- Format:
#{#sha256(processInstanceInitQuserName)}- Assignment Value: (Hash String)
- Format:
- #format(): format() method of "java.text.SimpleDateFormat"
- #sformat(): format() method of "java.lang.String"
Numeric-type
- App ID (System variables)
- Format:
#{processModelInfoId}- Assignment Value: 12
- Format:
- Process ID (System variables)
- Format:
#{processInstanceId}- Assignment Value: 12345
- Format:
Select-type
Dynamic iInitial value not available
Date-type/Date Time-type
- Process Start Datetime (System variables)
- Format:
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.- Assignment Value: 2020-03-14 23:45
- Format:
processInstanceStartDatetime.addMinutes(30)
※ 30 minutes after the Process Started- Assignment Value: 2020-03-15 00:15
- Format:
processInstanceStartDatetime.addHours(2)
※ 2 hours after the Process Started- Assignment Value: 2020-03-15 01:45
- Format:
processInstanceStartDatetime.addDays(3)
※ 3 days after the Process Started- Assignment Value: 2020-03-17 23:45
- Format:
processInstanceStartDatetime.addMonths(-4)
※ 4 months before the Process Started- Assignment Value: 2019-11-14 23:45
- Format:
processInstanceStartDatetime.addMonths(1).getFirstTimeInMonth()
※ The first day of the month after the Process Started- Assignment Value: 2020-04-01 00:00
- Format:
processInstanceStartDatetime.addMonths(1).getLastTimeInMonth()
※ The last day of the month after the Process Started- Assignment Value: 2020-04-30 23:59
- Format:
processInstanceStartDatetime.addDays(1).getFirstTimeInDate().addHours(9)
※ 9 o'clock in the morning the day after the Process Started- Assignment Value: 2020-03-15 09:00
- Format:
File-type
Initial value not available
User-type
- Process Start User (System variables)
- Format: You can specify the 'Process Start User'
- Assignment Value: SUZUKI Ichiro
- Format: You can specify the 'Process Start User'
Organization-type
- Process Start Organization (System variables)
- Format: 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.- Assignment Value: Sales
- Format: You can specify the 'Process Start Organization'
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.