Title: Getting environment variable value

Hi,
        I am trying to get a value from an environment variable, using the following tasks

        <property name="User.Name" value="${environment::get-user-name()}"  />
        <property name="Project.Name" value="${environment::get-variable(PROJECTS)}" />

        I get the following error
                Property evaluation failed.
                _expression_: ${environment::get-variable(PROJECTS)}
                                                                        ^^^^^^^^
                Property 'PROJECTS' has not been set.

        anyone know what I am doing wrong here?  I thought may be I am not setting the environment variable properly.  So I even used "SESSIONNAME" instead of projects to just check and it fails...

Thanks,
Gaja Kannan
Imaging, Workflow & BPM Architect
Genworth Financial Long Term Care - IT
Phone: 804-922-5254
Fax: 804-484-3999
Email: [EMAIL PROTECTED]

Reply via email to