multiValue=${someVariable} in workflow form
Hey all,
Has anyone run across a way to dynamically assign a value to the multiValue or proposedFixed form values?
I’m creating a re-usable user/role selection subprocess workflow, and want to be able to accommodate the need of the calling workflow’s needs to optionally specify single or multiple users, or the possibility of a selection from a predefined proposedValuse list. Problem is, multiValue and proposedFixed don’t seem to work like the other form variables.
<userTask id="selectUsers_usertask" name="${taskTitle}" activiti:candidateUsers="user(${startUser})"> <documentation>${instruction}</documentation> <extensionElements> <activiti:formProperty id="immutableList" name="${immutableLabel}" type="user" writable="false"> <activiti:value id="multiValue" name="true"></activiti:value> </activiti:formProperty> <activiti:formProperty id="mutableList" name="${mutableLabel}" type="user"> <activiti:value id="multiValue" name="${isMultiValue}"></activiti:value> <activiti:value id="proposedFixed" name="${selectOnlyFromProposedUsers}"></activiti:value> <activiti:value id="proposedUsers" name="${proposedUsers}"></activiti:value> <activiti:value id="helpText" name="${selectionHelpText}"></activiti:value> </activiti:formProperty> <activiti:formProperty id="nextButton" name="${nextButtonLabel}" type="button"></activiti:formProperty> <activiti:formProperty id="backButton" name="${backButtonLabel}" type="button"></activiti:formProperty> </extensionElements>
Am I missing something?
Tom Friesen
Posted 4 years ago · Edited 1 year ago·Last reply 4 years ago
1 comment
Alexandra Jorgenson
Admin4 years ago · Edited@tom.friesen I asked Support and unfortunately “there is no support for expressions for this field so this would need to be a feature request”. Ideation portal here. @ann.wuyts, FYI.