Exporting variable values of javascript into a excel file through a workflow

Avatar

Avatar

Ramaswami

Avatar

Ramaswami

Ramaswami

04-06-2020

Hi Team, 

 

Can we export a calculated variable value in javascript to an excel file through a workflow - 

 

Export can be like on a local laptop OR adobe folders inside explorer. 

 

For example : In the below ss we have a javascript and inside javascript we have some variable or some sql query result 

 

Ramaswami_0-1591296590560.png

 

 

 

View Entire Topic

Avatar

Avatar

Jyoti_Y

MVP

Avatar

Jyoti_Y

MVP

Jyoti_Y
MVP

04-06-2020

Hi,

 

Yes you can export local variable value in your export file.

In your JS, define variable as:

vars.output=vars.recCount

 

And then file configuring columns of your export file. Add column using edit the expression and give value as: 

$(vars/@output)

Jyoti_Y_0-1591333134205.png

 

Thanks.