The information in this article applies to:
Product: Metastorm BPM
Version: 7
Issue
- When a drop-down field is selected on a form, the formula for the options is displayed rather than the options themselves.
Resolution
This is a known issue.
This behavior is seen when the formula begins with a parenthesis. The workaround is to add %Evaluate to the list options formula.
Incorrect:
(( ((integer)%SelectSQL("SELECT COUNT(\*) FROM eAssignment
WHERE (eAssignment.eUserName = '%User.Name') AND (eAssignment.eRoleName = 'ework Administrator') ") > 0) )
?("%GetData(,eProcedure," (eProcedureType = 'epc') OR (eProcedureType = 'xep') ","eProcedureName")")
"%GetData(,eProcedure," (eProcessOwner = '%User.Name') AND ((eProcedureType = 'epc') OR (eProcedureType = 'xep'))","eProcedureName")"))
Correct:
%Evaluate((( ((integer)%SelectSQL("SELECT COUNT(\*) FROM eAssignment
WHERE (eAssignment.eUserName = '%User.Name') AND (eAssignment.eRoleName = 'ework Administrator') ") > 0) )
?("%GetData(,eProcedure," (eProcedureType = 'epc') OR (eProcedureType = 'xep') ","eProcedureName")")
"%GetData(,eProcedure," (eProcessOwner = '%User.Name') AND ((eProcedureType = 'epc') OR (eProcedureType = 'xep'))","eProcedureName")")))