I am not getting error at fs:exists.
It is at touchz command that i am getting error.

On Mon, Apr 10, 2017 at 4:11 PM, Per Ullberg <[email protected]> wrote:

> Have you tried:
>
> ${fs:exists(success_file)}
>
> or possibly
>
> ${fs:exists(wf:conf('success_file')}
>
> regards
> /Pelle
>
> On Mon, Apr 10, 2017 at 12:28 PM, Kashif Hussain <[email protected]>
> wrote:
>
> > Hi,
> >
> > Follwing are parts of my workflow.xml :
> >
> > -------------------
> > <configuration>
> >                 <property>
> >                  <name>success_file</name>
> >                  <value>${DataPath}/aggStatus/${today}</value>
> >                 </property>
> >           </configuration>
> >
> > --------------------------------------------
> >                 <start to="checkAggStatus"/>
> >
> >                 <decision name="checkAggStatus">
> >                         <switch>
> >
> >                         <case to="end">
> >               ${fs:exists('${success_file}')}
> >             </case>
> >
> >                         <default to="AggregateResponeData"/>
> >                          </switch>
> >                 </decision>
> >
> > ----------------------------------------------------
> > <fs>
> >             <touchz path='${success_file}'/>
> >         </fs>
> >
> > I am getting "EL_ERROR variable [success_file] cannot be resolved " at
> the
> > touchz command but not at fs:exists.
> > Why is it so ?
> >
> > I have tried without quotes,with quotes or with double quotes.But nothing
> > seems to work.
> > Please help.
> >
> > Regards,
> > Kashif
> >
>
>
>
> --
>
> *Per Ullberg*
> Data Vault Tech Lead
> Odin Uppsala
> +46 701612693 <+46+701612693>
>
> Klarna AB (publ)
> Sveavägen 46, 111 34 Stockholm
> Tel: +46 8 120 120 00 <+46812012000>
> Reg no: 556737-0431
> klarna.com
>

Reply via email to