AnsweredAssumed Answered

Concatenating fields

Question asked by bertmartin on Mar 31, 2011
Latest reply on Mar 31, 2011 by mark
Very new to gel scripting so trying to figure some things out. I am attempting to concatenate a field with a string and I am getting an error:

My Code---
<gel:script xmlns:SOAP-ENV=""
    xmlns:sql="jelly:sql" xmlns:xsd=""        xmlns:xsi="">
<gel:setDataSource dbId="niku"/>

   <sql:query var="init_id">
   Select srm_resources.unique_name from inv_ideas inner 
   join srm_resources on inv_ideas.initiator_id = srm_resources.user_id 
   where = ?

   <sql:param value="${gel_processInstanceId}"/>

  <gel:set var="email_add" value="${init_id.rows(0).unique_name}" /> 

  <gel:email from=""
    fromName="Clarity Admin"
    This is an automatic message.  Do not respond. 

This is the error I am getting:

In gel:set, 'var' and 'value' cannot both be set