It was only two days later, and a Hai came again.
A Hai: The company decided to improve the management method, the applicant and the application Department for material application should write the name and department of the specific user.
Xiao Ming: Don't You want me to change back?
Hai: That is too much trouble, can you change the applicant to choose, choose good people automatically load the corresponding department information?
Xiao Ming: I read the tutorial yesterday, the applicant replaced by "participant (single)" is, but automatically loaded ...
Xiao Ming still decided to find the Mao.
Da Mao: In the Participant (single) control, there is a property "Mappingcontrols", where you can set the property mapping relationship, the system will automatically follow the map, the property is assigned to the corresponding control.
Mappingcontrols Property
Mappingcontrols Property settings
Xiao Ming: I know, how else can I let the control only select people, and the default value is the same as before?
Da Mao: Find segmentvisible,orgunitvisible,groupvisible,uservisible,postvisible in the properties of controls in the form, The Uservisible property is set to true, and all other settings are false, so you can only select people. The default value is changed to "{originator}".
Xiaoming: How is it different from before?
Da Mao: You used a text box, the default value is a string literal, now this is the object component, the default value of course to be replaced by the object!
BPM Configuration Story Case 3-participants and data automatically loaded