I'm using activiti 5.9 and I want to be able to set initial value for an specific form property.

this initial value should be used when variable with given id does not exist in process, and might be overwritten when user task gets completed by user and new value will stored in process variable.

I thought that Expression is for this purpose but I couldn't do that.

有帮助吗?

解决方案

I found the answer, there's an attribute named default in activiti form properties that is used for this purpose.Older versions of Activiti Designer does not have this attribute in form properties editor, but in recent versions they added this attribute to editor.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top