change a variable value using Javascript in Nanflows?

0
Hi, Just want to know if it is possible to change a variable data using js or not. If yes, could some one please let me know how to do that
asked
2 answers
0

Lokesh,

Could you describe what you are trying to accomplish with some additional details?

 

The variable you highlighted above exists only for as long as the nanoflow is running.  For that reason, it is likely not accessible via javascript on the page.  You could create a custom javascript action.  If you call that action in the nanoflow, you would be able to change the variable value.

 

If you described what you are trying to do, perhaps the community to provide some ideas.

 

Thanks,

Mike

answered
0

Hi Lokesh,

No, the concept of the variable only exists in the context of a nanoflow.

You can send the value of a variable along as input parameter of a JavascriptAction and let the JS return another value.

Good luck!

Johan

answered