GetSurveyName
4 min
returns the survey id associated with the survey name syntax getsurveyname(surveyname) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes business rules editing rules yes1 business rules initialization rules yes business rules read only rules no business rules required rules yes1 business rules validation rules yes client expressions no object permissions no services yes ldap yes mobile yes quick actions (except ui quick actions) yes ui quick actions no reports yes search/dashboard without field references yes search/dashboard with field references no 1 except when this field appears on a form or is triggered by such a field parameters parameter description surveyname the name of a survey to see the default survey name, go to the configuration console and click build > global constants and look for the defaultsurveyname constant return value unicode text value example the application sends surveys automatically to certain users based on a business rule to set the default survey name, open the notification workflow block for the survey in the properties area, in the body area, click the source edit icon to view the message in html format as seen below in the following sample the getsurveyname references the global constant in this case, the global constant name is defaultsurveyname \<font size="3">hi $(profilefullname),\</font>\<br>\<br>\<font size="3">please spend a few minutes to fill out the following survey the feedback you provide\ will be used to improve our level of service \<br>\</font>\<font size="2">\<br>\</font>\<font size="3">\<a href="$(getsurveyurl())\&survey name=$( getsurveyname (\"defaultsurveyname\"))\&customer id=$(getapplicationid())\&ot=incident\&oid=$(recid)\&page index=0">click here to fill out survey\</a>\</font>\<br>\<br>\<font size="3">thank you \<br>\<br> service desk\</font>
